Commit Graph

574891 Commits

Author SHA1 Message Date
Dmitri Plotnikov
38daff3ce2 Add binder call stats tracking for individual UID
Test: $ adb shell cmd binder_calls_stats --work-source-uid <UID>
followed by
$ adb shell dumpsys binder_calls_stats
or
$ adb shell dumpsys binder_calls_stats --work-source-uid <UID>

Change-Id: I8e7d8d4b50b4bd068ad13cbdc75bd87b8c25e7a6
2020-08-05 17:33:43 -07:00
Dmitri Plotnikov
1a33ace694 Merge "Implement a PowerCalculator to attribute system service power to apps" 2020-08-05 18:15:16 +00:00
Fabian Kozynski
f13bc4679a Merge "Enforce setCurrentState calls are on main thread" 2020-08-05 17:40:14 +00:00
TreeHugger Robot
08c2662b10 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-08-05 17:09:21 +00:00
Mohammad Samiul Islam
a5bf2d2557 Merge changes from topic "unblock-rollback"
* changes:
  Fail blocking staged session when rollback is committed
  Cleanup how we handle abort of active apex session
2020-08-05 16:55:20 +00:00
Felipe Leme
e02da8f258 Merge "Refactored PackageManager.onNewUserCreated() to handle user pre-creation logic." 2020-08-05 16:54:10 +00:00
Youngjun Kwak
9424749d57 Merge "Fix flaky test in ConnectedDeviceVoiceRecognitionNotifierTest." into rvc-qpr-dev am: 96540963a8 am: 6edd2af4d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12300500

Change-Id: Iaa5099ad1eb2cc4e63332beb93e3e30919719c00
2020-08-05 16:44:18 +00:00
TreeHugger Robot
116f1190ce Merge "Allow multiple tasks to change in one transition" 2020-08-05 16:35:04 +00:00
Mohammad Samiul Islam
8a249b801f Merge "Remove duplicate logic from ModuleTestUtils" 2020-08-05 16:32:22 +00:00
Youngjun Kwak
6edd2af4d3 Merge "Fix flaky test in ConnectedDeviceVoiceRecognitionNotifierTest." into rvc-qpr-dev am: 96540963a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12300500

Change-Id: I86e9bc6bb1a9a746bbc88fb6a9d770cffb2131db
2020-08-05 16:23:00 +00:00
Eric Laurent
69be29ddc4 Merge "AudioService: fix overlapping speakerphone + Bluetooth SCO routing requests" 2020-08-05 16:21:55 +00:00
Bill Yi
bcfc778495 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-08-05 16:21:34 +00:00
Youngjun Kwak
96540963a8 Merge "Fix flaky test in ConnectedDeviceVoiceRecognitionNotifierTest." into rvc-qpr-dev 2020-08-05 16:10:53 +00:00
Jorge Gil
786624e26a Merge "Use last user-resized size when re-entering PIP" 2020-08-05 15:21:46 +00:00
Hongwei Wang
19d897f340 Merge "Migrate PiP logs to UiEvent" 2020-08-05 14:59:58 +00:00
Fabian Kozynski
033a5ef99c Enforce setCurrentState calls are on main thread
These calls need to be done in main thread. Now that it's enforced by
LifecycleRegistry, it should also be enforced here.

Fixes: 162923566
Test: manual
Change-Id: I569123ca240bec24f805ab87dfab25daf3545844
2020-08-05 10:50:35 -04:00
Matt Pietal
31308e2c17 Merge "Controls - Reduce binding priority" into rvc-qpr-dev am: 40a85e2812 am: eb522e3ca8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12316326

Change-Id: Iee5a13881da5bee2f49aa41fc3420cb1bf485496
2020-08-05 14:22:15 +00:00
Matt Pietal
fcc56d9677 Controls UI - Do not throttle drag events am: 4a28e3e8cc am: 351148716a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12316327

Change-Id: I82ce909f302fa96ccc56cd90f0617b138a0722be
2020-08-05 14:21:27 +00:00
Matt Pietal
eb522e3ca8 Merge "Controls - Reduce binding priority" into rvc-qpr-dev am: 40a85e2812
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12316326

Change-Id: Icaf9b2e55b4f15bc407ccf5e5191a6563eddb1ff
2020-08-05 14:06:57 +00:00
Matt Pietal
351148716a Controls UI - Do not throttle drag events am: 4a28e3e8cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12316327

Change-Id: I5edb87dab33a1cac2c817de89d30719e9cf69eb2
2020-08-05 14:06:27 +00:00
Matt Pietal
40a85e2812 Merge "Controls - Reduce binding priority" into rvc-qpr-dev 2020-08-05 13:59:02 +00:00
Lais Andrade
8fc8732db1 Merge "Fix typo on View.verifyDrawable method javadoc" am: efd27a83f5 am: 8b8c8f1004 am: 655eb212ec am: 388881b89a am: 0e81d7ec8e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386078

Change-Id: I3dc67195e436645fc62f875e8b9c3f03c565086b
2020-08-05 13:15:28 +00:00
Fabian Kozynski
5ab28aa810 Merge "Add guts to media player on long press" 2020-08-05 13:12:52 +00:00
Lais Andrade
0e81d7ec8e Merge "Fix typo on View.verifyDrawable method javadoc" am: efd27a83f5 am: 8b8c8f1004 am: 655eb212ec am: 388881b89a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386078

Change-Id: Iad15300f86c480874afc71a291eb698a70c9fd52
2020-08-05 13:05:19 +00:00
Lais Andrade
388881b89a Merge "Fix typo on View.verifyDrawable method javadoc" am: efd27a83f5 am: 8b8c8f1004 am: 655eb212ec
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386078

Change-Id: I73d69dc87da46acf1677d8c53d69f8f798a09fbe
2020-08-05 12:42:26 +00:00
Matt Pietal
4a28e3e8cc Controls UI - Do not throttle drag events
For range controls, many users will want to swipe multiple times in
order to set the desired level. Currently, if the user swipes twice in
fast succession, only the first set point will be sent. Do not block
these swipe events from being sent to the corresponding service.

Fixes: 162850998
Test: manual swipes on range controls
Change-Id: Ib3be25bd362b411b9cd089d49edec7747820d0e7
(cherry picked from commit 05ed2ceec9)
2020-08-05 12:30:39 +00:00
Matt Pietal
72235982a9 Controls - Reduce binding priority
Discussions with framework team led to addition of the
BIND_NOT_PERCEPTIBLE flag, which will help release the service when
the system is under memory pressure.

Fixes: 158771014
Test: manual
Change-Id: I58b25dd23dba88fbd9e5f9e3ad0a052cccd39d21
(cherry picked from commit 9a7bd8477f)
2020-08-05 12:29:57 +00:00
Lais Andrade
655eb212ec Merge "Fix typo on View.verifyDrawable method javadoc" am: efd27a83f5 am: 8b8c8f1004
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386078

Change-Id: Ie8720fc2f94420e5d01b03047aa1579c46f8f203
2020-08-05 12:21:32 +00:00
Lais Andrade
8b8c8f1004 Merge "Fix typo on View.verifyDrawable method javadoc" am: efd27a83f5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386078

Change-Id: I8153c4050fc5de3a1d206d030ebaddb9ff748a7b
2020-08-05 12:08:03 +00:00
Lais Andrade
efd27a83f5 Merge "Fix typo on View.verifyDrawable method javadoc" 2020-08-05 11:52:34 +00:00
Bill Yi
ad8ffe09e2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia639cbbd1229ce6dd1bdbe7816b5fee9a9281f54
2020-08-05 11:36:58 +00:00
Mohammad Samiul Islam
c34b5738f1 Remove duplicate logic from ModuleTestUtils
Bug: 160296318
Test: atest StagedInstallInternalTest
Change-Id: Ia31fc9d5246203da1869cc6d0e6ffcfc8d794080
2020-08-05 11:23:54 +01:00
Marin Shalamanov
8363faef36 Merge "Use type safe display IDs." 2020-08-05 09:33:01 +00:00
Lais Andrade
330b64fc05 Merge "Start using vibrator HAL controller in VibratorService" 2020-08-05 08:46:37 +00:00
Lais Andrade
50ef151f8b Fix typo on View.verifyDrawable method javadoc
Fix: b/157335615
Test: N/A, only changing documentation
Change-Id: I30f869bdaac5fb6b87ea56a4416e619b46565113
2020-08-05 08:20:08 +00:00
Mark Chien
fb9219a5d8 Merge "Allow wifi p2p to use legacy dedicated address" am: 5063505fab am: 08feabb384 am: 3743623e44 am: 26d2720b6f am: f502f83e24
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382398

Change-Id: I3d24b5c68ca741ee3f63bf60623ff7882ea9cc50
2020-08-05 07:35:53 +00:00
Mark Chien
f502f83e24 Merge "Allow wifi p2p to use legacy dedicated address" am: 5063505fab am: 08feabb384 am: 3743623e44 am: 26d2720b6f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382398

Change-Id: Ied938392eedc04e8f96bcb329e78ec6f833db664
2020-08-05 07:11:15 +00:00
Mark Chien
26d2720b6f Merge "Allow wifi p2p to use legacy dedicated address" am: 5063505fab am: 08feabb384 am: 3743623e44
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382398

Change-Id: I209007d8742ac5a331b2b19af164944f38ac36ca
2020-08-05 06:54:40 +00:00
Louis Chang
370e885caf Merge "Update language to comply with Android's inclusive language guidance" 2020-08-05 06:38:07 +00:00
Mark Chien
3743623e44 Merge "Allow wifi p2p to use legacy dedicated address" am: 5063505fab am: 08feabb384
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382398

Change-Id: Ica17499f82135bc96b87ca4071b603bb8cc23053
2020-08-05 06:36:36 +00:00
Mark Chien
08feabb384 Merge "Allow wifi p2p to use legacy dedicated address" am: 5063505fab
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382398

Change-Id: I8977ef203c363d68c1c43ecd70f530a4924f01b9
2020-08-05 06:22:38 +00:00
Siarhei Vishniakou
84347dfa23 Merge "Show ANR dialog for unresponsive gesture monitors" 2020-08-05 06:16:34 +00:00
Mark Chien
5063505fab Merge "Allow wifi p2p to use legacy dedicated address" 2020-08-05 06:01:37 +00:00
Sergey Nikolaienkov
42c87511db Merge "Make javadoc adhere to implementation" 2020-08-05 04:19:42 +00:00
markchien
c09b057fb6 Allow wifi p2p to use legacy dedicated address
Some exsting applications may expect wifi p2p use legacy
"192.168.49.1/24" address. Have a configuration for wifi p2p to
decide whether to use legacy dedicated address or random address.

Bug: 161520826
Test: atest TetheringTests
Change-Id: If79973416a6780ee19ee785c65772b1a2dc1fbf7
2020-08-05 11:03:46 +08:00
Winson Chung
6da89baef8 Merge "Running various lifecycle-related tests on main thread" 2020-08-05 02:44:16 +00:00
Winson Chung
5676d98881 Running various lifecycle-related tests on main thread
- Latest AndroidX drop changes the requirements for observers
  which must be registered on the main thread

Bug: 162884675
Test: atest SystemUITests passes locally
Change-Id: Ib77248bc6d44cc9c8a5d2ad0e5c95feab6a54a01
2020-08-05 02:23:35 +00:00
Rhed Jao
7a6c8ce504 Merge "Fixes magnification settings did not restore" 2020-08-05 02:08:19 +00:00
Louis Chang
f7b0d0e04e Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference.

Bug: 162536543
Test: Treehugger
Change-Id: I6dac60aac172a8fccf4b5671107b41c5c84ccd76
2020-08-05 09:03:47 +08:00
jorgegil@google.com
134e7fc413 Use last user-resized size when re-entering PIP
Bug: 160799929
Test: enter PIP, resize it, restore to fullscreen then re-enter.
The re-entry size should be the same as when exiting.

Change-Id: Idb36b5ec51c2d76b9df5f311518652109fa57b37
2020-08-04 17:40:05 -07:00