Commit Graph

89490 Commits

Author SHA1 Message Date
Suprabh Shukla
075541707a Merge "APIs to suspend packages with SUSPEND_APPS permission" into pi-dev am: 6affc07065
am: 31b5990893

Change-Id: Ib95745ca26362a9624b704b217b4d9078d0ade7c
2018-03-23 01:17:09 +00:00
Julia Reynolds
45723486bd Merge "Add vol up + power ringer toggle gesture" into pi-dev am: 224e2fb2ef
am: b598333775

Change-Id: I0bc60476384fed3dd5febaf2b27d5affcd9e9c72
2018-03-23 01:07:07 +00:00
Suprabh Shukla
31b5990893 Merge "APIs to suspend packages with SUSPEND_APPS permission" into pi-dev
am: 6affc07065

Change-Id: Icd9ccea90cac3b367b74915f76d39d7f5f740687
2018-03-23 00:09:48 +00:00
Ivan Podogov
ad27d2caa4 Merge "HIDD: Address API Review concerns" am: 8085d6f247 am: 6c64e83577
am: 153592fa3c

Change-Id: Idbb7a31a9de8092e91743c3806d6a0dba509eec6
2018-03-23 00:07:36 +00:00
Julia Reynolds
b598333775 Merge "Add vol up + power ringer toggle gesture" into pi-dev
am: 224e2fb2ef

Change-Id: I3b15061159a345a006dc0f5f532e93291ca1b383
2018-03-22 23:58:37 +00:00
Mike Ma
48906e12f3 Merge "Record Bluetooth Cumulative Stats Properly" into pi-dev am: 827a06d4b4
am: 0f8667423f

Change-Id: I5e02a0d410ec64d37a6917471e2cb776c373cc12
2018-03-22 23:53:08 +00:00
Ivan Podogov
153592fa3c Merge "HIDD: Address API Review concerns" am: 8085d6f247
am: 6c64e83577

Change-Id: Ibcdc31fcb01a583ca05c056b2063f77c0f4dbeb6
2018-03-22 23:13:16 +00:00
Ivan Podogov
6c64e83577 Merge "HIDD: Address API Review concerns"
am: 8085d6f247

Change-Id: I7f4e272657874b02d122f7ddc291c0f006eeee30
2018-03-22 23:03:17 +00:00
Mike Ma
0f8667423f Merge "Record Bluetooth Cumulative Stats Properly" into pi-dev
am: 827a06d4b4

Change-Id: I9086e4560f676693329a42ac71194ff1e64e8222
2018-03-22 22:35:58 +00:00
Nathan Harold
c3eb60cec6 Merge "Add AppOp for IpSec Tunnels" into pi-dev am: 8a047a0c52
am: e9ae13cabe

Change-Id: I9197eb54de99c9f5274d722cd25c35c654fa6137
2018-03-22 22:17:26 +00:00
TreeHugger Robot
6affc07065 Merge "APIs to suspend packages with SUSPEND_APPS permission" into pi-dev 2018-03-22 22:15:31 +00:00
Julia Reynolds
224e2fb2ef Merge "Add vol up + power ringer toggle gesture" into pi-dev 2018-03-22 22:03:48 +00:00
Treehugger Robot
8085d6f247 Merge "HIDD: Address API Review concerns" 2018-03-22 21:50:57 +00:00
TreeHugger Robot
827a06d4b4 Merge "Record Bluetooth Cumulative Stats Properly" into pi-dev 2018-03-22 21:39:03 +00:00
Nathan Harold
e9ae13cabe Merge "Add AppOp for IpSec Tunnels" into pi-dev
am: 8a047a0c52

Change-Id: I159d49219d2f75e1f5aeece4196638a8823fc029
2018-03-22 21:35:36 +00:00
Nathan Harold
8a047a0c52 Merge "Add AppOp for IpSec Tunnels" into pi-dev 2018-03-22 21:14:36 +00:00
Suprabh Shukla
021b57ab8d APIs to suspend packages with SUSPEND_APPS permission
Changed the existing hidden api setPackagesSuspendedAsUser to a system
api setPackagesSuspended that can be called by apps with either
MANAGE_USERS or SUSPEND_APPS permission. Additionally, the suspending
app can now specify optional extra information meant to be used by the
suspended apps and the launcher to deal with this state.

The following other APIs are added:
 - isPackageSuspended(): Apps can query whether they are in a suspended
 state
 - @SystemApi getPackageSuspendedAppExtras(String): Apps with permission
 SUSPEND_APPS can get the appExtras passed to PM when suspending the
 app.
 - @SystemApi setPackageSuspendedAppExtras(String, PersistableBundle):
 Apps with permission SUSPEND_APPS can update app extras for a
 suspended package.
 - getPackageSuspendedAppExtras(): Apps can call to get the appExtras
 passed in to PM when they were suspended.

Test: Can be run via:
atest com.android.server.pm.PackageManagerSettingsTests
atest com.android.server.pm.PackageUserStateTest
atest com.android.server.pm.SuspendPackagesTest

Bug: 74336673
Change-Id: I3b9ed2c8478b34ee2e8986f5f5fddb2839d102e3
2018-03-22 12:59:57 -07:00
Makoto Onuki
799a29b5c1 Merge "Move provider access stats to frameworks/base" into pi-dev am: c7f6eadffc
am: 3a6af5133e

Change-Id: Ia7ec47f226e74bc65856a80c2f30ba604930962b
2018-03-22 19:15:02 +00:00
Felipe Leme
6f7a3565e3 Merge "Don't allow null ids on FillResponse.Builder.setAuthentication()" into pi-dev am: de6dfd93e5
am: a14992b585

Change-Id: I00f8979ad1a686413b34a4d1f150a467949c55bc
2018-03-22 18:48:27 +00:00
Makoto Onuki
3a6af5133e Merge "Move provider access stats to frameworks/base" into pi-dev
am: c7f6eadffc

Change-Id: I22451d7234f52332ddd5e4811f9fe9b957469265
2018-03-22 18:45:31 +00:00
Felipe Leme
f667366709 Merge "Fixed autofill service metadata name on javadoc sample." into pi-dev am: b030730aa8
am: 949d293ed2

Change-Id: I3554d6033b19a0139b7d8f3a680be68d8b900d59
2018-03-22 18:37:16 +00:00
Nathan Harold
33ed612cca Merge "Add NonNull Annotations To IpSec API Surface" into pi-dev 2018-03-22 18:31:03 +00:00
Felipe Leme
a14992b585 Merge "Don't allow null ids on FillResponse.Builder.setAuthentication()" into pi-dev
am: de6dfd93e5

Change-Id: If5937a6d59d7e386aa685570359df47cb34a8a98
2018-03-22 18:28:41 +00:00
Felipe Leme
949d293ed2 Merge "Fixed autofill service metadata name on javadoc sample." into pi-dev
am: b030730aa8

Change-Id: Ic8c2eff923157be306dd401e47979a3337499919
2018-03-22 18:23:06 +00:00
Robert Berry
d76a3d2716 Merge "Unhide RecoveryController#getRootCertificates()" into pi-dev am: c6bd185565
am: be910a789e

Change-Id: I5fdaf507def6a7f679b2ce4569f5787864e31f45
2018-03-22 18:13:14 +00:00
Robert Berry
bdafd55ff0 Merge "Unhide RecoverySession#recoverKeyChainSnapshot() method" into pi-dev am: 3818de595b
am: 986afbd959

Change-Id: Id38a53ef38e7d493e715cff747ebd2b0a9880a98
2018-03-22 18:07:58 +00:00
Robert Berry
be910a789e Merge "Unhide RecoveryController#getRootCertificates()" into pi-dev
am: c6bd185565

Change-Id: Ib81d1997ee46034dff4c8b9c45836f434f660f1a
2018-03-22 17:50:46 +00:00
Robert Berry
986afbd959 Merge "Unhide RecoverySession#recoverKeyChainSnapshot() method" into pi-dev
am: 3818de595b

Change-Id: Ie3aad7e53a3e359bd83602db3a85cf1ab497e7c2
2018-03-22 17:45:01 +00:00
Makoto Onuki
c7f6eadffc Merge "Move provider access stats to frameworks/base" into pi-dev 2018-03-22 17:42:13 +00:00
Felipe Leme
de6dfd93e5 Merge "Don't allow null ids on FillResponse.Builder.setAuthentication()" into pi-dev 2018-03-22 17:36:18 +00:00
Felipe Leme
b030730aa8 Merge "Fixed autofill service metadata name on javadoc sample." into pi-dev 2018-03-22 17:33:36 +00:00
Robert Berry
c6bd185565 Merge "Unhide RecoveryController#getRootCertificates()" into pi-dev 2018-03-22 17:23:05 +00:00
Felipe Leme
40f787ec18 Merge "Renamed AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES." into pi-dev am: 4e561f83cb
am: 16f6c77d95

Change-Id: Ifce1e7799f71fa1952ab490d5504275b702cf931
2018-03-22 17:19:52 +00:00
Robert Berry
3818de595b Merge "Unhide RecoverySession#recoverKeyChainSnapshot() method" into pi-dev 2018-03-22 17:19:33 +00:00
Felipe Leme
16f6c77d95 Merge "Renamed AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES." into pi-dev
am: 4e561f83cb

Change-Id: Id6e661b49cc9a28bb6464930210eac41f061d61a
2018-03-22 17:05:36 +00:00
Felipe Leme
4e561f83cb Merge "Renamed AUTOFILL_COMPAT_MODE_ALLOWED_PACKAGES." into pi-dev 2018-03-22 16:24:53 +00:00
Felipe Leme
df0b0d380d Fixed autofill service metadata name on javadoc sample.
Bug: 72811034
Test: nope

Change-Id: I0367fa6ad1fa21c51dadb9706830bc50c3139cab
2018-03-22 08:40:52 -07:00
Michael Plass
212ed0c0ba Merge "Add Settings.Global.WIFI_SCORE_PARAMS" into pi-dev am: dddd69ef3e
am: ad35dfa2a1

Change-Id: I62266b86cf0ff8f664a62dd1ee673ce338c8d40e
2018-03-22 15:31:17 +00:00
Michael Plass
ad35dfa2a1 Merge "Add Settings.Global.WIFI_SCORE_PARAMS" into pi-dev
am: dddd69ef3e

Change-Id: I981b1d4fe36044e47b12051bf0dfd499eea2a155
2018-03-22 15:17:30 +00:00
Michael Plass
dddd69ef3e Merge "Add Settings.Global.WIFI_SCORE_PARAMS" into pi-dev 2018-03-22 15:03:51 +00:00
Mike Digman
5527286e08 Add vol up + power ringer toggle gesture
It only runs when the screen is on.

Test: manual, invoking gesture with different system settings
Bug: 75252670
Change-Id: I934d0bbb0a9fffecf34ebaadf77f3e1241d4faf7
2018-03-22 10:55:24 -04:00
Makoto Onuki
d0b64e6902 Move provider access stats to frameworks/base
Bug: 76037330
Test: boot and dumpsys activity provider ContactsProvider2
Change-Id: I69cfe0edc98da00d1212f57871646488f87eb8dd
2018-03-22 07:53:57 -07:00
Robert Berry
6909539a2d Merge "Small fix for the key grant alias used in importKey" into pi-dev am: f9332469a4
am: 157aee22f5

Change-Id: Ida134803f6c251448ba65cfcc87669c01ea99f2b
2018-03-22 14:25:30 +00:00
Robert Berry
ce50efa321 Merge "Unhide the new RecoverySession#start with the alias for root cert" into pi-dev am: 98ea60c427
am: 60efe8379d

Change-Id: I5b04c097bb5f26fe031191bcc208db9408f998a3
2018-03-22 14:20:27 +00:00
Robert Berry
157aee22f5 Merge "Small fix for the key grant alias used in importKey" into pi-dev
am: f9332469a4

Change-Id: I43efcec91dc8c9e84cbefe2b0dcd7a089046cee3
2018-03-22 14:11:56 +00:00
Robert Berry
60efe8379d Merge "Unhide the new RecoverySession#start with the alias for root cert" into pi-dev
am: 98ea60c427

Change-Id: Ibd8338f5568478b207e660aaaa03d11bde8fcfeb
2018-03-22 14:06:42 +00:00
Robert Berry
f9332469a4 Merge "Small fix for the key grant alias used in importKey" into pi-dev 2018-03-22 13:55:31 +00:00
Robert Berry
750b71c651 Unhide RecoverySession#recoverKeyChainSnapshot() method
The other methods expose raw key materials, which is a security flaw. This
new API is already being used by GMSCore, via reflection (although falling
back to the old methods if it is not available). Would be good to switch it
on ASAP.

Bug: 74345822
Test: Tested with GMSCore
Change-Id: I30d53c9e825888d1122c72d23b7c1c10c6edb1e9
2018-03-22 13:49:54 +00:00
Robert Berry
93d002ca5f Unhide RecoveryController#getRootCertificates()
This is so we can add a GTS test to affirm that GMS devices include the
Google Cloud Key Vault root certificate.

Test: runtest frameworks-core -p android.security.keystore.recovery
Bug: 74621045
Change-Id: Ib6431f5739f3dff066832e6aa300dd9da5bc0727
2018-03-22 13:49:20 +00:00
Robert Berry
98ea60c427 Merge "Unhide the new RecoverySession#start with the alias for root cert" into pi-dev 2018-03-22 13:48:31 +00:00