Benedict Wong
418b97e5db
Merge "Add new appop for Platform VPNs"
...
am: b8dd5bcc23
Change-Id: Ia44f9491f3951e3f7dda2c03e5d33452bb2e94d3
2020-01-21 20:39:02 -08:00
Benedict Wong
d040b254c5
Add new appop for Platform VPNs
...
This change introduces a new appop, ACTIVATE_PLATFORM_VPN, that is a
subset of the ACTIVATE_VPN appop. VPN apps that have been granted the
more dangerous ACTIVATE_VPN appop should be allowed to use platform
VPNs, as they are more restricted, and safer. However, the opposite
must not be true.
Bug: 144246835
Test: Compiles, FrameworksNetTests passing
Change-Id: I609e87e688432f957751058b09f350fa641753d7
Merged-In: I609e87e688432f957751058b09f350fa641753d7
2020-01-22 04:30:23 +00:00
Alisher Alikhodjaev
ead7c0e489
Merge "Throw IOException on multiple connects."
...
am: 632e515468
Change-Id: I055acd5e71b7eb67369226402c47a5ecbe09db4c
2020-01-21 17:34:08 -08:00
Alisher Alikhodjaev
632e515468
Merge "Throw IOException on multiple connects."
2020-01-22 01:27:04 +00:00
Joshua Duong
30927dbd25
Merge "Add SystemApis isAdbWifiSupported(), isAdbWifiQRSupported() to AdbManager."
...
am: e9beb8ddbc
Change-Id: I2824eee926c108c038f808ff54ca0eea0f4df781
2020-01-21 17:20:55 -08:00
Joshua Duong
e9beb8ddbc
Merge "Add SystemApis isAdbWifiSupported(), isAdbWifiQRSupported() to AdbManager."
2020-01-22 01:12:19 +00:00
Rahul Sabnis
f0a2e25c9f
Merge "Make certain BluetoothProfile constants being used by CarBluetoothTest into @SystemApi"
...
am: 80a2b522b1
Change-Id: I81491cbcc449cc718be94637d609cc4f799b6cf2
2020-01-21 17:05:15 -08:00
Treehugger Robot
80a2b522b1
Merge "Make certain BluetoothProfile constants being used by CarBluetoothTest into @SystemApi"
2020-01-22 00:52:31 +00:00
George Chang
3eb265ae00
Throw IOException on multiple connects.
...
Only one TagTechnology can be connected at a time.
Other calls to connect() will return IOException.
Bug: 144398423
Test: check error on multiple connects
Change-Id: I19a5f33c7f0d3e7592fe7791c1e04ddc2c9d6125
2020-01-21 23:46:05 +00:00
Rambo Wang
c26846fe67
Merge "Permission READ_PRECISE_PHONE_STATE implementation polish"
...
am: 2b8cb12004
Change-Id: I0059c2bb23dc15cfe3eff84118990aa47b8d69d9
2020-01-21 15:27:06 -08:00
Lev Rumyantsev
cbf8e9dd7a
AppZygote: start with the correct instruction set
...
am: 041f016971
Change-Id: I85ed95566f9cb6d38b02619f47e2efe6ebcf9c61
2020-01-21 15:18:34 -08:00
Rambo Wang
2b8cb12004
Merge "Permission READ_PRECISE_PHONE_STATE implementation polish"
2020-01-21 23:15:19 +00:00
Rahul Sabnis
a079dc7984
Make certain BluetoothProfile constants being used by CarBluetoothTest
...
into @SystemApi
Bug: 146663105
Test: Manual
Change-Id: Ic474a85c17b69c71cf24b06d0262c13b3b8142fe
2020-01-21 15:11:22 -08:00
Lev Rumyantsev
5f30976b8c
Merge changes from topic "native_bridge_for_app_zygote"
...
* changes:
Zygote: support native-bridge for app-zygote
AppZygote: start with the correct instruction set
2020-01-21 23:09:34 +00:00
David Zeuthen
70485380f7
Merge "Add Framework APIs for Identity Credential."
...
am: 2fb5112a35
Change-Id: Ifb511b43fd180980badef43b7ea3009e3a9ba00b
2020-01-21 06:45:12 -08:00
Treehugger Robot
2fb5112a35
Merge "Add Framework APIs for Identity Credential."
2020-01-21 14:38:14 +00:00
Remi NGUYEN VAN
938f330d63
Merge "Add NetworkRequest#satisfiedBy to SystemApi"
...
am: b8f9c4f5b2
Change-Id: I817020ac31dec9e10ea27fa38f07250f5c447de1
2020-01-21 06:21:11 -08:00
Remi NGUYEN VAN
b8f9c4f5b2
Merge "Add NetworkRequest#satisfiedBy to SystemApi"
2020-01-21 14:12:27 +00:00
Remi NGUYEN VAN
1b921169b7
Merge "Remove handling of EVENT_UNFULFILLABLE_REQUEST"
...
am: c5d825c14e
Change-Id: I0207294af01a5cc9594f563398753370e3c7e011
2020-01-20 23:05:12 -08:00
Remi NGUYEN VAN
c5d825c14e
Merge "Remove handling of EVENT_UNFULFILLABLE_REQUEST"
2020-01-21 05:52:05 +00:00
Remi NGUYEN VAN
004f90d90f
Add NetworkRequest#satisfiedBy to SystemApi
...
The API is useful for NetworkFactories to select requests based on
capabilities.
This mirrors NetworkCapabilities#satisfiedByNetworkCapabilities
Test: m
Bug: 138306002
Merged-In: I1d4a928256951397cabde5c352a872fd48d85859
Change-Id: I1d4a928256951397cabde5c352a872fd48d85859
(clean cherry-pick from internal branch)
2020-01-21 12:11:52 +09:00
Remi NGUYEN VAN
6fab6545d3
Remove handling of EVENT_UNFULFILLABLE_REQUEST
...
This message is not being sent by any component anymore.
Test: built, flashed, WiFi and telephony working
Test: atest FrameworksNetTests
Bug: 138306002
Merged-In: I5b1ec3136ae8a0a6928e0fb2cda3d5f5e2ca657f
Change-Id: I5b1ec3136ae8a0a6928e0fb2cda3d5f5e2ca657f
(clean cherry-pick from internal branch)
2020-01-21 12:10:34 +09:00
Chiachang Wang
02cfa7aaf3
Merge "Have registerNetworkAgent return a Network."
...
am: 061d68a40c
Change-Id: I49684d1079d618414149199d2cfe128bd71f7b16
2020-01-20 18:06:33 -08:00
Chiachang Wang
061d68a40c
Merge "Have registerNetworkAgent return a Network."
2020-01-21 01:21:57 +00:00
David Zeuthen
045b6de975
Add Framework APIs for Identity Credential.
...
The Identity Credential APIs provides an interface to a secure store
for user identity documents. These APIs are deliberately fairly
general and abstract. To the extent possible, specification of the
message formats and semantics of communication with credential
verification devices and Issuing Authorities (IAs) is out of scope for
these APIs.
The Identity Credential APIs rely on user authentication to protect
data elements in credentials which is implemented through
auth-tokens. This CL contains changes to CryptoObject to allow this.
Bug: 111446262
Test: CtsIdentityTestCases
Change-Id: I48f21a561b762d86c9ca8d229962782572412f47
2020-01-20 15:56:57 -05:00
Chalard Jean
fe35bf9f93
Have registerNetworkAgent return a Network.
...
This is more useful.
Bug: 135998869
Test: FrameworkNetTests FrameworksWifiTests
Change-Id: I74710b396fa3cec6fbae08d3dcab5bc90dc2e669
Merged-In: I74710b396fa3cec6fbae08d3dcab5bc90dc2e669
2020-01-20 16:22:06 +08:00
Sam Saccone
dd2a5c7c69
Merge "Revert "Annotate StringNetworkSpecifier @Deprecated and @removed""
...
am: 1413b254eb
Change-Id: I6f7ffbb68e8e87410009ad74e5019d24cab55ca1
2020-01-18 12:29:12 -08:00
Sam Saccone
1413b254eb
Merge "Revert "Annotate StringNetworkSpecifier @Deprecated and @removed""
2020-01-18 20:21:32 +00:00
Joshua Duong
a5cbda4729
Add SystemApis isAdbWifiSupported(), isAdbWifiQRSupported() to AdbManager.
...
Bug: 146139798, 111434128
Test: make
Change-Id: Iab20d20b39f0079418026a730cd4093de08d1db9
2020-01-17 22:08:45 -08:00
Rambo Wang
82a46e22ce
Permission READ_PRECISE_PHONE_STATE implementation polish
...
- Update the javadoc for all APIs that require this permission.
- Allow carrier privileged apps to access listener APIs that require
READ_PRECISE_PHONE_STATE.
- Consolidate permissions checks into READ_PRECISE_PHONE_STATE permission group.
Bug: 146383220
Test: atest com.android.internal.telephony.TelephonyRegistryTest
Test: atest android.telephony.cts.PhoneStateListenerTest
Change-Id: I98232261381a4629c4d65a70d6aefee35665b48d
2020-01-17 18:28:26 -08:00
Alisher Alikhodjaev
7222dbc0a0
Merge "New system api to get UICC terminal based on slot number"
...
am: 0d225be680
Change-Id: Ic8cbf5d79638354d913362039a0a4166d2b86ba1
2020-01-17 18:09:59 -08:00
Meng Wang
071427f6f6
Merge "Expose system API EXTRA_REBROADCAST_ON_UNLOCK"
...
am: 027bf28b3a
Change-Id: I77b80ddd80d2c797d7a492fd361b0d4153c1383a
2020-01-17 18:06:31 -08:00
Alisher Alikhodjaev
0d225be680
Merge "New system api to get UICC terminal based on slot number"
2020-01-18 02:00:04 +00:00
Treehugger Robot
027bf28b3a
Merge "Expose system API EXTRA_REBROADCAST_ON_UNLOCK"
2020-01-18 01:52:58 +00:00
Arsalan Khan
eef98503b8
Revert "Annotate StringNetworkSpecifier @Deprecated and @removed"
...
This reverts commit e35bc815b6 .
Reason for revert: <Build Cop Triage b/147918881>
Change-Id: I6c675a3a245b10d3a0e7f3ebd7d59cf11cff007a
2020-01-18 00:23:51 +00:00
Meng Wang
13749cb311
Expose system API EXTRA_REBROADCAST_ON_UNLOCK
...
It's used by system apps - see follow up CL.
Bug: 147912059
Test: make
Change-Id: Id5e803756b8c3235187e13a36b8c197d5269e816
2020-01-17 15:58:04 -08:00
Hall Liu
5dacbd482d
Merge "Expose NotificationChannel#setBlockableSystem as SystemApi"
...
am: f3b914bd02
Change-Id: I63c8cc69791e1c3231b7e79584b383e5e6653f98
2020-01-17 13:09:53 -08:00
Adrian Roos
72bb1fa6c2
Merge "API: Supress existing inconsistent Context service names"
...
am: 3b35f3dfef
Change-Id: I93d19a74fc2194b7f088069e3b89a9a28917e54a
2020-01-17 12:48:33 -08:00
Rambo Wang
df2c3924ea
Merge "Annotate StringNetworkSpecifier @Deprecated and @removed"
...
am: bd5a33f03b
Change-Id: I1c54215ef9f9ccb4357fb7cec1e22c48ef305bd3
2020-01-17 12:35:11 -08:00
Hall Liu
f3b914bd02
Merge "Expose NotificationChannel#setBlockableSystem as SystemApi"
2020-01-17 20:25:50 +00:00
Automerger Merge Worker
f184b6b8d6
Merge "Vibrator: Have Always-On Check DND/LowPower Modes" am: 301beddcdb
...
Change-Id: I7540f05ce7397f83bb62404dcbca6e3e0848444a
2020-01-17 20:05:26 +00:00
Treehugger Robot
3b35f3dfef
Merge "API: Supress existing inconsistent Context service names"
2020-01-17 18:26:15 +00:00
Rambo Wang
bd5a33f03b
Merge "Annotate StringNetworkSpecifier @Deprecated and @removed"
2020-01-17 17:26:33 +00:00
Adrian Roos
2835792aa7
API: Supress existing inconsistent Context service names
...
Test: make checkapi
Change-Id: I1f140dc172a405fed52f0f8d6c16f2f730ab89be
Merged-In: I1f140dc172a405fed52f0f8d6c16f2f730ab89be
2020-01-17 12:30:38 +01:00
Rambo Wang
e35bc815b6
Annotate StringNetworkSpecifier @Deprecated and @removed
...
Bug: 147441267
Test: make offline-sdk-docs
Change-Id: I101021b9e32b55e0845934c04e05f6f06a642617
2020-01-16 21:45:09 -08:00
Hall Liu
b12609a432
Expose NotificationChannel#setBlockableSystem as SystemApi
...
Expose setBlockableSystem as a module-apps-only SystemApi.
Bug: 138401571
Test: atest android.app.cts.NotificationChannelTest
Change-Id: I0b6a14360e9278a092476ada6533e63a46d4e4fe
Merged-In: I0b6a14360e9278a092476ada6533e63a46d4e4fe
2020-01-16 17:43:10 -08:00
Treehugger Robot
301beddcdb
Merge "Vibrator: Have Always-On Check DND/LowPower Modes"
2020-01-17 01:39:04 +00:00
TreeHugger Robot
8da97bddbd
Merge "DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master
2020-01-16 18:29:18 +00:00
Treehugger Robot
03e365f649
Merge "Improve DSU log and notification message"
2020-01-16 12:15:26 +00:00
Po-Chien Hsueh
bcf2adb424
Improve DSU log and notification message
...
Improve DSU installation service's status log message. And, use
Notification.BigTextStyle for DSU notification message.
Bug: 132924741
Test: Run DSU installation
Change-Id: I9e821edfeff88a1f4084a005de3e0f4264338996
2020-01-16 13:52:57 +08:00