Commit Graph

26624 Commits

Author SHA1 Message Date
Mohammad Samiul Islam
da00497f07 Allow staging multiple session with non-overlapping packages (apk-only)
Bug: 141843321
Test: atest StagedInstallTest#testAllowNonOverlappingMultipleStagedInstall_BothSinglePackage_Apk
Test: atest StagedInstallTest#testFailOverlappingMultipleStagedInstall_BothSinglePackage_Apk
Test: atest StagedInstallTest#testFailOverlappingMultipleStagedInstall_BothSinglePackage_Apex
Test: atest StagedInstallTest#testAllowNonOverlappingMultipleStagedInstall_MultiPackageSinglePackage
Test: atest StagedInstallTest#testFailOverlappingMultipleStagedInstall_BothMultiPackage
Test: atest StagedInstallTest#testMultipleStagedInstall_ApkOnly
Test: atest RollbackManagerHostTest#testApkOnlyMultipleStagedRollback
Test: atest RollbackManagerHostTest#testApkOnlyMultipleStagedPartialRollback
Test: atest StagedInstallTest
Change-Id: Iad2e35b50fd22e207e3ad91b48a767827d8e8926
2019-11-15 19:05:10 +00:00
Jayachandran Chinnakkannu
87b06dd87a Merge "Expose the following as system APIs" am: 119d0fa9ac am: 8dc9114a9d
am: d1844418a0

Change-Id: I84fd175995a277c4aa8fd430fe6007c62d7cbd0a
2019-11-15 00:31:21 -08:00
Jayachandran Chinnakkannu
dfec7ffc31 Merge "Expose the following ServiceState API as system APIs" am: f19833ca7b am: 3b1241b603
am: 8a0d0dffb9

Change-Id: I12ca8f02bc36aec2a946615187ea7b7ff4dbc5af
2019-11-15 00:28:39 -08:00
Jayachandran Chinnakkannu
8dc9114a9d Merge "Expose the following as system APIs"
am: 119d0fa9ac

Change-Id: I26c045e96b728ee70232f1ad4b7d3647c630dca7
2019-11-15 00:16:34 -08:00
Jayachandran Chinnakkannu
3b1241b603 Merge "Expose the following ServiceState API as system APIs"
am: f19833ca7b

Change-Id: Icd39f4d6a517d5adf654c50f9fd4fd2f631b3876
2019-11-15 00:13:18 -08:00
Jin Seok Park
47f8d08ab3 Merge "Change constructor for Exif data only streams" 2019-11-15 07:40:51 +00:00
Jayachandran Chinnakkannu
119d0fa9ac Merge "Expose the following as system APIs" 2019-11-15 07:09:56 +00:00
Jayachandran Chinnakkannu
f19833ca7b Merge "Expose the following ServiceState API as system APIs" 2019-11-15 07:08:34 +00:00
Mehdi Alizadeh
a57f214f09 Merge "Adds adaptive bitmap support to URI based icons" 2019-11-15 02:06:17 +00:00
Etan Cohen
29dca17d8b Merge "[AWARE] Allow setPMK API" 2019-11-15 01:12:37 +00:00
Jiashen Wang
e11d665aae Merge "Add public APIs for carrier apps"
am: 89a1e85387

Change-Id: Ie299e00e7389f03ed455994f0492144ec8f7b27e
2019-11-14 16:08:40 -08:00
Jiashen Wang
89a1e85387 Merge "Add public APIs for carrier apps" 2019-11-14 23:47:38 +00:00
Mehdi Alizadeh
f86ed37ce0 Adds adaptive bitmap support to URI based icons
Adds a new creator method to accept a Uri and set an internal flag for
Adaptive bitmap, and return adaptive bitmap drawable on loadDrawable().

Bug: 142831407
Test: atest IconTest
Change-Id: Iefee1aaa154a47fc9e5ed1e1c03587a3c8fb6da9
2019-11-14 22:08:49 +00:00
Soonil Nagarkar
fc28b55926 Merge "Make GnssStatus and GpsStatus testable" 2019-11-14 22:04:37 +00:00
Kevin Lau Fang
9b96d06072 Merge "Revert submission" 2019-11-14 20:31:09 +00:00
Kevin Lau Fang
01e16a5234 Revert submission
Reason for revert: This causes a boot issue on Taimen (b/144480969). It wasn't caught by TreeHugger due to Taimen tests being disabled due to a different lab outage (b/144350336).

Change-Id: Idc18b3531fda53257b85b81a869c00592eee83ce
2019-11-14 20:07:11 +00:00
Roshan Pius
a32d3a51eb Merge "Context: Make sendBroadcastMultiplePermissions a @SystemApi" 2019-11-14 19:28:34 +00:00
Shuo Qian
9aeaffb1fe Merge "Add CarrierConfigManager APIs to support 5G Signal Strength Threshold"
am: af35741307

Change-Id: Ib42e015bf404e5a3f6b770a38941a81b72daaefc
2019-11-14 11:14:58 -08:00
Peter Wang
ded3d9152e Merge "[API Review] Renamed public API eraseSubscriptionsWithOptions"
am: 451c6a80e5

Change-Id: If559af58f06c0b7d8e9c118752cfdf82877761e7
2019-11-14 11:11:37 -08:00
Jayachandran Chinnakkannu
c518a2fe52 Merge "Expose SubscriptionManager.getActiveDataSubscriptionId() as public API" am: 80496e96e4 am: 74c9a01da2
am: 4386a98079

Change-Id: Ic849083c4816c11e52e0586342c1602862fb46e4
2019-11-14 11:08:06 -08:00
Shuo Qian
af35741307 Merge "Add CarrierConfigManager APIs to support 5G Signal Strength Threshold" 2019-11-14 19:01:45 +00:00
Peter Wang
451c6a80e5 Merge "[API Review] Renamed public API eraseSubscriptionsWithOptions" 2019-11-14 18:59:11 +00:00
Jayachandran Chinnakkannu
74c9a01da2 Merge "Expose SubscriptionManager.getActiveDataSubscriptionId() as public API"
am: 80496e96e4

Change-Id: Ib0b919b294207cbc7c7b4333f7e6f9989bb44e45
2019-11-14 10:52:55 -08:00
Jayachandran C
4d62c63adb Expose the following as system APIs
ServiceState.getNrFrequencyRange()
NetworkRegistrationInfo.getNrState()
DataSpecificRegistrationInfo.isUsingCarrierAggregation()

Bug: 111498835
Test: make
Change-Id: I7cdfad2c221dff7cd379627e7dddedc57bb081bb
2019-11-14 18:41:01 +00:00
Jayachandran Chinnakkannu
80496e96e4 Merge "Expose SubscriptionManager.getActiveDataSubscriptionId() as public API" 2019-11-14 18:37:23 +00:00
Jayachandran C
98e84ea06a Expose the following ServiceState API as system APIs
getOperatorAlphaLongRaw()
getOperatorAlphaShortRaw()

Bug: 111498835
Test: Make
Change-Id: Idcdcbd021f2e147604f0bd853d48f52d434c6fd2
2019-11-14 10:32:28 -08:00
Soonil Nagarkar
0d1890b0e0 Make GnssStatus and GpsStatus testable
Allow clients to create GnssStatus and GpsStatus objects for test.

Bug: 144027538
Test: na
Change-Id: Ice3eb966a88e6de5bc8834b60b54bcac31bf31db
2019-11-14 10:26:41 -08:00
Etan Cohen
35f1fcdc8d [AWARE] Allow setPMK API
Allowing configuration of the PMK is required for any PK-based protocols
which operate OOB.

Bug: 143956273
Bug: 111446262
Test: test android.net.wifi.aware
Change-Id: Iccd9739901116399518f278e7d9c9992c1507f3f
2019-11-14 08:55:50 -08:00
Roshan Pius
148e86e5a5 RemoteException: Mark rethrow* APIs public
Bug: 144435970
Test: Compiles
Change-Id: I361f5d27529c938fff42fdbabb63f7b87527a270
2019-11-14 16:53:43 +00:00
Roshan Pius
3fe42f0906 Context: Make sendBroadcastMultiplePermissions a @SystemApi
This API is used by wifi mainline module, so converting it to a formal
API.

Bug: 141943978
Test: Compiles
Change-Id: I563b6b37002975639fde036014cd0955fc8edef9
2019-11-14 05:55:52 -08:00
Shuo Qian
1f2fcf177e Add CarrierConfigManager APIs to support 5G Signal Strength Threshold
Test: Build
Bug: 135717625
Change-Id: I27b1c093be925aafaaa2302a368dd0c217a072d7
Merged-In: I27b1c093be925aafaaa2302a368dd0c217a072d7
(cherry picked from commit 8c1e873aa4)
2019-11-14 04:44:13 +00:00
Jeff Sharkey
03263747d8 Merge "Allow sending of bulk Uri change notifications." 2019-11-14 03:48:02 +00:00
Jiashen Wang
216ae8d08e Add public APIs for carrier apps
Add public APIs to for carrier apps to trigger activation flow and vice
versa without carrier privilege.
Bug: 139446545
Test: Manually tested

Change-Id: I26d4d9d435dbfbf1e87bef962c6bced057784e0a
Merged-In: I26d4d9d435dbfbf1e87bef962c6bced057784e0a
2019-11-13 19:44:11 -08:00
Brad Ebinger
5fd6bb9610 Merge "Move the ImsService tests to CTS, requiring @TestApi"
am: 6e5fd21a65

Change-Id: Ide7066d63c5f770475cde0af5d426d89d4f2371f
2019-11-13 19:40:39 -08:00
Peter Wang
7e16b391b6 [API Review] Renamed public API eraseSubscriptionsWithOptions
to without "withOptions", aidl definitions for EuiccController,
EuiccService are kept unchanged

Bug: 139474431
Bug: 143986109
Test: Build
Change-Id: Ic11bae7a24c99995b76dd4c5ef764f8a87deed52
Merged-In: Ic11bae7a24c99995b76dd4c5ef764f8a87deed52
2019-11-14 03:35:25 +00:00
Jeff Sharkey
1307f428af Allow sending of bulk Uri change notifications.
MediaProvider makes heavy use of Uri change notifications, which
currently need to be delivered one at a time through the Binder
interface.  To optimize this, allow callers to provide a collection
of multiple Uris to notify with a single Binder call.

Bug: 134170767
Test: atest cts/tests/tests/content/src/android/content/cts/ContentResolverTest.java
Change-Id: Ifef778e88bb772b5580f70929c6f2e9c166d1c0e
2019-11-13 18:17:02 -07:00
Jin Seok Park
b09aed7cf6 Merge "Unhide Offset-related tags" 2019-11-14 01:15:18 +00:00
Peter Wang
3c177c45e1 Merge "[API Review] Renamed public API eraseSubscriptionsWithOptions" 2019-11-14 00:56:26 +00:00
Brad Ebinger
ee2b0b6017 Move the ImsService tests to CTS, requiring @TestApi
Bug: 143822481
Test: atest CtsTelephonyTestCases
Merged-In: Idbdec7790b036aef968d91533cbdb8f096d7717b
Change-Id: Idbdec7790b036aef968d91533cbdb8f096d7717b
2019-11-13 15:35:11 -08:00
Dianne Hackborn
da0e5cef21 Merge "Rework platform version to hide codenames." 2019-11-13 23:16:03 +00:00
Brad Ebinger
15f45e68d1 Merge "Reorder getFeatureState parameters to convention" 2019-11-13 22:46:14 +00:00
TreeHugger Robot
3839bf8357 Merge "Add test for default apps UI." 2019-11-13 18:34:13 +00:00
Chen Xu
21c65d47cd Merge "cellbroadcast provider refactor"
am: 1abff4f0db

Change-Id: I232020bb2f2bbc3a5083c2c7bc036b8f94e7ef6b
2019-11-13 10:26:04 -08:00
Chen Xu
1abff4f0db Merge "cellbroadcast provider refactor" 2019-11-13 18:19:05 +00:00
Jiashen Wang
353f470b02 Merge "Add public APIs for carrier apps" 2019-11-13 17:33:45 +00:00
James Mattis
6f1bf857a6 Merge "Support for hotspot client visibility."
am: 81200971e1

Change-Id: Ifadee94d1f602b9e70ba5a76731e3c990175be61
2019-11-13 08:53:25 -08:00
James Mattis
81200971e1 Merge "Support for hotspot client visibility." 2019-11-13 16:37:27 +00:00
Chen Xu
dd0c1c3687 cellbroadcast provider refactor
1. expose proper APIs to query framework cellbroadcast provider
2. export framework cellbroadcast provider
3. new URI with proper permission check

Bug: 135956699
Test: Build & Manual
Change-Id: Id9ef1876b27bcae6b297be4cc24809239c202f6a
(cherry picked from commit a32c7fc398)
Merged-in: Id9ef1876b27bcae6b297be4cc24809239c202f6a
2019-11-13 08:32:41 -08:00
Roshan Pius
780d117268 keystore: Expose @SystemApi's to wifi mainline module
Two @SystemApi's being added to allow wifi mainline module to access
formal API's:
a) KeyGenParameterSpec.Builder.setUid() to allow wifi to create/store keys
with WIFI_UID.
b) AndroidKeyStoreProvider.getKeyStoreForUid() to allow wifi to get/put
any keys stored with WIFI_UID.

Both of these API's are already permission protected in the lower
layers. There is a map of euid's stored in the native keystore which
limits which uid is allowed to access which other uid's data.

Bug: 142089671
Test: make system-api-stubs-docs-update-current-api
Change-Id: I39b92d2293bcdc26bb0a4a48a1d1e4cc0b20ad0b
2019-11-13 06:08:13 -08:00
Julia Reynolds
6f08e137e5 Merge "Constants for NLS specific approval screens in Settings" 2019-11-13 14:02:39 +00:00