Commit Graph

100137 Commits

Author SHA1 Message Date
Jonathan Scott
805b26acf0 Merge "Allow starting activities across user with INTERACT_ACROSS_USERS." 2020-01-15 12:52:15 +00:00
Automerger Merge Worker
55bc2a3b5e Merge "Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi" am: dda5e92547 am: fe7146187e am: 968f5a9665
Change-Id: Iece2ad4133751a8c258f64d7796158ffe90881ce
2020-01-15 12:33:59 +00:00
Automerger Merge Worker
968f5a9665 Merge "Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi" am: dda5e92547 am: fe7146187e
Change-Id: Ic2168f237508137de450833d9c4a8f7229d89090
2020-01-15 12:16:25 +00:00
Treehugger Robot
dda5e92547 Merge "Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi" 2020-01-15 11:42:11 +00:00
Al Sutton
f7f94e34bf Merge "Add "No New Data" flag for Key/Value Backups" 2020-01-15 11:35:07 +00:00
Lorenzo Colitti
b4f3288e38 Merge "Make most of NetworkAgent @SystemApi." 2020-01-15 09:56:31 +00:00
TreeHugger Robot
f129f86a57 Merge "Rename the api from refresh() to refreshTime() to make it more clear" 2020-01-15 09:12:43 +00:00
TreeHugger Robot
863ca6295e Merge "Vibrator: Have Always-On Check DND/LowPower Modes" 2020-01-15 09:09:58 +00:00
Neil Fuller
b87081ceba Merge "System API proxies for the telephony module" 2020-01-15 09:01:57 +00:00
Alan Stokes
395ac1e263 Merge "Update API for uninstalled installers." 2020-01-15 08:40:46 +00:00
Jacky Kao
873cbc0e14 Merge "Implementing new API : takeScreenshot()" 2020-01-15 08:29:49 +00:00
Jacky Kao
09789e4168 Implementing new API : takeScreenshot()
Implementing the new API for A11y services to take the screenshot
of the specified display.
Bitmap takeScreenshot(int displayId)
1. The main codes is moved from the UiAutomationConnection class and
let the UiAutomation change to use this API.
2. Add a capability at metadata to check whether the A11y services could use this
API or not.
3. This API is a async one for A11y services, but is a sync one for
UiAutomation.

Bug: 10931661
Test: a11y CTS & unit tests
Change-Id: I478bd93c60d4742bef20ae0e423ca9de1bda55d2
2020-01-15 16:23:52 +08:00
paulhu
5ae1d2c043 Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi
Support wifi mainline module usage.

Bug: 135998869
Test: Build and make system-api-stubs-docs-update-current-api
      atest FrameworksNetTests

Change-Id: I77cb45e6b2aaf4ab2c457cb59ccf77b1b8c01fa9
2020-01-15 15:38:23 +08:00
Automerger Merge Worker
4c0487a163 Merge "Allow opening tethering when data saver ON" am: bd7fa99584 am: 80cc1ede37 am: dbefc5e6ac
Change-Id: I24a842de6918ccd0eb1dc60161854ea25528dff5
2020-01-15 07:29:40 +00:00
Automerger Merge Worker
0dcf43d1fe Merge "DevicePolicyManager: annotate SystemApi" am: d63ebcf807 am: 5016cf0263 am: 14dee43669
Change-Id: I88cb20e9c283993cda6be98d73f0fbfdc3f4ce54
2020-01-15 07:28:57 +00:00
Rhed Jao
70cb293d44 Merge changes from topic "A11yShortcut_NeedWithUi"
* changes:
  Accessibility shortcut improvement (10/n)
  Accessibility shortcut improvement (9/n)
  Accessibility shortcut improvement (8/n)
2020-01-15 07:22:32 +00:00
Automerger Merge Worker
dbefc5e6ac Merge "Allow opening tethering when data saver ON" am: bd7fa99584 am: 80cc1ede37
Change-Id: If569a0471eb59c244965c01b02aae71b49dc05a8
2020-01-15 07:15:19 +00:00
Automerger Merge Worker
6518424d07 Merge "Unhide NetworkRequest API which use legacy type" am: cd2ffc26dc am: d8d358dc63
Change-Id: I3a72ed77540329a355547c115b0250d00ccf5630
2020-01-15 07:15:12 +00:00
Automerger Merge Worker
14dee43669 Merge "DevicePolicyManager: annotate SystemApi" am: d63ebcf807 am: 5016cf0263
Change-Id: I27c2aa961fce4d7ee19ded54e4e3cc3172bec850
2020-01-15 07:14:27 +00:00
Lorenzo Colitti
631f33a68f Make most of NetworkAgent @SystemApi.
Bug: 138306002
Bug: 139268426
Test: atest FrameworksNetTests FrameworksWifiTests FrameworksTelephonyTests
Test: atest android.net.cts.ConnectivityManagerTest
Change-Id: I856f01f02c35c2f6a886d8b98039e5dfbc48148b
2020-01-15 16:05:26 +09:00
Mark Chien
bd7fa99584 Merge "Allow opening tethering when data saver ON" 2020-01-15 06:58:29 +00:00
Mark Chien
cd2ffc26dc Merge "Unhide NetworkRequest API which use legacy type" 2020-01-15 06:49:33 +00:00
Treehugger Robot
d63ebcf807 Merge "DevicePolicyManager: annotate SystemApi" 2020-01-15 06:37:55 +00:00
Jackal Guo
7fd8e937bf Merge "Support accessibility on embedded hierarchies (1/n)" 2020-01-15 05:40:36 +00:00
TreeHugger Robot
cac0014a95 Merge "Add IActivityManager.stopUserWithDelayedLocking" 2020-01-15 05:40:06 +00:00
TreeHugger Robot
d5dc1844bb Merge "fix parceling issue with KeyphraseSoundModel" 2020-01-15 05:36:57 +00:00
Automerger Merge Worker
f39d8f016f Merge "Expose SocketKeepalive#SUCCESS as SystemApi" am: 4c85840bd0 am: 5ccdd4fc53
Change-Id: If67241a41678690a63a9cc20d2125fc2ee90ada6
2020-01-15 05:18:14 +00:00
Treehugger Robot
4c85840bd0 Merge "Expose SocketKeepalive#SUCCESS as SystemApi" 2020-01-15 05:01:04 +00:00
TreeHugger Robot
e33a992c19 Merge "Move focus dispatch to input (2/2)" 2020-01-15 04:52:14 +00:00
Mark Chien
9eb533470d Merge "Unhide NetworkRequest API which use legacy type" 2020-01-15 04:29:15 +00:00
Remi NGUYEN VAN
b7c80b5557 Merge "Add NetworkRequest#satisfiedBy to SystemApi" 2020-01-15 04:14:32 +00:00
Remi NGUYEN VAN
b9fd752f64 Merge "Remove handling of EVENT_UNFULFILLABLE_REQUEST" 2020-01-15 04:13:59 +00:00
TreeHugger Robot
e2b62e4f12 Merge changes I8cfea8ab,I349611e3
* changes:
  Recover from HAL death in sound trigger
  Lint cleanup
2020-01-15 03:49:48 +00:00
Wu Ahan
d5b8f0590d Merge "Make some apis @TestApi and @hide for usage in tests" 2020-01-15 03:33:41 +00:00
Nicholas Ambur
43970b5124 fix parceling issue with KeyphraseSoundModel
Bug: 147646806
Test: Tested enrollment and unenrollment via bundled hotword enrollment
application.

Change-Id: I0a78d831e0949d4cf1ed97a1cd6cdaea70d8399a
2020-01-14 18:54:26 -08:00
TreeHugger Robot
a682ec6e7d Merge "Remove framework code that has moved to frameworks/libs/net" 2020-01-15 02:47:52 +00:00
paulhu
521cd8c85d Expose SocketKeepalive#SUCCESS as SystemApi
Support wifi mainline module usage.

Bug: 135998869
Test: Build and make system-api-stubs-docs-update-current-api
      atest FrameworksNetTests
Change-Id: I94171b2dc4f26442df918547bf8bc40953f63f2e
Merged-In: I94171b2dc4f26442df918547bf8bc40953f63f2e
2020-01-15 02:45:43 +00:00
Paul Hu
cb8f129c89 Merge "Expose SocketKeepalive#SUCCESS as SystemApi" 2020-01-15 02:44:32 +00:00
TreeHugger Robot
6fd5b06f4c Merge "Update JavaDoc for CACHE_FILTER_NONE" 2020-01-15 02:05:23 +00:00
TreeHugger Robot
71e50f5199 Merge "Check mIncludeCode before building appComponentFactory" 2020-01-15 00:56:49 +00:00
Curtis Belmonte
e0e5852108 Merge "Add auth type to BiometricPrompt.AuthenticationResult" 2020-01-15 00:44:26 +00:00
Automerger Merge Worker
2ba0fb04a4 Merge changes from topic "remove_dev_mode" am: 8027ca9b97 am: b321ddb2f2
Change-Id: I8fe01cc3b1a669fb4e7516f37471dc8fe5493cde
2020-01-14 23:58:13 +00:00
Automerger Merge Worker
7d30df799e support data migration from OEM legacy app to mainline am: 32f525c975 am: 383e36c9aa
Change-Id: I9b1dc1e313b1035af00c0b066bbc06274569caf4
2020-01-14 23:58:06 +00:00
Ytai Ben-Tsvi
c2327e78fd Recover from HAL death in sound trigger
Added some recovery code for the case of a dead driver.
Due to the sound trigger HAL process being tied to the audio server
via init.rc, this would also offer recovery from audio server death
as a by-product.

Bug: 146852437
Change-Id: I8cfea8ab108d482592c8094e8093066973f43288
2020-01-14 15:22:18 -08:00
Chen Xu
383e36c9aa support data migration from OEM legacy app to mainline
am: 32f525c975

Change-Id: Icbc338382683711d72a46f153a8385a6df1ac9a2
2020-01-14 15:07:33 -08:00
Jack Yu
8027ca9b97 Merge changes from topic "remove_dev_mode"
* changes:
  Do not migrate use full volume shared preference
  support data migration from OEM legacy app to mainline
2020-01-14 22:59:31 +00:00
Jack Yu
c3133cbc57 Do not migrate use full volume shared preference
Use full volume has been renamed to override DnD and
the toggle is now only available for certain countries. We
intended not to provide the ability to migrate this shared
preference as it might cause issue for users who already
changed the preference. After mainline migration, override
DnD should be always reset to default value of that country.

Test: Manual
Bug: 147426188

Merged-In: I5746fe32674131b474e784bd5dd62ecff76386d5
Change-Id: I5746fe32674131b474e784bd5dd62ecff76386d5
(cherry picked from commit bcbe46816c)
2020-01-14 22:59:05 +00:00
Chen Xu
32f525c975 support data migration from OEM legacy app to mainline
Defined systemAPI for interaction with legacy cellbroadcast app

Bug: 135956699
Test: Tested with cell broadcast receiver test app and confirmed data can be migrated.
Merged-In: I6e583672a3673fd226e14d33d7a7648f4fd03efb
Change-Id: I6e583672a3673fd226e14d33d7a7648f4fd03efb
(cherry picked from commit ad2f91fc6d)
2020-01-14 22:54:58 +00:00
David Su
872387eeb4 Update JavaDoc for CACHE_FILTER_NONE
Renamed to SCORE_FILTER_NONE.

Bug: 135998869
Test: compiles
Change-Id: I4c3e3583aae6f79dcaa68a1a8d2f167f43911b2f
2020-01-14 14:03:08 -08:00
Keun young Park
4cb993318b Add IActivityManager.stopUserWithDelayedLocking
- Only allow delayed locking for the explicit call, stopUserWithDelayedLocking()
  or for implicit user stopping caused by user switching.
- All other explicit user stopping should immediately lock the user. This allows
  immediate locking from component like DevicePolicy.
- Product still should enable delayed locking explicitly and if it is disabled,
  IActivityManager.stopUserWithDelayedLocking will behave the same with
  IActivityManager.stopUser.
- Once user is stopped in delayed locking mode, one of following steps can completely
  lock the user (this is not a complete list):
  1. User is asked to be stopped with IActivityManager.stopUser call.
  2. User is restarted through IActivityManager.restartUserInBackground call.
  3. UserManager.evictCredentialEncryptyionKey (involves restartUserInBackground call)
  4. When user is removed (involves IActivityManager.stopUser call).

Bug: 131757355
Test: run unit tests
      check user locking in car device where delayed locking is enabled.

Change-Id: I663ffde3a5b74738a6f59b4282ff562146f22662
2020-01-14 13:56:28 -08:00