Hans Boehm
292276b6ff
Merge "Don't fork USAPs with open argument buffer" am: 6c61c65f19 am: 7644e0c5b7 am: 12a29502e8 am: b991befbe0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1651247
Change-Id: I3ee71786f7bfa9972164082da454c72217579540
2021-04-20 00:41:35 +00:00
Steven Moreland
25d1bd3dfe
Merge "reflect libbinder->libpermission: appops" into sc-dev am: 8728d85d15
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14237374
Change-Id: Ia757080c755a312353d3a3ce7ca4690fdd388750
2021-04-20 00:38:35 +00:00
Hans Boehm
b991befbe0
Merge "Don't fork USAPs with open argument buffer" am: 6c61c65f19 am: 7644e0c5b7 am: 12a29502e8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1651247
Change-Id: I35ddf8d53ab187e6b62633646cef4956266a9695
2021-04-20 00:35:49 +00:00
Steven Moreland
8728d85d15
Merge "reflect libbinder->libpermission: appops" into sc-dev
2021-04-20 00:24:08 +00:00
Steven Moreland
3c8c536978
reflect libbinder->libpermission: appops
...
Since libbinder is used in many places, lightening it up (vtables in
these classes contribute to private dirty memory).
Bug: 183654927
Test: boot
Change-Id: I73328013bfb701257eb88339f7da2cb92db6809e
2021-04-19 23:39:51 +00:00
Hans Boehm
12a29502e8
Merge "Don't fork USAPs with open argument buffer" am: 6c61c65f19 am: 7644e0c5b7
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1651247
Change-Id: I3d26e93f5a85943f6d3cf2371d1079213c36089d
2021-04-19 23:27:29 +00:00
Hans Boehm
6c61c65f19
Merge "Don't fork USAPs with open argument buffer"
2021-04-19 22:33:21 +00:00
Daniel Chapin
02f317c2b8
Merge "Revert "Add icon for "Extra dim" used in accessibility shortcut"" into sc-dev am: 1aa87efd66
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14233208
Change-Id: Ie21674f1b50e965f11ec48c4d78809cca1985ab0
2021-04-19 21:21:29 +00:00
Daniel Chapin
1aa87efd66
Merge "Revert "Add icon for "Extra dim" used in accessibility shortcut"" into sc-dev
2021-04-19 20:49:26 +00:00
Steven Moreland
a3e142fe3b
Merge "reflect libbinder->libpermission: appops" am: 12d2d7fd9c am: 66f91640b9
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1674207
Change-Id: I1ba2b9d6d8d9ce5fbdbc4b28c82ccdb76cd38875
2021-04-19 19:15:01 +00:00
Dmitri Plotnikov
46c8ad08ba
Merge "Use BatteryStats instead of BatteryStatsImpl in BatteryUsageStatsProvider" into sc-dev am: d215e29f75
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14192792
Change-Id: Icefda779ab2d29f24b3146bcc3a56b9ef51875f0
2021-04-19 18:50:57 +00:00
Hans Boehm
fab68e1481
Don't fork USAPs with open argument buffer
...
Delay execution of any zygote command that may end up forking USAPs
until we've released our own ZygoteCommandBuffer. Otherwise we fork
the child with an open ZygoteCommandBuffer, preventing it from
opening its own.
Bug: 182084594
Test: Build and boot AOSP, with USAPs enabled and disabled.
Change-Id: I2366367d2155a120092fbdcae13cbb3d7f4e1d16
2021-04-19 11:42:15 -07:00
Daniel Chapin
56a7a55e65
Revert "Add icon for "Extra dim" used in accessibility shortcut"
...
This reverts commit e9f44933ac .
Reason for revert: Bug: 185737105
Change-Id: I7978fb859451a47182bf7a2147a50254731bfc2d
2021-04-19 18:39:17 +00:00
Dmitri Plotnikov
d215e29f75
Merge "Use BatteryStats instead of BatteryStatsImpl in BatteryUsageStatsProvider" into sc-dev
2021-04-19 18:09:31 +00:00
Steven Moreland
12d2d7fd9c
Merge "reflect libbinder->libpermission: appops"
2021-04-19 17:20:21 +00:00
Siim Sammul
18ca8911eb
Merge "Add buckets params to the binder latency atom" into sc-dev am: eebade3ca5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14201550
Change-Id: Ib40c880acc73b8258ad1358df66e8d8f9b3a94b9
2021-04-19 10:32:12 +00:00
Siim Sammul
eebade3ca5
Merge "Add buckets params to the binder latency atom" into sc-dev
2021-04-19 10:26:40 +00:00
Siim Sammul
cceed4f3dc
Add buckets params to the binder latency atom
...
Original change: gerrit/14019215
Test: n/a - no functionality change
Bug: 180584913
Change-Id: I20d8f5632f76774cad64af30a6aa1f1ab172152f
2021-04-19 10:25:36 +00:00
Jason Hsu
b607aed332
Merge "Add icon for "Extra dim" used in accessibility shortcut" into sc-dev am: 37e451745a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14186628
Change-Id: Ia4ef524be84fc769330774312a1452e6c1ee7667
2021-04-17 17:06:13 +00:00
Jason Hsu
37e451745a
Merge "Add icon for "Extra dim" used in accessibility shortcut" into sc-dev
2021-04-17 16:49:47 +00:00
Matt Casey
89747fc214
Merge changes Ie275f5c3,I1cab53a6 into sc-dev am: 21c4c71b2a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14213766
Change-Id: I5a618fcd3a1df2cb2207b4c0b4e0f17c7beb5401
2021-04-17 02:46:47 +00:00
Matt Casey
21c4c71b2a
Merge changes Ie275f5c3,I1cab53a6 into sc-dev
...
* changes:
Move RecyclerView scroll capture to the center
Move scroll capture back to ScreenshotController.
2021-04-17 02:23:28 +00:00
Dmitri Plotnikov
a5163de7af
Use BatteryStats instead of BatteryStatsImpl in BatteryUsageStatsProvider
...
This is being done in preparation for a switch of BatteryStats.dumpLocked
from BatteryStatsHelper to BatteryUsageStats
Bug: 162380414
Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsTests
Change-Id: Ia8bf02116517c77f008b85c2012f68353b39c044
2021-04-16 17:47:04 -07:00
Siddika Parlak Polatkan
5f8000053e
Merge "Add sensor detection latency to LatencyTracker" into sc-dev am: d560996d0f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14179253
Change-Id: I9f20d43518062b8dd57b8157af2106ccd2eb4efa
2021-04-17 00:39:23 +00:00
Siddika Parlak Polatkan
d560996d0f
Merge "Add sensor detection latency to LatencyTracker" into sc-dev
2021-04-17 00:19:38 +00:00
Matt Casey
74f9861490
Move RecyclerView scroll capture to the center
...
Avoid most floating content by centering the requested content within
the view instead of just scrolling so that it's visible.
Bug: 174571735
Test: atest RecyclerViewCaptureHelperTest, plus manual testing across
major apps.
Change-Id: Ie275f5c37998a9d88e5ccde7af043443cbc4d94c
2021-04-16 15:01:45 -04:00
TreeHugger Robot
e968dc5590
Merge "Rename IInputMethodManager#reportPerceptible" into sc-dev am: c9eaa3d80f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14182409
Change-Id: If52415d8c9cad6502a58eb9e1633d247458118f8
2021-04-16 05:35:58 +00:00
TreeHugger Robot
c9eaa3d80f
Merge "Rename IInputMethodManager#reportPerceptible" into sc-dev
2021-04-16 05:14:30 +00:00
Wilson Wu
2ccf9c8dbd
Merge "Make IInputMethodPrivilegedOperations to async (2/N)" into sc-dev am: 40055cde56
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14198727
Change-Id: I66779685937c62903b799811e2df61692c9e2f89
2021-04-16 03:15:30 +00:00
Treehugger Robot
bf415409e8
Merge "[Telephoy] Add phone Id to support DSDS" am: 40fa3f58b2 am: 36fb168817
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676437
Change-Id: Ia0c72bde710182dbd9e5e99c3ad5f309147a0353
2021-04-16 03:03:44 +00:00
Wilson Wu
40055cde56
Merge "Make IInputMethodPrivilegedOperations to async (2/N)" into sc-dev
2021-04-16 02:58:16 +00:00
TreeHugger Robot
85c56ede4c
Merge "[Telephoy] Add phone Id to support DSDS" into sc-dev am: 6728857aaf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14186084
Change-Id: Icae3b11ee9419bd3f7ac1213bf54b4b8f287e42f
2021-04-15 20:52:19 +00:00
TreeHugger Robot
6728857aaf
Merge "[Telephoy] Add phone Id to support DSDS" into sc-dev
2021-04-15 19:55:10 +00:00
Mark Renouf
a7925f9c6d
Merge changes I3a11ac86,I84e0b1fd into sc-dev am: d389165bd6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14200262
Change-Id: If7b233755abfac3cc7c80fb1556b30b48ef0075e
2021-04-15 19:46:02 +00:00
Mark Renouf
41f4544e59
Scroll Capture: Add configurable post-scroll capture delay
...
Default 60ms after next animation pulse, configurable with:
adb shell settings put global screenshot.scroll_capture_delay ##
Bug: 173700533
Test: manual - long screenshot Play Store/Google Photos
observe that images are fully visible when captured
Change-Id: I84e0b1fd6b94d3ff7177fa00166da40b30f311cf
2021-04-15 13:31:39 -04:00
Jeff Sharkey
2ede256357
Merge changes from topic "apr10" into sc-dev am: cd5c179783
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14076378
Change-Id: I7101e1ea70944372984b6113aec2fb5524735fe5
2021-04-15 14:05:16 +00:00
Zoey Chen
30ad4bf90a
[Telephoy] Add phone Id to support DSDS
...
Bug: 185451283
Test: atest TelephonyRegistryTest
Change-Id: Ia09d0979bda94470f0c41cff9349c74d06ecc003
Merged-In: I6bf2285e37366ca517a3ea16194a203371e44964
2021-04-15 11:11:11 +00:00
Wilson Wu
738468ba17
Make IInputMethodPrivilegedOperations to async (2/N)
...
-. Remove VoidResultCallback of reportStartInput
and let it be truly asynchronous.
-. Rename this method to reportStartInputAsync.
Bug: 183587528
Test: atest CtsInputMethodTestCases
Change-Id: Ic8e7f888f78f7c536a9228db02a8b355555d7220
2021-04-15 19:02:53 +08:00
jasonwshsu
e9f44933ac
Add icon for "Extra dim" used in accessibility shortcut
...
* foreground icon: 18 * 18
* background icon: 32 * 32 with color Google Gray 700
Fix: 184081577
Bug: 170973645
Test: manual test
Change-Id: Iedb919fef39f293988da757d3b654f904fc81ba0
2021-04-15 10:09:12 +00:00
Zoey Chen
1835f13c4e
[Telephoy] Add phone Id to support DSDS
...
Bug: 185451283
Test: atest TelephonyRegistryTest
Change-Id: I6bf2285e37366ca517a3ea16194a203371e44964
2021-04-15 17:45:27 +08:00
Siddika Parlak Polatkan
9745794e85
Add sensor detection latency to LatencyTracker
...
Test: m and load on Redfin
Bug: 179267912
Change-Id: I8d3c52f7e232f4ffc11f4381147bb859bf465d54
2021-04-15 08:02:03 +00:00
Jeff Sharkey
4acdb1beff
Update Bluetooth API annotations.
...
Recent work has introduced a new "Nearby devices" runtime permission
which protects all existing Bluetooth APIs; we've done this by
defining a <split-permission> to convert the old BLUETOOTH and
BLUETOOTH_ADMIN permissions into one of three new permissions:
* BLUETOOTH_ADVERTISE: Required to be able to advertise to nearby
Bluetooth devices.
* BLUETOOTH_CONNECT: Allows applications to connect to paired
bluetooth devices.
* BLUETOOTH_SCAN: Required to be able to discover and pair
nearby Bluetooth devices.
At its core, this change begins updating the Bluetooth APIs to have
correct @RequiresPermission indicating which permission is actually
enforced internally. To ensure alignment across Binder, the newly
added "RequiresPermissionChecker" Error Prone checker was used to
discover any inconsistencies, ensuring correctness from server-side
enforcement up through to the public APIs.
In addition, since developers will continue building apps for both
modern and legacy platforms, this change introduces new auto-doc
annotations which will emit helpful consistent documentation
describing the behavior of older devices that are still using the
old permission model.
Bug: 183626724
Test: ./build/soong/soong_ui.bash --make-mode Bluetooth RUN_ERROR_PRONE=true
Change-Id: I02aa127e8e07f239561f4f2a3bbdfc6fccb82f7f
2021-04-14 21:13:24 -06:00
Dmitri Plotnikov
cb4178b772
Merge "Fix NullPointerException in BatteryUsageStats" into sc-dev am: 8017f4ed5e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14179252
Change-Id: I86d79adb20c4747763bcf6fc8158cd42088d5651
2021-04-14 19:15:18 +00:00
Julia Reynolds
9accf5eb9b
Merge "Update the notif expand button so it can be shared" into sc-dev am: 706bd974d1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14188012
Change-Id: I00c732e7120f0dda1c21a61a197cb916e67949b1
2021-04-14 19:15:02 +00:00
Dmitri Plotnikov
8017f4ed5e
Merge "Fix NullPointerException in BatteryUsageStats" into sc-dev
2021-04-14 19:10:36 +00:00
Julia Reynolds
706bd974d1
Merge "Update the notif expand button so it can be shared" into sc-dev
2021-04-14 19:06:34 +00:00
Dmitri Plotnikov
9f96d34f54
Merge "Remove POWER_COMPONENT_USAGE and TIME_COMPONENT_USAGE" into sc-dev am: 864454912a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14078197
Change-Id: I2554208cde4f42d1e8c8732296e9d584d42679c4
2021-04-14 18:04:56 +00:00
Dmitri Plotnikov
864454912a
Merge "Remove POWER_COMPONENT_USAGE and TIME_COMPONENT_USAGE" into sc-dev
2021-04-14 17:50:25 +00:00
Siim Sammul
8a04f3a9ba
Merge "Push the latency histograms to statsd" into sc-dev
2021-04-14 17:20:19 +00:00
Yohei Yukawa
e3a4a27c7e
Merge "Make removeImeSurfaceFromWindow to one-way" into sc-dev am: 3b99155905
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14174202
Change-Id: Id0cfa659bf4b1f05f65a301ea0c9d23370e3f5ed
2021-04-14 17:17:45 +00:00