Commit Graph

615975 Commits

Author SHA1 Message Date
David Su
8814f7f4f2 frameworks/base/wifi: Move migration_samples to non-updatable directory
This is not part of the Wifi module, move it to the non-updatable
directory.

Bug: 176105484
Test: compiles
Change-Id: I38b6eeb6d784cc6e2a87f0161b32be180ade3bdc
2020-12-21 14:50:34 -08:00
David Su
e7cc3ae663 Split updatable/non-updatable Wifi APIs into separate directories
This creates a clearer boundary between what is updatable
(part of the Wifi module) and what is not updatable (outside
the module).

Bug: 176105484
Test: compiles
Change-Id: Ia95e300da9286d79ee57c285c3bfa88ecc98e326
2020-12-21 12:28:29 -08:00
Martijn Coenen
02e160056b Merge "Make releaseSomeActivities() a oneway call." 2020-12-21 19:57:31 +00:00
TreeHugger Robot
c7c4e4a761 Merge "Use new method of getting top layer FBO details from SkCanvas." 2020-12-21 19:45:46 +00:00
Brian Salomon
e788aa4515 Use new method of getting top layer FBO details from SkCanvas.
This avoids having to peer through multiple layers of private Skia
abstractions to get the FBO ID and size.

Also use framework-only SkCanvas method to get top layer bounds.

Test: Presubmit checks will test this change.

Bug: skia:11019

Change-Id: I62095162e80c4837485f0f89bd40372846303309
2020-12-21 18:07:09 +00:00
Collin Fijalkovich
2b5f2d80ad Merge "Revert "Defer FGS notifications from legacy apps by default"" 2020-12-21 16:58:09 +00:00
Suren Baghdasaryan
1ec253eb5d Merge "Add total GPU usage report into dumpsys meminfo output" 2020-12-21 16:23:37 +00:00
Jin Seok Park
18b99c5260 Merge "[Media ML] Copy over ActivityManager#handleIncomingUser" 2020-12-21 14:28:43 +00:00
Eric Laurent
a0334be887 Merge "Audio: use preferred device for strategy for communication route" 2020-12-21 10:57:04 +00:00
Anna Zappone
27e15dfd38 Merge "Add birthdays to People Space tiles" 2020-12-21 10:34:15 +00:00
Riddle Hsu
9c209b7349 Merge "Revert "Do not add display area features for untrusted display"" 2020-12-21 08:46:51 +00:00
TreeHugger Robot
69f35b55c2 Merge "Migrate ApkAssets to use NativeAllocationRegistry" 2020-12-21 05:15:37 +00:00
Jeff Sharkey
c6cf559a59 Resolve XML parser used in tests.
We recently pivoted the default XML parser to write a new binary
XML schema, which requires all users to "resolve" to determine the
correct parser.

Bug: 176037390
Test: atest WmTests:DisplayWindowSettingsProviderTests
Change-Id: I2077821f6812a33ff92c97f481b38d01c4ef7ae0
2020-12-20 19:27:07 -07:00
Wei Sheng Shih
612dbde32a Merge "Mirror TaskSnapshotSurface to WMShell(2/N)" 2020-12-21 01:39:04 +00:00
Jeff Sharkey
ea470d5ca8 Merge changes from topic "dec16"
* changes:
  Enable binary XML by default.
  Prepare for binary XML pivot.
  Migrate SettingsProvider to support typed XML.
2020-12-20 18:22:30 +00:00
Nataniel Borges
22d3663b0f Merge "Add test transition ExitSplitScreenFromBottomTest" 2020-12-20 08:46:02 +00:00
Nataniel Borges
6c1663167c Merge "Ignore letterbox in two tests" 2020-12-20 08:44:14 +00:00
Bill Lin
5e1d3dd1be Merge "2/ Clear all recents tasks before running legacysplitscreen tests" 2020-12-19 13:59:34 +00:00
TreeHugger Robot
026102b5c8 Merge "Add SystemBatteryConsumer for the Bluetooth drain type" 2020-12-19 07:36:44 +00:00
Dmitri Plotnikov
8677b4eb5b Add SystemBatteryConsumer for the Bluetooth drain type
Bug: 175644968
Test: mp :BatteryStatsViewer && adb shell am start -n com.android.frameworks.core.batterystatsviewer/.BatteryStatsViewerActivity

Change-Id: I2adde65a63faf18f0120f281ab1fcd5373f25091
2020-12-18 18:10:00 -08:00
TreeHugger Robot
36ca6d3452 Merge "Revert "Use eBPF-based time-in-state monitoring for groups of threads"" 2020-12-18 21:43:43 +00:00
TreeHugger Robot
ada970f473 Merge "Expose enableFullTracking API to public" 2020-12-18 18:28:53 +00:00
Daniel Chapin
2df72fb044 Revert "Do not add display area features for untrusted display"
This reverts commit b87dc233af.

Reason for revert: Regression in SC, tracked in Bug: 175668832

Change-Id: I13387ae4aa89ba4b5d409afd3c5eb78e473a8064
2020-12-18 17:25:33 +00:00
Anna Zappone
9daebe0748 Add birthdays to People Space tiles
Birthdays only appear if no notification content is currently present.
They are removed as a status once no longer returned from the Contacts
DB, meaning if removed from the Contacts DB or if queried the day after
the birthday.

Test: in-progress
Change-Id: I35a6a5e5644de281220b7af7c2779e06f0233c47
2020-12-18 16:51:00 +00:00
Eric Laurent
c78b49af77 Audio: use preferred device for strategy for communication route
Replaced use of forced usage for communication by set preferred device
for strategy to control communication route in audio policy manager.

Also do not use forced usage for record which was redundant with forced
usage for communication.

Bug: 161358428
Test: audio smoke tests

Change-Id: I665257fc5903b663096104b0424781d9799635a5
2020-12-18 16:20:16 +00:00
Eric Laurent
202c7f6472 Merge "AudioManager: Add communication device management APIs" 2020-12-18 16:19:42 +00:00
Galia Peycheva
ffb1e69a6e Merge "Move background blur to Dim layer" 2020-12-18 13:20:57 +00:00
TreeHugger Robot
c103f31eef Merge "Handle process death viz deferred FGS notification" 2020-12-18 11:52:43 +00:00
TreeHugger Robot
f1e5409528 Merge "Pass monitor pid to InputDispatcher" 2020-12-18 11:21:44 +00:00
Antonella Dellanzo
3bc2c00a53 Ignore letterbox in two tests
Two tests in EnterLegacySplitScreen were failing from time to time with letter box layer not showing 2+ times. We are ignoring it also in the assertions and refactoring the assertion to only ignore the app layers used in each corresponding case instead of ignoring all of them.

Test: atest WMShellFlickerTests
Bug: b/171049797
Change-Id: I6212f833c790fb0fa002cae2f7a3efc688168578
2020-12-18 11:23:48 +01:00
Antonella Dellanzo
fbcf6e3253 Add test transition ExitSplitScreenFromBottomTest
Add a new test (only the transition) called ExitSplitScreenFromBottomTest. This test will open an app in splitscreen and then it will exit the split screen by moving the divider to the bottom (similar to SplitScreenToLauncherTest that moves it to the top).

Test: atest WMShellFlickerTests
Bug: b/171049505
Change-Id: I42feb423d346829f829404db13590e70bed16f21
2020-12-18 10:07:12 +00:00
Jason Chang
03bc8d502e Merge "Fix swipe for notification default should be on instead of off" 2020-12-18 09:29:06 +00:00
TreeHugger Robot
17116c1049 Merge "Fix incorrect assertion in StorageUserConnection" 2020-12-18 09:03:02 +00:00
TreeHugger Robot
038758641b Merge "Use allowlist in permission internally." 2020-12-18 07:46:01 +00:00
TreeHugger Robot
d80601a0a5 Merge "For managed profiles, use the parent user's default launcher" 2020-12-18 07:32:54 +00:00
Bill Lin
21cfe8bb58 2/ Clear all recents tasks before running legacysplitscreen tests
Sometimes previous launched activity will affect the order of
current test activity in recents and cause the flicker test flaky.
Trigger openQuickStepAndClearRecentAppsFromOverview() in setup()
to ensure overview/recents is clear before the tests

Bug: 175728979
Test: atest com.android.wm.shell.flicker.legacysplitscreen
Change-Id: I6a6aae362617bb7948473aaafaab8f2c3eec0bc1
2020-12-18 15:32:26 +08:00
TreeHugger Robot
b69feaff0a Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-18 07:03:06 +00:00
Kohsuke Yatoh
7bcdf29c37 Merge "Add RESULT_ATTR_DONT_SHOW_UI_FOR_SUGGESTIONS." 2020-12-18 04:15:37 +00:00
Kyunglyul Hyun
d7282857d8 Merge "Inject MediaRouter2Manager in MediaOutputController" 2020-12-18 03:54:38 +00:00
Jason Chang
347bb37fae Merge "Fix screen should not automatically leave one-handed mode when the TalkBack user is exploring" 2020-12-18 03:47:54 +00:00
Hongwei Wang
72ced07393 Merge "Provide vsync id for PiP animation" 2020-12-18 03:13:30 +00:00
Hai Zhang
226c6ccb96 Use allowlist in permission internally.
Now that our new APIs are named properly, clean up our naming
internally as well.

Bug: 158736025
Test: presubmit
Change-Id: If70f8b012dec2d4f80e7fa1d36c47f6fbe370e81
2020-12-17 19:13:24 -08:00
Mehdi Alizadeh
22b8052304 For managed profiles, use the parent user's default launcher
The default launcher for managed users is always the same as their
parent user.

Bug: 173643120
Test: atest com.android.server.pm.ShortcutManagerTest1
            com.android.server.pm.ShortcutManagerTest2
            com.android.server.pm.ShortcutManagerTest3
            com.android.server.pm.ShortcutManagerTest4
            com.android.server.pm.ShortcutManagerTest5
            com.android.server.pm.ShortcutManagerTest6
            com.android.server.pm.ShortcutManagerTest7
            com.android.server.pm.ShortcutManagerTest8
            com.android.server.pm.ShortcutManagerTest9
            com.android.server.pm.ShortcutManagerTest10
            com.android.server.pm.ShortcutManagerTest11
      atest CtsShortcutHostTestCases CtsShortcutManagerTestCases
Change-Id: I30ff608a6ada26006dc1e3d20ee6019751da0518
2020-12-17 18:41:11 -08:00
TreeHugger Robot
df6b6a2858 Merge "Fourth batch of permission in-process API refactoring." 2020-12-18 02:09:58 +00:00
Collin Fijalkovich
33de1a2d4c Revert "Defer FGS notifications from legacy apps by default"
This reverts commit 871b04e2b5.

Reason for revert: b/175764941

Change-Id: I947413b0047edbc69a4426986a45deb56120bad7
2020-12-18 02:04:54 +00:00
Suren Baghdasaryan
e4e515e2b4 Add total GPU usage report into dumpsys meminfo output
With latest kernel changes, total GPU memory usage is reported and can
be obtained via a BPF program. Create JNI interface to query it and
report inside dumpsys meminfo output.

Bug: 171261987
Test: dumpsys meminfo
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I949a13836d5b5bc87fc43f60871b4fbf2add6480
2020-12-18 01:25:47 +00:00
Vishnu Nair
81585a2419 Merge "Revert^4 Flip BLAST for SurfaceView" 2020-12-18 01:02:49 +00:00
Yan Zhu
b8f65bff60 Merge "New DevicePolicyManager operation: WIPE_DATA, LOGOUT_USER, SET_USER_RESTRICTION" 2020-12-17 23:59:52 +00:00
TreeHugger Robot
185e714170 Merge "Allow EJs to set storage-not-low constraint." 2020-12-17 23:12:07 +00:00
Darryl Johnson
c9e9058347 Revert "Use eBPF-based time-in-state monitoring for groups of threads"
This reverts commit a7b599b824.

Reason for revert: Possible cause of b/175685062

Change-Id: If9a4592fa1c8e4c97ae187e45b509c3753d2f47e
2020-12-17 14:48:39 -08:00