Commit Graph

473952 Commits

Author SHA1 Message Date
Brad Ebinger
aa709348ee Merge "Add new @hide API to pass call direction changes through Telecom" into rvc-dev 2020-04-09 16:43:45 +00:00
Nikita Ioffe
e9ed63aa92 Merge "Introduce static @hide PowerManager.isRebootingUserspaceSupportedImpl()" into rvc-dev 2020-04-09 16:39:54 +00:00
Nathan Harold
ae87a963b8 Merge "Add warning about TelephonyManager Reliability" into rvc-dev 2020-04-09 16:38:41 +00:00
Lucas Dupin
34d2844601 Merge "Calculate spacers properly" into rvc-dev 2020-04-09 16:29:59 +00:00
TreeHugger Robot
7cbba76be9 Merge "Controls UI - Add 'reset' option for seeding" into rvc-dev 2020-04-09 16:27:07 +00:00
TreeHugger Robot
9f990dedb3 Merge "Add an API to set layer trace flags" into rvc-dev 2020-04-09 16:26:21 +00:00
Evan Laird
2214685d42 Merge "Track NotificationEntry creation time" into rvc-dev 2020-04-09 16:08:47 +00:00
Yuncheol Heo
8ecd6a377b Merge "Move multi window mode to the caller." into rvc-dev 2020-04-09 16:06:01 +00:00
TreeHugger Robot
1f1b416da9 Merge "ApexManager: Allow blocking Binder calls" into rvc-dev 2020-04-09 15:20:04 +00:00
Matt Pietal
cd757c894c Controls UI - Add 'reset' option for seeding
Enable for testing controls seeding. Make sure subscriptions are
cleaned up properly. Up the seeding limit to 6. If we received our
requested control limit on load, cancel() the subscription and
immediately load.

Bug: 153455870
Test: manual, use 'Reset' button to test seeding process

Change-Id: I536315de423c49231e77c0b1b24ad20883ddaae7
2020-04-09 09:58:34 -04:00
Nikita Ioffe
57300d9057 Introduce static @hide PowerManager.isRebootingUserspaceSupportedImpl()
This method consolidates logic of testing whenever rebooting userspace
is supported in a place that can be used both from
PowerMager.isRebootingUserspaceSupported() API and from
PowerManagerService.reboot() implementation.

Consequently, this makes `adb shell svc power reboot userspace` also
benefit from that check, and fail userspace reboot on devices that don't
support it.

Also tweaked logic of ignoring RemoteException to take into account
userspace reboot.

Test: adb root
Test: adb shell setprop init.userspace_reboot.is_supported 0
Test: adb shell svc power reboot userspace & verified error message
Test: adb shell setprop init.userspace_reboot.is_supported 1
Test: adb shell svc power reboot userspace & verified no error message
Test: atest PowerManagerTest
Test: atest CtsUserspaceRebootHostSideTestCases
Bug: 152803929
Change-Id: I2d3a8e0ae1320c408a838c5c5fdf4cd977b167b3
2020-04-09 14:07:22 +01:00
TreeHugger Robot
0131d50188 Merge "Upgrade case for setAutoTimeRequired" into rvc-dev 2020-04-09 13:06:11 +00:00
TreeHugger Robot
bc98d3edb0 Merge "Enhance exception message on SQLiteCantOpenDatabaseException" into rvc-dev 2020-04-09 12:54:52 +00:00
Andrei-Valentin Onea
1775d16adb Merge "Add method to greylist" into rvc-dev 2020-04-09 11:17:11 +00:00
Alex Johnston
9876c4f899 Upgrade case for setAutoTimeRequired
* Modified setAutoTimeRequired to call
  pushUserRestrictions after requireAutoTime
  in the active admin is set.
* Modified addSyntheticRestrictions in the
  active admin to include the auto time
  required case.

Bug: 145604635
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
      atest com.android.server.devicepolicy.DevicePolicyManagerServiceMigrationTest
Change-Id: Ida4952eeec8ec12573c4049a9bf8e0ce6a951a86
2020-04-09 11:57:49 +01:00
TreeHugger Robot
767e63f5f5 Merge "Add metric constants for cross profile settings page" into rvc-dev 2020-04-09 10:52:11 +00:00
Anton Hansson
943e973546 Merge "Don't specify sdk_version for stubs" into rvc-dev 2020-04-09 10:46:49 +00:00
Adrian Roos
3d670ae046 Merge "Insets: Fix DecorView consuming of insets" into rvc-dev 2020-04-09 08:17:01 +00:00
Hyunyoung Song
b3a298d4af Merge "Flatten LauncherUIChanged / Migrate Launcher Workspace snapshot data" into rvc-dev 2020-04-09 08:03:36 +00:00
Charles Chen
5c082c998f Merge "Fix WindowContext leak" into rvc-dev 2020-04-09 07:39:29 +00:00
Anton Hansson
ae47be49fd Merge "Don't specify sdk_version for stubs" into rvc-dev 2020-04-09 07:32:14 +00:00
Anton Hansson
0793d81bae Merge "Don't specify sdk_version for stubs" into rvc-dev 2020-04-09 07:31:16 +00:00
Yvonne Jiang
eb31eb5bae Merge "Fix secondary lock screen implementation such that DevicePolicyKeyguardService calls are made on the main (UI) thread." into rvc-dev 2020-04-09 07:26:48 +00:00
Paul Hu
305c46de82 Merge "Address aosp/1274403 leftover comment" into rvc-dev 2020-04-09 06:40:31 +00:00
TreeHugger Robot
04d2f143cd Merge "Remove kAtomsWithUidField from atoms_info" into rvc-dev 2020-04-09 05:57:24 +00:00
TreeHugger Robot
aa63edd33f Merge "Fix inverted ANR log message" into rvc-dev 2020-04-09 05:27:42 +00:00
TreeHugger Robot
0350a0c4ec Merge "Use full bounds if fixed aspect ratio does not apply" into rvc-dev 2020-04-09 05:25:53 +00:00
TreeHugger Robot
8de63f171c Merge "Documenting the way LOADER_USAGE_STATS permission work." into rvc-dev 2020-04-09 05:24:34 +00:00
TreeHugger Robot
8213773bc9 Merge "More setStorageParams improvements." into rvc-dev 2020-04-09 05:24:34 +00:00
Heemin Seog
d307dceba5 Merge "Generalize notifications logic into a subclass of OverlayViewController" into rvc-dev 2020-04-09 05:17:54 +00:00
Hyunyoung Song
0ff10a4a4a Flatten LauncherUIChanged / Migrate Launcher Workspace snapshot data
Bug: 137777105
Bug: 144953948

Test: builds

Change-Id: I55b5e952cdd2579cae1ec85b6f90949c8ccd40f8
2020-04-08 22:03:08 -07:00
Vishnu Nair
9eb672e5a9 Add an API to set layer trace flags
This will be used by FlickerTests to capture composition state
in SurfaceFlinger trace.

Test: atest FlickerLibTest:LayersTraceMonitorTest
Fixes: 153563549

Change-Id: I3d09196ced43a1b0bac811e8f458c28be4e44992
2020-04-09 04:04:46 +00:00
Alex Buynytskyy
7255a0c0f3 Documenting the way LOADER_USAGE_STATS permission work.
Bug: b/152633648
Test: documentation
Change-Id: Ic15d9bd4631588e65200c008bd720d26437ccccd
2020-04-08 20:25:48 -07:00
Jeff Sharkey
de7f060772 Merge "Offer a NOTIFY_NO_DELAY flag for notifications." into rvc-dev 2020-04-09 03:14:42 +00:00
Alex Buynytskyy
119de1fb2a More setStorageParams improvements.
Using proper AppOp name: loader_usage_stats

Bug: b/152633648
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Test: adb shell appops set 1000 LOADER_USAGE_STATS deny
Change-Id: I199476ce29c81836c5402577ac225450cc5c9c82
2020-04-08 20:07:22 -07:00
TreeHugger Robot
466397c4e9 Merge "wifi(jar-jar): Jar-jar HIDL stubs to a separate namespace" into rvc-dev 2020-04-09 02:33:58 +00:00
TreeHugger Robot
0fcab06f80 Merge "Fix an issue that setMaxSuggestions(-1) throws unexpectedly" into rvc-dev 2020-04-09 02:23:23 +00:00
Paul Hu
bade48b1b7 Address aosp/1274403 leftover comment
Bug: 152828142
Test: atest EntitlementManagerTest

Change-Id: I81f2d268c9f26bc4488b06032477a73d071f73f8
Merged-In: I81f2d268c9f26bc4488b06032477a73d071f73f8
(cherry picked from commit 9fe0a868e9)
2020-04-09 02:13:32 +00:00
Ruchir Rastogi
ffa34f05cf Remove kAtomsWithUidField from atoms_info
Instead of using the map from atoms_info, we now receive uid information
in the form of StatsEvent annotations. The isUid annotation is exposed
from both LogEvent and FieldValue.

Test: bit statsd_test:*
Test: atest GtsStatsdHostTestCases
Bug: 150414601
Change-Id: Iebbe4ce5668de1ab91485daa1be9197cde6e8309
2020-04-08 19:09:33 -07:00
Steven Thomas
288c434f34 Merge "Add acquireFrameRateFlexibilityToken permission comment" into rvc-dev 2020-04-09 01:08:40 +00:00
Heemin Seog
df741ac850 Generalize notifications logic into a subclass of OverlayViewController
Bug: 147826363
Test: manual, atest OverlayPanelViewControllerTest
Change-Id: Ifad23f6ff639390077301eafa737fea8517a48d9
2020-04-08 17:22:00 -07:00
TreeHugger Robot
a23f461e1b Merge "Fix initialization bug in LocationRequest" into rvc-dev 2020-04-09 00:21:02 +00:00
Brad Ebinger
31774ae752 Add new @hide API to pass call direction changes through Telecom
Bug: 153277327
Test: atest TelecomUnitTests
Change-Id: Icad12c4144bf185c24ee80bcbdd1aec29550bf4e
2020-04-08 17:08:10 -07:00
TreeHugger Robot
721bf68ba6 Merge "Fix registering PiP transition calback in PipManager multiple times" into rvc-dev 2020-04-09 00:00:44 +00:00
TreeHugger Robot
58de85c41e Merge "Revert "Fix exception handling in getState() binder cache"" into rvc-dev 2020-04-08 23:58:45 +00:00
Yuncheol Heo
5d62e75560 Move multi window mode to the caller.
Bug: 153576019
Test: Checks if Maps will move into the ActivityView when Home is pressed (in AAOS)
Change-Id: I040bf008a2f41130d6f118f359c9cefffb5acfc4
2020-04-08 16:43:52 -07:00
TreeHugger Robot
ffce5f2b7c Merge "Make OPSTR_MANAGE_EXTERNAL_STORAGE test API" into rvc-dev 2020-04-08 23:21:23 +00:00
Makoto Onuki
a868d701d7 Enhance exception message on SQLiteCantOpenDatabaseException
Bug: 150248286
Test: atest CtsDatabaseTestCases
Change-Id: I39f7a3516dfbe0198b1ef5f68af1265df98c5a0a
2020-04-08 16:19:42 -07:00
Jon Spivack
0d106018db ApexManager: Allow blocking Binder calls
When ApexManager switched from using ServiceManager.getService to using Binder.waitForService to retrieve apexservice, it lost the call to Binder.allowBlocking that was inside getService. Since ApexManager currently makes several synchronous binder calls, this call is needed to avoid Log.wtf()s.

Bug: 153360345
Test: atest ApexManagerTest
Change-Id: I6016477b20754a6dc0f31588bae4e679f08a1ba2
2020-04-08 16:17:28 -07:00
Christine Tsai
5205e14500 Merge "statsd unit test and benchmark refactor" into rvc-dev 2020-04-08 23:09:17 +00:00