Commit Graph

461141 Commits

Author SHA1 Message Date
Will Brockman
12282ace8c Add instance IDs to UiEventReported atom.
Also adds InstanceIdSequence infrastructure for generating them, and
fakes for testing.

Bug: 144022566
Test: atest SystemUiTests
Change-Id: Iac524f50a177a77224711585d5127b8f5bb280f1
2020-01-21 11:56:08 -05:00
Adrian Roos
df747d155e API: Supress existing inconsistent Context service name, die zweite
Test: make checkapi
Change-Id: Ia1e18570d8ea3c854b615fbaecced768ceb0c728
2020-01-17 16:36:27 +01:00
Julia Reynolds
4c1af24e7b Merge "Fix up bubble actions" 2020-01-17 15:21:46 +00:00
Nick Chalko
1ef588c5cc Merge "Update documentation for scan commmands" 2020-01-17 15:21:30 +00:00
TreeHugger Robot
13d3d686cf Merge "Add config for overlaying extra default QS tiles" 2020-01-17 15:09:01 +00:00
lesl
15b05537ef Wifi: Add notification ID for softap auto shutdown
Notify the user that their softap disabled because there are no connected
devices and shutdown timeout expired.

Bug: 142752869
Test:  atest FrameworksWifiTests
Change-Id: Ib68607c1fcdced280191af397eda3cc900bdf7cf
2020-01-17 15:07:22 +00:00
Automerger Merge Worker
41b39209d2 Merge "Fix IsolatedUidAllocator for non-primary users." into qt-qpr1-dev am: 074d6fbd3f am: d80723b65a
Change-Id: I1659d181b88411de33561c225bf0b1a40097cfea
2020-01-17 15:05:56 +00:00
Automerger Merge Worker
d80723b65a Merge "Fix IsolatedUidAllocator for non-primary users." into qt-qpr1-dev am: 074d6fbd3f
Change-Id: I5694831cc81fe5e1b90740d369d6148971ac617c
2020-01-17 14:54:26 +00:00
Zimuzo Ezeozue
8a06d26a5b Merge "Revert "Fix canonicalizing /sdcard"" 2020-01-17 14:50:39 +00:00
Julia Reynolds
c3e922b0d6 Fix up bubble actions
- Remove them from the non-conversation controls
- Make sure to turn on bubbles globally if a person
is bubbled

Test: atest
Bug: 137397357
Change-Id: I5ae102d739acf4d821af8380287cdf21bca7abd9
2020-01-17 09:42:46 -05:00
Martijn Coenen
074d6fbd3f Merge "Fix IsolatedUidAllocator for non-primary users." into qt-qpr1-dev 2020-01-17 14:39:49 +00:00
Ömer Nebil Yaveroğlu
c6eeb791ee Merge "Put size limits on the number of rules that can be pushed through a verifier." 2020-01-17 14:05:22 +00:00
TreeHugger Robot
948cf18eff Merge "Add first order deps to test build file" 2020-01-17 13:46:37 +00:00
Fabian Kozynski
1c0e33b103 Add config for overlaying extra default QS tiles
The new config resource allows for an overlay to specify additional QS
Tiles. These tiles will be available on a fresh flash of the device, as
well as when the user resets the tiles in QSCustomizer.

If the tiles are custom tiles and the apk is not installedi or the
TileService is disabled, the tile will just be discarded.

Test: atest QSTileHostTest
Test: add the grayscale custom spec to the config value and check that
the tile appears on reset.
Bug: 147493661
Change-Id: Ifbb8cc8ac7ef16c4b67ebbc776703e9ac8208c43
2020-01-17 08:37:03 -05:00
TreeHugger Robot
4b08336289 Merge "Put getActiveAdminForCallerLocked call into synchronized block." 2020-01-17 13:32:43 +00:00
Stanislav Zholnin
f85aaad615 Merge "Prevent Historical AppOps from returning empty data." 2020-01-17 12:53:38 +00:00
TreeHugger Robot
a8be4506e4 Merge "Remove RunBackupReceiver" 2020-01-17 12:45:45 +00:00
Adrian Roos
b8cb533fa7 Merge "API: Supress existing inconsistent Context service names" 2020-01-17 12:45:08 +00:00
Al Sutton
cd2ed27f7f Add first order deps to test build file
We should have our first order dependencies specified in our build
file to help aidegen ensure that any generated IDE files aren't
missing crucial dependencies.

In this case adding mockito and truth allows IntelliJ to show the
verify(...) and assertThat(....) calls are valid and not leave them
as red-underlined undefinied calls.

Test: aidegen frameworks/base/services/robotests/backup/
Change-Id: Iea347c623dc0bbe5740d6129e710b4757c87d781
2020-01-17 12:31:02 +00:00
TreeHugger Robot
16a6ec7e26 Merge "Add device policy API to toggle Common Criteria mode" 2020-01-17 12:22:54 +00:00
Kyunglyul Hyun
c6583833d4 Revert "Revert "MediaRouter: add routing controller in MRM""
This reverts commit 7d720f70be.

Reason for revert: Fixed the build issue

Test: atest mediaroutertest

Change-Id: I6cae922d701640a1f43965041c653bd7a61411cb
2020-01-17 20:48:57 +09:00
Omer Nebil Yaveroglu
35e8f367b3 Put size limits on the number of rules that can be
pushed through a verifier.

Bug: 147865065
Test: atest FrameworksServicesTests:RuleBinarySerializerTest
Change-Id: I7767fe9bc18761988b8ef19578d491183904984b
2020-01-17 11:28:42 +00:00
Adrian Roos
d38f509e90 API: Supress existing inconsistent Context service names
Test: make checkapi
Change-Id: I1f140dc172a405fed52f0f8d6c16f2f730ab89be
2020-01-17 12:21:59 +01:00
Robert Horvath
c467ff4f51 Merge "Initialize HDMI PowerStatus to standby" 2020-01-17 11:13:53 +00:00
Robert Horvath
28d29b36a5 Merge "Go to sleep on boot when booting in quiescent mode" 2020-01-17 11:13:53 +00:00
Orion Hodson
1572fbe6cf Merge "Revert "MediaRouter: add routing controller in MRM"" 2020-01-17 11:10:26 +00:00
Kyunglyul Hyun
7d720f70be Revert "MediaRouter: add routing controller in MRM"
This reverts commit b3dacf3d56.

Reason for revert: Build Fail (ab/6143227)

Change-Id: I456d1ffe4a9760e65f91c37cd67bb9e9daabcc8e
2020-01-17 11:03:28 +00:00
Automerger Merge Worker
aa6e958606 [automerger skipped] DO NOT MERGE Fix AppOpsServiceTest am: 05024a1523 -s ours am: 3a8e32d878 -s ours
am skip reason: subject contains skip directive

Change-Id: I6a452a14bec588a52ba7983be2fd897a23a21b53
2020-01-17 10:59:28 +00:00
Automerger Merge Worker
3a8e32d878 [automerger skipped] DO NOT MERGE Fix AppOpsServiceTest am: 05024a1523 -s ours
am skip reason: Change-Id Ie816e0c6c81ecf25d37f05187591ca0d1edf0bc2 with SHA-1 c03b32c406 is in history

Change-Id: Ieff7e7e29c8a6dabb7a1dc0ddbd0d88d2f3613fc
2020-01-17 10:50:52 +00:00
Rubin Xu
41bdd9713d Add device policy API to toggle Common Criteria mode
Common Criteria mode puts device into a state where certain
funtionalities are tuned or turned on to meet the higher security
requirement from Common Criteria certification. Device Owner
can use the new device policy API to toggle Common Criteria mode.

Bug: 137937540
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest SettingsProviderTest
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testCommonCriteriaMode
Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testCommonCriteriaMode
Change-Id: If07c053437e980ed3317d3838cc74e5bfd44efce
2020-01-17 10:20:21 +00:00
Kyunglyul Hyun
38e8482f6f Merge "MediaRouter: add routing controller in MRM" 2020-01-17 09:43:24 +00:00
Hyundo Moon
dda8cdd510 Merge "MediaRouter2: Add OnCreateSessionListener" 2020-01-17 09:36:07 +00:00
TreeHugger Robot
42b4cba128 Merge "Fix sizes of audio recording indicator" 2020-01-17 09:11:05 +00:00
Joanne Chung
b0dbf96728 Merge "TextLinks API updates." 2020-01-17 09:06:52 +00:00
Goven Liu
9863ff1fe9 Merge "[Wi-Fi] Refactor add wifi networks feature to use WifiNetworkSuggestion." 2020-01-17 08:14:52 +00:00
Rhed Jao
18dcc695de Merge "Fix a11y shortcut failed to be disabled by the warning dialog." 2020-01-17 08:11:56 +00:00
Ryan Lin
be69a3b62f Merge "Added an interface between Sysui and system_server" 2020-01-17 07:40:04 +00:00
Kyunglyul Hyun
b3dacf3d56 MediaRouter: add routing controller in MRM
This CL introduces RoutingController into MediaRouter2Manager
to enable it to control remote routing sessions.

Tests are also revised according to MRM changes.

Bug: 147787194
Test: atest mediaroutertest

Change-Id: Id4ab61fcb690fccac42df049e1fb74d89bcf3d6a
2020-01-17 15:52:00 +09:00
Siddhartha Chhabra
4b01b414c6 Merge "Added query and SearchResults." 2020-01-17 06:37:37 +00:00
govenliu
041217c980 [Wi-Fi] Refactor add wifi networks feature to use WifiNetworkSuggestion.
WifiConfiguration used in the feature of add apps Wi-Fi networks was deprecated, need to be changed to use WifiNetworkSuggestion instead.

Bug: 136472483
Test: just add action, test case will be in Settings App side.
Change-Id: Ia1e4ab88dd70f951ff4e9115b1e373a9886ab565
2020-01-17 14:25:31 +08:00
Hyundo Moon
84e027d63b MediaRouter2: Add OnCreateSessionListener
Bug: 147851996
Test: atest mediaroutertest
Change-Id: If754b5b70123382900c2582c3f126da204488145
2020-01-17 15:06:50 +09:00
Chalard Jean
fb342fcf55 Merge "Make NetworkCapabilities authoritative for suspended state" 2020-01-17 05:08:11 +00:00
TreeHugger Robot
64259a3b43 Merge "Simplify the activity lifecycle from START to STOP" 2020-01-17 05:03:28 +00:00
Andrii Kulian
2b3b20c388 Merge changes from topic "app_config_compat"
* changes:
  Update resource config for default display
  Override process config to match activity config
  Set parent for WindowProcessController
2020-01-17 04:56:41 +00:00
Steven Thomas
777401766b Merge "Make setActiveConfig() private, remove plumbing" 2020-01-17 04:50:19 +00:00
Minche Li
a27e7a133f Merge "Update window magnifier UI when onConfigurationChanged. (1/n)" 2020-01-17 04:00:37 +00:00
Automerger Merge Worker
d4a5c9cd25 [automerger skipped] Adding atoms for metrics logging am: 5d8df1f08c am: 2a12d7c446 -s ours
am skip reason: Change-Id Ic502acc8831fe4da0b32a826171d10e9c0f9876d with SHA-1 167c3db934 is in history

Change-Id: I39493ac64ca88d768c8b6a8a0540124d0694ce8c
2020-01-17 03:51:05 +00:00
Nick Chalko
08d8aca488 Update documentation for scan commmands
Move scan type constants to ScanCallback

Test: m framework-all
Change-Id: I59313e9bb7c1d989cbcdfbce672b7289ed7a0268
Bug: 139308734
2020-01-16 19:47:04 -08:00
Automerger Merge Worker
2a12d7c446 Adding atoms for metrics logging am: 5d8df1f08c
Change-Id: I75a3c7c4a5988328daac05e9449bad1552ce41f3
2020-01-17 03:36:02 +00:00
Brad Ebinger
265173dc66 Merge "Properly catch ServiceSpecificException if IMS isn't available" 2020-01-17 03:20:19 +00:00