Commit Graph

22803 Commits

Author SHA1 Message Date
Ugo Yu
d02a78bd95 Merge "Introduce system APIs for Bluetooth silence mode." am: d17b284bdb am: 5a5217d2b8
am: 26b4283a13

Change-Id: I07f8019e748495b05ea09bab69ec72c0ab9f271b
2019-01-24 11:21:36 -08:00
Ugo Yu
26b4283a13 Merge "Introduce system APIs for Bluetooth silence mode." am: d17b284bdb
am: 5a5217d2b8

Change-Id: Icdc5720da633f3cba7e1acb730b4ca21475d6f4b
2019-01-24 10:37:47 -08:00
Irina Dumitrescu
b866a5b6e6 Merge "Add API for proxy configuration over VPN." am: 8b5917965d
am: ac77629a1e

Change-Id: I51930e4ed99cc3df10db2c8bbef27989f0a06a46
2019-01-24 10:20:32 -08:00
Treehugger Robot
d17b284bdb Merge "Introduce system APIs for Bluetooth silence mode." 2019-01-24 18:08:05 +00:00
Pavel Grafov
52e0e403d2 Merge "Whitelist packages from VPN lockdown." am: efc773525c
am: 295016b22b

Change-Id: I643fc2603f7cd2b928fe517eb473048004273835
2019-01-24 10:06:37 -08:00
Treehugger Robot
8b5917965d Merge "Add API for proxy configuration over VPN." 2019-01-24 17:52:22 +00:00
Pavel Grafov
efc773525c Merge "Whitelist packages from VPN lockdown." 2019-01-24 17:34:55 +00:00
Mingguang Xu
c18eb1c3ef Merge changes from topic "wifi_api_to_receive_score"
* changes:
  Wifi usability: Add new entry into wifi.proto for metrics collection
  Wifi usability: Add @SystemApi to receive Wifi usability score
2019-01-24 16:33:49 +00:00
Jeff Sharkey
f1a4991dcc Merge "Migrate CTS to separate broadcast to scan volume." 2019-01-24 16:25:57 +00:00
Ben Murdoch
754454718e Merge "Migrate AppCompaction settings to DeviceConfig APIs." 2019-01-24 16:19:13 +00:00
Pavel Grafov
bb9cef04c5 Whitelist packages from VPN lockdown.
Bug: 77468593
Test: atest com.android.server.connectivity.VpnTest
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7f6c5b9172063b588feacd6b9930a6cb88f764ab
Merged-In: I7f6c5b9172063b588feacd6b9930a6cb88f764ab
2019-01-24 16:17:11 +00:00
Pavel Grafov
46165b5d61 Merge "Whitelist packages from VPN lockdown." 2019-01-24 16:15:08 +00:00
Irina Dumitrescu
044a436ac9 Add API for proxy configuration over VPN.
Test: runtest -x
frameworks/base/tests/net/java/com/android/server/ConnectivityServiceTest.java
&& atest HostsideVpnTests
Bug: 76001058
Change-Id: Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a
Merged-In: Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a
2019-01-24 16:07:20 +00:00
TreeHugger Robot
06928f4422 Merge "Add API for proxy configuration over VPN." 2019-01-24 15:09:18 +00:00
TreeHugger Robot
8ac0a656a8 Merge "Surface HAL constants" 2019-01-24 14:59:57 +00:00
TreeHugger Robot
e1a96063bc Merge changes from topic "calendar-package"
* changes:
  Handle null for the return of getCrossProfileCalendarPackages.
  API change for cross profile calendar feature.
2019-01-24 14:25:45 +00:00
Ben Murdoch
c26a5a81c4 Migrate AppCompaction settings to DeviceConfig APIs.
To support app compaction P/H experiments, migrate it's
settings away from using the key/value pair string the
rest of ActivityManagerConstants uses, and use the
DeviceConfig APIs instead.

Test: boots, works, atest FrameworksServicesTests:AppCompactorTest

Bug: 122879579

Change-Id: I9d1ae17d9671d0443b728ecdeca7102ba34d9c2f
2019-01-24 14:01:06 +00:00
Fabian Kozynski
e56b55182c Merge "Remove @SystemAPI from NotificationAssistantService" 2019-01-24 13:55:30 +00:00
Varun Shah
52792d160a Merge "Added APIs for App Usage Limits." 2019-01-24 13:35:28 +00:00
Irina Dumitrescu
18622d3d35 Add API for proxy configuration over VPN.
Test: runtest -x
frameworks/base/tests/net/java/com/android/server/ConnectivityServiceTest.java
&& atest HostsideVpnTests
Bug: 76001058
Change-Id: Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a
2019-01-24 12:54:19 +00:00
TreeHugger Robot
bf45956217 Merge "Expose an API to mark a session as APEX." 2019-01-24 12:01:41 +00:00
Pavel Grafov
1d58621a1f Whitelist packages from VPN lockdown.
Bug: 77468593
Test: atest com.android.server.connectivity.VpnTest
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7f6c5b9172063b588feacd6b9930a6cb88f764ab
2019-01-24 11:34:17 +00:00
Remi NGUYEN VAN
60d32999db Merge "Add additional SystemApi for NetworkStack" am: 2ffdcc26b0
am: aee43d2387

Change-Id: I5bdc50e7886731f61222bd1edd33765941118175
2019-01-24 02:17:38 -08:00
yuemingw
d2bfbc8246 API change for cross profile calendar feature.
According to new requirements in b/121179845, we are changing the
API pattern from "add/remove" to "set(set<string>)" to support
"enable all packages" operation. Setting the whitelist to null
will enable all packages. This behavior is consistent with existing
methods in DevicePolicyManager, e.g. setPermittedInputMethods.

Also corrected some languages in the comments and annotations.

Bug: 121179845
Test: atest ManagedProfileTest#testCrossProfileCalendar
atest DevicePolicyManagerTest

Change-Id: I87f17a2094792e44fdeb672658bddb871c2c1eeb
2019-01-24 10:04:50 +00:00
TreeHugger Robot
6136239d9d Merge "Voice state + transcription in VoiceInteractionSvc" 2019-01-24 10:04:18 +00:00
Remi NGUYEN VAN
2ffdcc26b0 Merge "Add additional SystemApi for NetworkStack" 2019-01-24 09:55:01 +00:00
Xiangyu/Malcolm Chen
1ea414819a Merge "Add API to handle user's subscription selection changes." 2019-01-24 08:46:54 +00:00
Mingguang Xu
68e948f3c2 Wifi usability: Add @SystemApi to receive Wifi usability score
Add system API to allow framework to receive Wifi usability score from system APK.
Also add a new permission to protect this API from being used by unauthorized applications. This permission is the same as the one added for sending Wifi usability stats.

Bug: 113262380.

Test: frameworks/base/wifi/tests/runtests.sh

Signed-off-by: Mingguang Xu <mingguangxu@google.com>

Change-Id: Ib695dbb4c6c1f4518a464877f1d0f60dde4904eb
2019-01-24 00:41:16 -08:00
Ugo Yu
f3b120041d Merge "Change MetadataListener to a abstract static class" am: 9d3ce3e55e am: 745c6de6eb
am: f2d656b438

Change-Id: I68915d6190faa22e20b03321dc5895a37e6de5f8
2019-01-23 23:43:29 -08:00
Remi NGUYEN VAN
50d8a03855 Merge "Add additional SystemApi for NetworkStack" 2019-01-24 07:37:52 +00:00
Ugo Yu
f2d656b438 Merge "Change MetadataListener to a abstract static class" am: 9d3ce3e55e
am: 745c6de6eb

Change-Id: I796dfccf741a1ef6c45d804772415ed198e8e8d1
2019-01-23 23:30:18 -08:00
Alex Salo
ef79062cba Merge "Add INTELLIGENCE_ATTENTION experiment namespace" 2019-01-24 07:09:47 +00:00
Treehugger Robot
9d3ce3e55e Merge "Change MetadataListener to a abstract static class" 2019-01-24 07:07:49 +00:00
Jeff Sharkey
50e74f1efd Migrate CTS to separate broadcast to scan volume.
It can't sent MEDIA_MOUNTED via the shell, so let's use a separate
broadcast.  Also improve robustness of several tests.

Bug: 123251175
Test: atest cts/tests/tests/media/src/android/media/cts/MediaScanner*
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I5b0f07c817b18175c6e427729a9fa0545f6bcd8e
2019-01-24 07:01:26 +00:00
Junyu Lai
0affe5dad2 Merge changes from topic "ka05" am: b3656c7b1b am: 14e51c8a84
am: 3dea854998

Change-Id: Ie56c431a6d934c752d1de30fc4bf98a7e557e5b2
2019-01-23 22:24:41 -08:00
TreeHugger Robot
945be95b6a Merge "Add IntEnumMapping" 2019-01-24 06:08:52 +00:00
TreeHugger Robot
e6af411b09 Merge "Deprecate InputMethodManager#setCurrentInputMethodSubtype()" 2019-01-24 05:58:06 +00:00
Scott Randolph
025bd52d01 Merge "Implementation of Remote-SIM." am: 9f7bc7d616 am: 0fd63d542d
am: 6133800a58

Change-Id: Ic3c43594d4648f2942bec62cfd418e0d1d0c8f29
2019-01-23 21:50:17 -08:00
Junyu Lai
3dea854998 Merge changes from topic "ka05" am: b3656c7b1b
am: 14e51c8a84

Change-Id: I08979872a03c52e933daa39730fd71e998272613
2019-01-23 21:44:11 -08:00
Brad Ebinger
d1619e86c6 Merge "Add FEATURE_TELEPHONY_IMS definition" am: ad075a3837 am: 86999554ea
am: 93dd117ee6

Change-Id: Icb40054aaeab8921bc371129528b851e1af78e29
2019-01-23 21:42:08 -08:00
Scott Randolph
6133800a58 Merge "Implementation of Remote-SIM." am: 9f7bc7d616
am: 0fd63d542d

Change-Id: Ie4c28658f6384df624bf8b1d4c1b7b9bed555611
2019-01-23 21:28:45 -08:00
Leland Miller
6d2e9b8cae Merge "Add part ID reuse to API contract" am: d49a6c86f4 am: ea65fcc98a
am: c5ceebba02

Change-Id: Ide0ff27e0de513dd2687e3fc30e177cd1d5fd45c
2019-01-23 21:21:14 -08:00
Brad Ebinger
93dd117ee6 Merge "Add FEATURE_TELEPHONY_IMS definition" am: ad075a3837
am: 86999554ea

Change-Id: Ie28a6a11a97dcff35f26dd003d495c14ceb67242
2019-01-23 21:17:22 -08:00
Malcolm Chen
94d74d291e Add API to handle user's subscription selection changes.
When user selects a eSIM subscription, Settings app informs Telephony.
Telephony needs to take actions such as writting it into global
settings, switch profiles and notify registrants, for example
AlternativeNetworkAccessService.

Bug: 120945564
Test: unittest
Change-Id: I846d9444aac368d183e06744c9eb8aa0c08dfe6a
2019-01-23 21:11:08 -08:00
Junyu Lai
b3656c7b1b Merge changes from topic "ka05"
* changes:
  [KA05] Export keepalive offload api for IpSec Nat-T file descriptor
  [KA01] export SocketKeepalive API for NAT-T keepalive
2019-01-24 05:06:39 +00:00
Scott Randolph
9f7bc7d616 Merge "Implementation of Remote-SIM." 2019-01-24 05:01:05 +00:00
Leland Miller
c5ceebba02 Merge "Add part ID reuse to API contract" am: d49a6c86f4
am: ea65fcc98a

Change-Id: I4e6546a02cd3614b8c28a8e0b7c1cc6501b1bd93
2019-01-23 21:00:25 -08:00
TreeHugger Robot
4e03b575b1 Merge "Wifi usability: Add @SystemApi to send Wifi usability stats" 2019-01-24 04:54:45 +00:00
Treehugger Robot
ad075a3837 Merge "Add FEATURE_TELEPHONY_IMS definition" 2019-01-24 04:50:18 +00:00
Varun Shah
2546cef56c Added APIs for App Usage Limits.
Added a new AppUsageLimit group observer which follows the same pattern as
other UsageGroups. This specific observer allows the launcher to query
for the AppUsageLimit, available via the new LauncherApps API below. The
observer can be registered and unregistered via the respective new APIs in
UsageStats.

LauncherApps has a new API which allows it to get the AppUsageLimit for
a specified package and user, initally set via the API in UsageStats.
This new API allows the launcher to query specifics about the limit such
as how much usage time the limit has, and how much total usage time is
remaining.

Bug: 117409586
Test: atest FrameworksServicesTests:AppTimeLimitControllerTests
Test: atest android.app.usage.cts.UsageStatsTest#testObserveUsagePermissionForRegisterObserver
Test: atest android.app.usage.cts.UsageStatsTest#testObserveUsagePermissionForUnregisterObserver
Test: manual (mmma frameworks/base/tests/UsageStatsTest/)
Change-Id: Ifaffab629409e9191e40404a949c8df70bd3f7cb
2019-01-23 20:30:25 -08:00