Commit Graph

453274 Commits

Author SHA1 Message Date
Khaled Abdelmohsen
e39fa0fd2f Support optional rule attributes in XML parser
Bug: 143697198
Test: atest FrameworksServicesTests:RuleXmlParserTest
Change-Id: Ib7118228f325f8fcb88fa27cf88d48af0319e320
2019-11-26 15:36:14 +00:00
Khaled Abdelmohsen
5809a5f286 Add rule component validations
Bug: 141979167
Test: atest FrameworksServicesTests:RuleTest
Test: atest FrameworksServicesTests:AtomicFormulaTest
Test: atest FrameworksServicesTests:OpenFormulaTest
Change-Id: I3411a0fba37e7f3f9b9f6bbc5b2b895203bbd701
2019-11-26 15:34:45 +00:00
TreeHugger Robot
e60b9143e8 Merge "Creates a BootCompleteCache" 2019-11-26 15:31:20 +00:00
TreeHugger Robot
5ad3f1442c Merge "Fix the API comments according to comments in http://ag/9554748." 2019-11-26 15:29:41 +00:00
Eran Messeri
804d53c6f2 Merge "Wiping and relinquishing org-owned devices" 2019-11-26 14:50:38 +00:00
TreeHugger Robot
d5617a96f0 Merge "privapp_whitelist_com.android.carrierconfig to system_ext" 2019-11-26 14:38:13 +00:00
Fabian Kozynski
1cb4aaea51 Creates a BootCompleteCache
This cache is set by SystemUIApplication on boot and can be queried or
subscribed to.

The cache registration turns into no-op after boot, returning the boot
state instead.

LocationControllerImpl uses this cache to determine if it can query
LocationManager

Test: atest BootCompleteCacheTest
Fixes: 145019350
Change-Id: I2e34e53bfb8beca730cec8da6125988554c659e4
2019-11-26 09:15:44 -05:00
Mohammad Samiul Islam
982d3fec26 Merge "Replace abortActiveSession in StagingManager with revertActiveSessions" 2019-11-26 14:05:35 +00:00
Song Pan
44e5aa5f27 Fix the API comments according to comments in http://ag/9554748.
We do it in this CL instead of in that because we want to keep that CL
"move-only".

Test: nits only.
Bug: 143689885
Change-Id: I5d736d809d11110c944db2af6b73ea0daa53cd5e
2019-11-26 12:51:38 +00:00
Chiachang Wang
1b98dc1278 Merge "Refactor based on new NetworkMonitor" am: 0d7ed7932d am: a6e8219c59
am: 107f6558cb

Change-Id: I7b5bb41d2e5d99a81565506a4274a38156e3afc2
2019-11-26 04:15:47 -08:00
Chiachang Wang
107f6558cb Merge "Refactor based on new NetworkMonitor" am: 0d7ed7932d
am: a6e8219c59

Change-Id: I631487e6ccc500dd921ec04fa82713f35523dce8
2019-11-26 04:10:13 -08:00
Chiachang Wang
a6e8219c59 Merge "Refactor based on new NetworkMonitor"
am: 0d7ed7932d

Change-Id: I6f2f42dee11b2ee3db9e52817cd7aa871539aaed
2019-11-26 04:03:47 -08:00
Mohammad Samiul Islam
1a96eb6dc3 Replace abortActiveSession in StagingManager with revertActiveSessions
Bug: 141843321
Test: atest StagedInstallTest
Change-Id: I7fc5397f86f843cfb956364775af6fa5369037ba
2019-11-26 11:45:33 +00:00
Chiachang Wang
0d7ed7932d Merge "Refactor based on new NetworkMonitor" 2019-11-26 10:52:33 +00:00
Wilson Wu
4480cf5a3a [automerger skipped] Merge "Support showing alignment hint based on aligniment state of dock" into qt-qpr1-dev am: fc3f1408da
am: fe7f309fae -s ours
am skip reason: change_id Ic0911683725a0e54406df06b948169c4dde94764 with SHA1 6a8fb02aa7 is in history

Change-Id: Ic605312a95d1914a0e80d4ef8b64a9794b3b9684
2019-11-26 02:45:02 -08:00
Wilson Wu
fe7f309fae Merge "Support showing alignment hint based on aligniment state of dock" into qt-qpr1-dev
am: fc3f1408da

Change-Id: I4b9b1fd4c3209a6e3ae42c65d0a2b4c8484fc8ba
2019-11-26 02:39:29 -08:00
Wilson Wu
fc3f1408da Merge "Support showing alignment hint based on aligniment state of dock" into qt-qpr1-dev 2019-11-26 10:29:40 +00:00
Eran Messeri
b8c46e0862 Wiping and relinquishing org-owned devices
Add the following functionality, on devices with a managed profile
created during provisionining (and as such, considered
organization-owned):

* Let the Profile Owner relinquish a device by calling
  DevicePolicyManager.wipeData. The device then transitions
  to a fully-personal device.
* Let the Profile Owner wipe the entire device by calling
  wipeData on the parent profile DevicePolicyManager instance.

Bug: 138709470
Test: Manual with TestDPC.
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest
Test: atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testDeviceIdAttestationForProfileOwner
Change-Id: If3cc9741079592cb07bc1ef5ccca8fb2b57a52e9
2019-11-26 09:33:03 +00:00
Artur Satayev
e4ed4d879b Merge "Filter greylist-max-o.txt." am: a6933d2279 am: 24d6768385
am: 91d7defcfc

Change-Id: Idab8e1b98a7c8caedc06c2513686a0b803a71c83
2019-11-26 00:36:43 -08:00
Artur Satayev
91d7defcfc Merge "Filter greylist-max-o.txt." am: a6933d2279
am: 24d6768385

Change-Id: I57f4a8b28da4f34c0ca3222476f9b7b6f2dfc655
2019-11-26 00:31:35 -08:00
Artur Satayev
24d6768385 Merge "Filter greylist-max-o.txt."
am: a6933d2279

Change-Id: I05bee626347e5a3851731b36e77c02a9d99470df
2019-11-26 00:26:07 -08:00
Treehugger Robot
a6933d2279 Merge "Filter greylist-max-o.txt." 2019-11-26 08:15:09 +00:00
Jimmy Chen
731fe661aa Merge "p2p: check the length of the network name bytes" 2019-11-26 07:45:30 +00:00
TreeHugger Robot
385df92cb3 Merge "Define the proto for updateState of the controller" 2019-11-26 07:22:51 +00:00
Jeongik Cha
228ef6fa66 privapp_whitelist_com.android.carrierconfig to system_ext
Test: m
Bug: 137908189
Change-Id: I65cb7cb998d23541c8bcd2cfd81c8a9b94e7eccc
2019-11-26 15:55:47 +09:00
Bonian Chen
13cc1902e2 Merge "[Settings] Change the ordering of permission" 2019-11-26 05:31:46 +00:00
TreeHugger Robot
f6650d1300 Merge "Allow to resume activity when there are results." 2019-11-26 05:23:43 +00:00
Ugo Yu
ab2703ebca Merge "Limit the retry attemps on restarting Bluetooth" am: 46af84f892 am: 544a38b298
am: f4dafa6846

Change-Id: Ifd748681c9edf5216ba0040aea8cacbce49b6877
2019-11-25 20:51:58 -08:00
TreeHugger Robot
986ec22d46 Merge "Use StatsEvent in Java autogenerated code" 2019-11-26 04:48:30 +00:00
Ugo Yu
f4dafa6846 Merge "Limit the retry attemps on restarting Bluetooth" am: 46af84f892
am: 544a38b298

Change-Id: I7e0dcdf723c077046523d2a51024e883b0af1062
2019-11-25 20:46:14 -08:00
Ugo Yu
544a38b298 Merge "Limit the retry attemps on restarting Bluetooth"
am: 46af84f892

Change-Id: Ic3a92b10076eeebd332fd8cb2581b508e642e345
2019-11-25 20:40:07 -08:00
Treehugger Robot
46af84f892 Merge "Limit the retry attemps on restarting Bluetooth" 2019-11-26 04:30:41 +00:00
Ugo Yu
1ff6fd3c21 Limit the retry attemps on restarting Bluetooth
* Back off the delay time of resarting Bluetooth when
  there's continous turn on failures.
* Stop to restart Bluetooth if we are seeing back to
  back Bluetooth crashes, so we won't see endless
  diaglogs popping out.

Bug: 144572641
Test: Manual
Change-Id: Ifeffa214256eab61901c123fc88b037fc6d7dd50
2019-11-26 11:20:29 +08:00
Dieter Hsu
2574b4a1dd Update test mappings for CtsAccessibilityServiceSdk29TestCases
Bug: 145096015
Test: make checkbuild
Change-Id: I45462071dfce5dca3df97c50a784c38e02b83ad6
2019-11-26 03:09:17 +00:00
Jerry Chang
4bbf1596b9 Support showing alignment hint based on aligniment state of dock
Bug: 141984730
Test: atest SystemUITests:KeyguardIndicationControllerTest
Change-Id: Ic0911683725a0e54406df06b948169c4dde94764
Merged-In: Ic0911683725a0e54406df06b948169c4dde94764
2019-11-26 11:03:10 +08:00
Daniel Colascione
a237a98d71 Merge "Add tests for property reads from unset properties" am: f1e0f2e365 am: 22202139d5
am: cd2d9bb301

Change-Id: I3c73d295484f334b839a238b0d8ab87d7c8eb2f6
2019-11-25 18:55:56 -08:00
Daniel Colascione
cd2d9bb301 Merge "Add tests for property reads from unset properties" am: f1e0f2e365
am: 22202139d5

Change-Id: Iebe5ae73ad1c3d87e8b40239f6394809cd67367e
2019-11-25 18:50:46 -08:00
Daniel Colascione
22202139d5 Merge "Add tests for property reads from unset properties"
am: f1e0f2e365

Change-Id: I3ce15e20a6a7ae75e6aa0ec566243cb9e98b8d35
2019-11-25 18:45:23 -08:00
Treehugger Robot
f1e0f2e365 Merge "Add tests for property reads from unset properties" 2019-11-26 02:31:31 +00:00
Bonian Chen
073cdcab42 [Settings] Change the ordering of permission
Move READ_PRIVILEGED_PHONE_STATE based on alphabet ordering.

Bug: 144960427
Test: build pass
Change-Id: Ia86e20afc87725b012014b272b5c2f570aa31ca8
2019-11-26 09:22:56 +08:00
Chiachang Wang
3532e86487 Refactor based on new NetworkMonitor
Bug: 130325409
Test: atest NetworkStackIntegrationTests
Change-Id: I4426be339cb9990c05b3f4fb5666bd70bcd0f78e
2019-11-26 09:10:45 +08:00
David Su
58bea80fd2 Merge "Expose WifiConfiguration @hide APIs as @SystemApi" 2019-11-26 00:35:34 +00:00
Meng Wang
8d9b14a40d [automerger skipped] Merge "Expose API isInEmergencySmsMode" am: afb05a64c1 am: c5634216d7
am: e5adf943f6 -s ours
am skip reason: change_id Ib9c1a4e05f5c8417b93e11cdf6bf81304e57eaec with SHA1 064b674358 is in history

Change-Id: I16744f9adbaa10ab2491f3fd87d803823580497d
2019-11-25 16:32:03 -08:00
Meng Wang
e5adf943f6 Merge "Expose API isInEmergencySmsMode" am: afb05a64c1
am: c5634216d7

Change-Id: I620ad9e5c268ea90b189cd8827909d8f1ba08aa2
2019-11-25 16:26:21 -08:00
Meng Wang
c5634216d7 Merge "Expose API isInEmergencySmsMode"
am: afb05a64c1

Change-Id: Ifb691669cc59b409490ab951db7f68160203b4d8
2019-11-25 16:20:20 -08:00
Meng Wang
afb05a64c1 Merge "Expose API isInEmergencySmsMode" 2019-11-26 00:13:00 +00:00
Jayachandran Chinnakkannu
13d940da4d Merge "Remove usage of hidden API TelephonyManager.getLine1Number(int)" am: 2f1c32ef23 am: 3fdb0fbc87
am: 2fc6385366

Change-Id: Ifb8410dbb81cdc55c109ef8d7b190e1d9f6bf852
2019-11-25 16:09:16 -08:00
Jayachandran Chinnakkannu
2fc6385366 Merge "Remove usage of hidden API TelephonyManager.getLine1Number(int)" am: 2f1c32ef23
am: 3fdb0fbc87

Change-Id: I3dc4572e3b3d2c80a446d78fb0785f8f63bf2391
2019-11-25 16:03:45 -08:00
Jayachandran Chinnakkannu
3fdb0fbc87 Merge "Remove usage of hidden API TelephonyManager.getLine1Number(int)"
am: 2f1c32ef23

Change-Id: I1d34b1d5cb8f6b1f25269ee0238d6f4dba33ac50
2019-11-25 15:56:54 -08:00
Meng Wang
3dfc84ef72 Expose API isInEmergencySmsMode
Bug: 145161090
Test: cts
Merged-In: Ib9c1a4e05f5c8417b93e11cdf6bf81304e57eaec
Change-Id: Ib9c1a4e05f5c8417b93e11cdf6bf81304e57eaec
2019-11-25 23:56:28 +00:00