Commit Graph

28276 Commits

Author SHA1 Message Date
Sean Pont
d00aefb43c Add QuickAccessWallet API
Adds a new API that allows applications to provide payment cards and
other relevant passes to SysUI which are then shown in the Quick Access
Wallet (long press on Pixel). See go/aospqaw-dd for details.

Bug: 144342153
Test: manual - started device, didn't blow up
Test: atest - run from frameworks/base dir
Change-Id: I8fef3116e6e4bd1f8a4f5a907892ea8993b49b0e
2020-01-21 14:18:34 -08:00
Henry Fang
30b7a57597 Merge "Change frontend analog constant to match the hal define" 2020-01-20 22:52:11 +00:00
TreeHugger Robot
faa0e9dbca Merge "Expose four ICU fields from version 66.0.1" 2020-01-20 21:44:10 +00:00
Hall Liu
6392e2548d Merge "Add system service for accessing SystemConfig" 2020-01-20 21:34:28 +00:00
Henry Fang
0129cd7df6 Merge "Framework support cas@1.2" 2020-01-20 21:26:11 +00:00
Nikita Iashchenko
606205f5ae Expose four ICU fields from version 66.0.1
This CL exposes four previously temporarily hidden fields which was done
to avoid merge conflits in downstream branches:

 * android.icu.lang.UCharacter$UnicodeBlock#CHORASMIAN
 * android.icu.lang.UCharacter$UnicodeBlock#CJK_UNIFIED_IDEOGRAPHS_EXTENSION_G
 * android.icu.lang.UCharacter$UnicodeBlock#DIVES_AKURU
 * android.icu.util.VersionInfo#UNICODE_13_0

Bug: 135752089
Test: m update-api
Change-Id: I5b3fec8edd6e990e839fbb8dfd93196cf60506c4
2020-01-20 20:09:42 +00:00
Henry Fang
39247cd9c1 Change frontend analog constant to match the hal define
Test: Manual
bug: 135708935
Change-Id: Ie81a4b63d9bcad9ba93ca8d4688f67d732217c70
2020-01-20 19:53:54 +00:00
Automerger Merge Worker
a2fc38e471 Merge "Publish ImsMmtelManager API for better debugging" am: 09a87d3f9f am: cacdf69470 am: 7cc1436284
Change-Id: I8326658287662a5c503ff6ba2cbc2457fba5d829
2020-01-20 17:35:29 +00:00
Charles Chen
eb0ebddc1a Merge "Split status bar window (1/N)" 2020-01-20 17:23:36 +00:00
Shi Lu
cacdf69470 Merge "Publish ImsMmtelManager API for better debugging"
am: 09a87d3f9f

Change-Id: Ib04eff33de8a6816520fa5fb0d0a2cc418394c3a
2020-01-20 09:10:07 -08:00
Shi Lu
09a87d3f9f Merge "Publish ImsMmtelManager API for better debugging" 2020-01-20 16:56:37 +00:00
Alex Buynytskyy
48a488aa33 Merge "Remove validation of APKs on transfer." 2020-01-20 14:44:15 +00:00
Shawn Lin
d459dc237c Merge "Add a new flag ALWAYS for layoutInDisplayCutoutMode" 2020-01-20 14:02:57 +00:00
Galia Peycheva
a85b3d56a3 Merge "Add a TestApi to DM to get the last requested MPP" 2020-01-20 08:05:39 +00:00
Calvin Pan
2ffecdb9fd Merge "Redesign the setPreferredNetworkType" 2020-01-20 08:00:05 +00:00
Chalard Jean
79150a0ad1 Merge "Move NetworkAgent#register to a new method." 2020-01-20 07:12:11 +00:00
Alex Buynytskyy
354d6697cd Remove validation of APKs on transfer.
It's unnecessary as it will be done on commit anyway.
This allows to make transfer simple and blocking.

Test: atest PackageManagerShellCommandTest
Bug: b/136132412

Change-Id: Ib017c6dc8a845a7d72898b0c0032c17932375c96
2020-01-20 05:54:40 +00:00
Jing Ji
7d8deb5674 Merge "Add an api to schedule app killings on imperceptible." 2020-01-20 05:52:16 +00:00
Chalard Jean
29c6e0cc51 Move NetworkAgent#register to a new method.
Calling IPC in a constructor is unusual and confusing, and can be
considered bad form. There are multiple reasons for this :
• Users can't obtain an instance of the class without calling the
  constructor, but they can't always afford an IPC where they need
  this, forcing them to know about the implementation detail and
  sometimes design around it.
• On a related but generalized note, constructors should usually
  be fast for the same range of reasons.
• Having a separate method to register the agent simply gives more
  flexibility to the app.
• It's also a lot easier to test.
But also we can't fix it without an update to the API, so here it is.

Another reason for doing this is consistency with the NetworkProvider
API.

Bug: 138306002
Bug: 139268426
Test: atest FrameworksNetTests FrameworksWifiTests FrameworksTelephonyTests
Change-Id: I1ee5c7b1353d581e487c8a8a159009bebd781643
2020-01-20 12:54:52 +09:00
Chalard Jean
339ba3ffac Add methods to send connected/disconnected state.
Also add methods to set the legacy subtype and the APN name.
These have to be added together because they have to be used
together.

Bug: 138306002
Bug: 139268426
Test: atest FrameworksNetTests FrameworksWifiTests FrameworksTelephonyTests
Change-Id: Ie90b8d290eab490061d5cb066744b67d597b9469
2020-01-20 12:54:52 +09:00
TreeHugger Robot
59fe0357bd Merge "softap: Add util function toWifiConfiguration in SoftApConfiguration." 2020-01-20 02:51:51 +00:00
Nate Jiang
f1cbec5f5d Merge "Add set untrusted API for networkSuggestion" 2020-01-20 00:15:28 +00:00
Henry Fang
43cab92abe Framework support cas@1.2
Test: Manual
bug: 141783130
Change-Id: I62d42ad51444b8d58282f5d6992ba6f2169dd6d3
2020-01-19 22:28:44 +00:00
Jing Ji
e423f7601e Add an api to schedule app killings on imperceptible.
Bug: 142676371
Test: atest CtsAppTestCases:ActivityManagerTest
Change-Id: Ibf515ddcf384bc643c568243b675efb61f0bbd66
2020-01-19 12:35:42 -08:00
Jing Ji
4a9cddd407 Merge changes from topic "app_kill_stats"
* changes:
  Add support to get historical app process exit reason
  Add support to send notification from Zygote to system_server
2020-01-19 18:37:04 +00:00
lesl
ac37493993 softap: Add util function toWifiConfiguration in SoftApConfiguration.
Bug: 142752869
Test: atest frameworks/base/wifi/tests
Change-Id: I61ef8bfe4fc5e273249944b302782a4c5f909924
2020-01-19 23:50:29 +08:00
Ahmed ElArabawy
4f71df4032 Merge "Wifi: Add a public API to query for supported wifi standards" 2020-01-19 15:16:57 +00:00
Zoey Chen
23048ad7d1 Merge "[Settings] To avoid use APIs in IccCard directly, moving APIs into TelephonyManager." 2020-01-19 14:38:35 +00:00
Shawn Lin
167bcb1d79 Merge "Make DisplayCutout support waterfall insets" 2020-01-19 09:57:54 +00:00
Ahmed ElArabawy
9b3f076527 Wifi: Add a public API to query for supported wifi standards
This commit adds a public API to query for the supported wifi standards.

Bug: 143543900
Bug: 134688244
Bug: 144576344
Test: atest com.android.wifi.server
Change-Id: I57ac90c7d3473a71435bfb96b19d983ae433082a
2020-01-19 08:54:39 +00:00
Nate(Qiang) Jiang
8996b2d677 Add set untrusted API for networkSuggestion
Bug: 147766061
Test: atest android.net.wifi
Change-Id: I122643b07447d9514390fd0654bba77ed4dc4a0f
2020-01-19 00:51:50 -08:00
Daniel Bright
19264bbcd5 Merge "Created typed class pin result in keyguard" 2020-01-19 07:37:18 +00:00
shawnlin
7dabcab3dd Make DisplayCutout support waterfall insets
For waterfall display, also take the waterfall insets into accout to
comput safe insets.

Change-Id: I1d5663ebd8588021387b7ae5296851769954f996
Bug: 146876976
Test: atest DisplayCutoutTest
2020-01-19 14:49:12 +08:00
Les Lee
c64b68c3e2 Merge changes from topic "lohs_sap_config"
* changes:
  wifi: Fix java doc error, use @code instead of @link
  softap: Update LOHS API usage
  SoftAp: Public SoftApConfiguration to replace WifiConfiguration
2020-01-19 05:53:56 +00:00
Automerger Merge Worker
4ba30f5d3c Merge "Revert "Annotate StringNetworkSpecifier @Deprecated and @removed"" am: 1413b254eb am: dd2a5c7c69 am: 6011b4e780
Change-Id: I3cd9356b7ad03b3359f5c00da43092fcb7c40035
2020-01-18 20:54:56 +00: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
zoey chen
16a1821f9c [Settings] To avoid use APIs in IccCard directly, moving APIs into TelephonyManager.
IccCard#changeIccLockPassword
IccCard#setIccLockEnabled
IccCard#getIccLockEnabled
Bug: 146983487
Test: manual

Change-Id: I1a3c3b15063ea00d0ca59bd5395f2bca8cdfe391
2020-01-19 00:02:10 +08:00
Chalard Jean
380f3c9ae6 Merge changes from topics "NetworkAgent_constructor", "roaming"
* changes:
  Add a systemapi constructor for NetworkAgent
  Make NetworkCapabilities authoritative for roaming state
2020-01-18 15:38:15 +00:00
Zoey Chen
aca9fccf06 Merge "[Settings] Expose @hide #setDataAllowedDuringVoiceCall and #isDataAllowedInVoiceCall as @SystemApi" 2020-01-18 14:09:39 +00:00
Daniel Bright
b663fcbfae Created typed class pin result in keyguard
* The initial goal was to remove PhoneConstants.
But in doing so, it made sense to replace an int[] array as a
return type with a strongly typed class called PinResult.
* In this push, the @SystemAPI is being defined.
The modification to keyguard will come in a following commit.

Bug: 147854704
Test: make
Change-Id: I0d1354fadda4143260f377ff8ff868b99b9c53d8
2020-01-17 20:48:10 -08:00
Jing Ji
8055a3a446 Add support to get historical app process exit reason
Apps can call ActivityManager.getHistoricalProcessExitInfos() to
get the historical process exit reason now.

Also add the below command to support dumping of the information
$ adb shell dumpsys activity exit-info [package name]

Bug: 136036078
Test: atest ApplicationExitInfoTest
Test: atest CtsAppExitTestCases:ActivityManagerAppExitInfoTest
Change-Id: I634f247e42a7e8e4535eedd76cf84089abdf1129
2020-01-17 20:47:53 -08:00
Grace Jia
d40012f278 Merge "Fix hidden API usages in LocationAccessPolicy and add API in ActivityManager" 2020-01-18 02:59:38 +00:00
Automerger Merge Worker
49656895fb Merge "New system api to get UICC terminal based on slot number" am: 0d225be680 am: 7222dbc0a0 am: eb368aed7f
Change-Id: I4f94c604cf8e0e1f7a5b29260f532f18995ce43e
2020-01-18 02:33:23 +00:00
Automerger Merge Worker
9c7b6c8070 Merge "Expose system API EXTRA_REBROADCAST_ON_UNLOCK" am: 027bf28b3a am: 071427f6f6 am: 420b9476dc
Change-Id: Ibcd4b099f99b77a324d6550b2373c38fd2d6c8db
2020-01-18 02:32:35 +00: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
Jeff Sharkey
108ac3af12 Merge "Add custom scalar/aggregate functions to SQLite." 2020-01-18 00:58:21 +00:00