Commit Graph

26661 Commits

Author SHA1 Message Date
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
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
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
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
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
Jeff Sharkey
b500cb85ff Query arguments for grouping, other SQL clauses.
Over time we've expanded ContentResolver to accept a Bundle of
arguments to influence how a query is performed, and this change
expands that set to allow setting of raw GROUP BY, HAVING, and
LIMIT clauses.  Note that providers are not required to implement
each of these arguments; they simply need to inform callers which
of them were honored via EXTRA_HONORED_ARGS.

This change also adds support to MediaProvider for handling
these arguments.

Bug: 143966486
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ia839b5a1917d7833f03e022cfef65652c0d7a01d
2019-11-14 15:42:52 -07: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
Rahul Sabnis
24ad4b561c Refactor methods to access/modify BluetoothDevice alias and name
Bug: 142352567
Test: Manual
Change-Id: I86bb69faed1c6d46ac668816e6081bd1673fbf85
2019-11-14 12:58:48 -08: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