Commit Graph

26678 Commits

Author SHA1 Message Date
Rahul Sabnis
d3d41774f9 Merge "Create systemapis to connect/disconnect all bt profiles" am: 7700b81cb3 am: 3e4a53735e
am: 0f6700acb5

Change-Id: I9b4a4b7ca4967bab1a6b3170941e2bb2fa79564d
2019-11-19 18:09:39 -08:00
Hall Liu
f47ee8f193 Merge commit 'ae63546d19f91931a9a05015b149ddc19091c895' into manual_merge_ae63546d19f91931a9a05015b149ddc19091c895
Change-Id: Ic7b8ec208eaed5fc3a9f5ee90dac5ffeb9a18543
2019-11-19 17:25:46 -08:00
Rahul Sabnis
3e4a53735e Merge "Create systemapis to connect/disconnect all bt profiles"
am: 7700b81cb3

Change-Id: I3780cb82ad20d84ea3d8d87b85dd6d37d1e8f907
2019-11-19 15:16:53 -08:00
Tyler Gunn
18325cf2d4 Merge "Add prioritized enableCarMode API in UiModeManager" 2019-11-19 23:16:33 +00:00
Tom Taylor
081777becd Merge "Add sms receiver result codes" 2019-11-19 21:40:03 +00:00
Hall Liu
dab3711435 Merge commit '1d7a53da981b7d4281c58af7eb9b150163b344a6' into manual_merge_1d7a53da981b7d4281c58af7eb9b150163b344a6
Change-Id: Ie08d8bb30e48a9e7ade85334c6195a791ecc0d9b
2019-11-19 12:37:24 -08:00
TreeHugger Robot
6b8f486bd5 Merge "Extract SparseArrayMap from QuotaController." 2019-11-19 18:31:06 +00:00
Mohammad Samiul Islam
7da3588356 Merge "Allow staging multiple session with non-overlapping packages (apk-only)" 2019-11-19 12:03:51 +00:00
Kweku Adams
a26ae90b4d Extract SparseArrayMap from QuotaController.
This structure can be useful in other parts of the system, so extracting
it and making it more generic makes sense.

Bug: 135764360
Bug: 141645789
Test: atest QuotaControllerTest
Test: atest SparseArrayMapTest
Change-Id: I2aeb3ea53e3dc2ec00667a0a2ccdb112cf562377
2019-11-18 17:58:00 -08:00
Rahul Sabnis
7700b81cb3 Merge "Create systemapis to connect/disconnect all bt profiles" 2019-11-18 23:15:06 +00:00
Hall Liu
1d7a53da98 Merge changes from topic "mainline4"
* changes:
  Add new API for Telecom to send phone state
  Minor style correction to avoid merge conflict
  non-mainline telephony related AIDL refactor/decoupling
2019-11-18 22:31:27 +00:00
Charles Munger
47ad15428a Merge "Mark strings with incorrect contents as deprecated" am: 3a4addba4b am: 04af2e4f80
am: 44c9f535e1

Change-Id: I76160b258170ae42fb340a4d30e1f35d6d8b8b45
2019-11-18 14:13:23 -08:00
Charles Munger
04af2e4f80 Merge "Mark strings with incorrect contents as deprecated"
am: 3a4addba4b

Change-Id: I76da2baee8fb1d3e26ba60d39b40f567ada04339
2019-11-18 13:56:20 -08:00
Charles Munger
3a4addba4b Merge "Mark strings with incorrect contents as deprecated" 2019-11-18 21:31:52 +00:00
Tyler Gunn
daef668a99 Add prioritized enableCarMode API in UiModeManager
Per design doc (go/android-car-mode-design), added new system API to
enable car mode and specify a priority for the calling app.
Also modified UiModeManager to pass the package name of the caller to
UiModeManagerService.

Bug: 136109592
Test: Added new unit tests and CTS tests.
Test: Added Telecom test app functionality to verify.
Change-Id: I2848039c9ea18ba93e7694e04c4e5dc70759daa3
2019-11-18 13:03:30 -08:00
Chen Xu
42d7faea52 Merge "SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent"
am: 3c397a6217

Change-Id: I87928d3760e884b7b0348f7bbedfdde4c5e8d623
2019-11-18 11:16:54 -08:00
Chen Xu
2d98a66b18 Merge "add a new telephony protection level"
am: cd953e939f

Change-Id: Ie275baf92a865fe1dc5855b00e49944d2598e4b4
2019-11-18 11:16:00 -08:00
Chen Xu
3c397a6217 Merge "SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent" 2019-11-18 19:04:39 +00:00
David Su
f7ef955d90 WifiManager/Scanner: Expose @hide APIs as @SystemApi
Expose @hide APIs in WifiManager/WifiScanner as
@SystemApi so that they can be referenced by external
callers (mostly Settings).

Bug: 143970861
Test: atest FrameworksWifiApiTests
Change-Id: I956290e2a3aca3f4946da52d7e271082824dd06c
2019-11-18 10:44:56 -08:00
David Su
9b2c03ecdf Merge "Expose Wifi P2P @hide APIs as @SystemApi" 2019-11-18 17:52:54 +00:00
Kenny Guy
e9eb313f14 Merge "Add an API to BrightnessConfiguration to enable colour sampling." 2019-11-18 16:50:34 +00:00
Charles Munger
82f67657f2 Mark strings with incorrect contents as deprecated
Bug: 36908899
Test: No behavior changes
Change-Id: I963b75e81b1d09afa98f732a79bd3e695855451c
2019-11-18 16:21:11 +00:00
Goven Liu
b75323eb34 Merge "[Wi-Fi] Add intent action & extra keys & result codes for add networks." 2019-11-18 04:33:17 +00:00
Chen Xu
da02e07b92 add a new telephony protection level
for oems which take telephony mainline module, all telephony related
apks will be signed with non-platform certificate. that said apks won't
be able to grant platform signature permission. Solution is to add a new
telephony protection level.

Bug: 141479803
Test: cts & manual
Change-Id: Ib3be016080d42fd76e7c131f4e44d815ce431e6e
(cherry picked from commit 45c183d201)
Merged-in: Ib3be016080d42fd76e7c131f4e44d815ce431e6e
2019-11-17 17:49:41 -08:00
Chen Xu
39b95941f9 SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent
Bug: 135956699
Test: Build
Change-Id: Ic7124f30fae6faa482467fd9235ef6155854f589
(cherry picked from commit 9c1260c818)
Merged-in: Ic7124f30fae6faa482467fd9235ef6155854f589
2019-11-16 09:21:33 -08:00
Jeff Sharkey
eca95ef9e8 Merge changes from topic "nov15"
* changes:
  Expand ContentProviderOperation support of extras.
  Extend insert/update/delete to provide extras.
  Query arguments for grouping, other SQL clauses.
2019-11-16 04:20:10 +00:00
Hall Liu
7ffa1d11bf Add new API for Telecom to send phone state
Add new API to replace Telecom's prior usage of hidden TelephonyRegistry
methods.

Bug: 141576016
Test: CTS
Change-Id: I0049f55e8eadaa144ad844026524197198700038
2019-11-15 18:29:16 -08:00
Chen Xu
8eb62f9485 non-mainline telephony related AIDL refactor/decoupling
1. decouple IOnSubscriptionChangedListener AIDL from telephonyMainline
2. other refactor. moving APIs which will not be included in
telephony mainline to frameworks/base/core/java/android/telephony.
Moving internal classes like AIDL which will not be included in
telephony mainline to
framework/base/core/java/com/android/internal/telephony

Bug: 140908357
Test: Build & unit test
Change-Id: I9413ef758cceadd251d03f3b5ea1054cc48ef044
Merged-In: I9413ef758cceadd251d03f3b5ea1054cc48ef044
2019-11-15 18:02:40 -08:00
Rahul Sabnis
0d33ef9a5a Create systemapis to connect/disconnect all bt profiles
Bug: 143495377
Test: Manual
Change-Id: I80d816083ef568df319afddfd4557ef74d37d16f
2019-11-15 16:18:25 -08:00
Rahul Sabnis
693269e6e2 Merge "Refactor methods to access/modify BluetoothDevice alias and name" am: 67bef6ab92 am: 90a45d63bc
am: a00cb4b8b0

Change-Id: I587f4c0d9aea8114ff4a71259001b399447b40c0
2019-11-15 16:06:31 -08:00
Rahul Sabnis
90a45d63bc Merge "Refactor methods to access/modify BluetoothDevice alias and name"
am: 67bef6ab92

Change-Id: Id0a50d482a7ff33df5fcd990a3ce5273956fcc5c
2019-11-15 15:40:17 -08:00
James Mattis
179ed7d640 Merge "Marking SoftApCallback methods as SystemAPI"
am: 8295ffc5af

Change-Id: I9cb5c54a206f9e92a321fa438640329c1f8f8a60
2019-11-15 15:35:37 -08:00
Treehugger Robot
67bef6ab92 Merge "Refactor methods to access/modify BluetoothDevice alias and name" 2019-11-15 23:20:37 +00:00
James Mattis
8295ffc5af Merge "Marking SoftApCallback methods as SystemAPI" 2019-11-15 23:17:54 +00:00
Sooraj Sasindran
adac378ab3 Merge "Make hidden subscription apis as system" 2019-11-15 21:37:02 +00:00
Jayachandran Chinnakkannu
90982acede Merge "Add static version of getSimCountryIso() called getDefaultSimCountryIso()" 2019-11-15 21:33:30 +00:00
Jeff Sharkey
e9fe152f31 Extend insert/update/delete to provide extras.
A few releases ago we added ContentResolver.QUERY_ARG_* constants
to query() as a new best-practice that will help wean us off raw
SQL arguments.  (For example, a provider could add their own
custom arguments like QUERY_ARG_INCLUDE_PENDING to cause the query
to reveal pending items that would otherwise be hidden.)  This
change expands update() and delete() to accept those arguments.

This change also expand insert() to accept extras too, as part of
preparing to support an upcoming MediaProvider feature that will let
apps place new media "adjacent" to an existing media item.  (Sending
that adjacent item through extras is cleaner than trying to send it
through escaped query parameters.)

Bug: 131643582
Test: atest CtsContentTestCases
Change-Id: I436296155b9b5f371b4cbe661feaf42070285fcc
2019-11-15 13:46:31 -07:00
Sooraj Sasindran
f521f9aa1d Make hidden subscription apis as system
Make following APIs as system

SubscriptionInfo;->isGroupDisabled
TelephonyManager;->isModemEnabledForSlot
TelephonyManager;->setOpportunisticNetworkState

Add a new public API
SubscriptionManager;->getActiveAndHiddenSubscriptionInfoList

As they need to be accessed by system application to configure
the opportunistic subscripion info

Bug: 141122805
Test: verified that CBRS app is still working fine
Change-Id: Idf1520911272ba4b7c1f15671d6221d99ba0ab37
2019-11-15 11:35:02 -08:00
David Su
b73c737ffc Expose Wifi P2P @hide APIs as @SystemApi
These APIs are mostly used by Settings.

Bug: 143892817
Test: atest FrameworksWifiApiTests
Change-Id: I27061280b0c49677fa651c6f9799e48b78e4c109
2019-11-15 11:25:13 -08:00
Jayachandran C
dc8cb2905e Add static version of getSimCountryIso() called getDefaultSimCountryIso()
This new system API will use the default subscription to get the ISO

Bug: 140768340
Test: Sanity
Change-Id: I362acaed0085a535104a1f0af606fd0891608c8d
2019-11-15 11:18:52 -08:00
Charles Munger
77c54b3a33 Merge "Deprecate AliasActivity" am: 95b815e26e am: 66f56ac1e8
am: 23220f2726

Change-Id: I5f47c62422441997eacc57856ffa1bc43a778660
2019-11-15 11:11:58 -08:00
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
James Mattis
31a8feb9c7 Merge "Swap param order in registerSoftApCallback" 2019-11-15 18:58:28 +00:00
Charles Munger
66f56ac1e8 Merge "Deprecate AliasActivity"
am: 95b815e26e

Change-Id: I9013bd8596ba35bbdaa1e2657c0416f1690a37dc
2019-11-15 10:58:06 -08:00
Treehugger Robot
95b815e26e Merge "Deprecate AliasActivity" 2019-11-15 18:38:35 +00:00
Ahmed ElArabawy
d6fb4a2171 Merge "Wifi: Support check on device capability for 6GHZ" 2019-11-15 18:17:13 +00:00
Ahmed ElArabawy
c67d4f750e Wifi: Support check on device capability for 6GHZ
This commit implements support of checking whether device supports 6GHz band.

Bug: 139354972
Test: atest com.android.wifi.server
Change-Id: Id2c1ef085bb680b9d59ce1788147b154efc4b422
2019-11-15 10:14:33 -08: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