Commit Graph

657004 Commits

Author SHA1 Message Date
TreeHugger Robot
62c2c75c41 Merge "Use binder-based iterator to retrieve FRROs" into sc-dev am: 5be998a660
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15302837

Change-Id: Id7539cd4a65344b062631e39679a9f77814f91bf
2021-07-19 22:08:02 +00:00
TreeHugger Robot
5be998a660 Merge "Use binder-based iterator to retrieve FRROs" into sc-dev 2021-07-19 21:55:45 +00:00
Joshua Mccloskey
2caa5cfd09 Merge "Fixed double face auth on swipe" into sc-dev am: 4438cf6799
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15301708

Change-Id: Ie6e8c877b325cd9f3f44ab276041b10c5687e292
2021-07-19 20:13:45 +00:00
Joshua Mccloskey
4438cf6799 Merge "Fixed double face auth on swipe" into sc-dev 2021-07-19 20:00:57 +00:00
TreeHugger Robot
4dadd5d2ca Merge "4/n: Make CoexCoordinator multi-sensor-aware" into sc-dev am: c4815d0f2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15312046

Change-Id: Ia15ef35f5f9dc74673b0d7d88c6780e8a6ef5228
2021-07-19 19:37:33 +00:00
TreeHugger Robot
c4815d0f2d Merge "4/n: Make CoexCoordinator multi-sensor-aware" into sc-dev 2021-07-19 19:25:44 +00:00
Pinyao Ting
1494140212 Merge "Refrain from returning mutable pending intent in getShortcutIntent" into sc-dev am: c4adbc278e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15315840

Change-Id: I84ccabe4a52af73666cfdc665b1447e9e12e5fd9
2021-07-19 19:15:40 +00:00
Pinyao Ting
c4adbc278e Merge "Refrain from returning mutable pending intent in getShortcutIntent" into sc-dev 2021-07-19 19:09:17 +00:00
Winson Chung
9224e9d7b6 Merge "Revert "Clean up previous DA organizer when registering"" into sc-dev am: 37ae9cfc89
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15329893

Change-Id: I8ae6260d0754d3aae4a2c683bfe44329110e7d6a
2021-07-19 19:06:46 +00:00
Winson Chung
37ae9cfc89 Merge "Revert "Clean up previous DA organizer when registering"" into sc-dev 2021-07-19 18:42:00 +00:00
Winson Chung
0b40777cd1 Revert "Clean up previous DA organizer when registering"
This reverts commit da436d4a01.

Reason for revert: b/194083907, b/193993655

Bug: 194083907
Bug: 193993655
Change-Id: I75352215d995707b3bc23e04434c85a0fd9db6b3
2021-07-19 18:39:16 +00:00
Winson Chung
dcc6f0ea2d Merge "Workaround for back arrow being stuck on screen" into sc-dev am: db294649f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15315836

Change-Id: I100a2f418220e6502cba54fb7fd26cb4d3be0859
2021-07-19 18:14:16 +00:00
Winson Chung
db294649f8 Merge "Workaround for back arrow being stuck on screen" into sc-dev 2021-07-19 18:00:08 +00:00
Kensuke Miyagi
3193649e4a Merge "Fix issue of TvInputManagerService not binding to TvInput services in Kids" into sc-dev am: afd8e9bb44
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15315830

Change-Id: I33721e344ec592a1d5c3f54d1078de5f152b0d17
2021-07-19 17:44:46 +00:00
TreeHugger Robot
a357c45fca Merge "Null check color_space_ptr in draw functor v2" into sc-dev am: de41c86deb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15328753

Change-Id: Iccb8391e9ce799fe511b5858e49bb2cf6ad8da4a
2021-07-19 17:44:21 +00:00
Kensuke Miyagi
afd8e9bb44 Merge "Fix issue of TvInputManagerService not binding to TvInput services in Kids" into sc-dev 2021-07-19 17:32:55 +00:00
TreeHugger Robot
de41c86deb Merge "Null check color_space_ptr in draw functor v2" into sc-dev 2021-07-19 17:23:38 +00:00
TreeHugger Robot
90ef460d77 Merge "Update boot image and system server profiles [M5C5P90S0PP]" into sc-dev am: db2dd6d551
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325625

Change-Id: Ib80171e7333560fbe5a3a46fa60c5bc1380da129
2021-07-19 17:04:08 +00:00
Ryan Mitchell
b887f68ad1 Use binder-based iterator to retrieve FRROs
If for some reason there are a lot of fabricated overlays in the
resources cache, the binder limit of the list of fabricated overlay
infos could exceed the maximum binder transaction size. Rather than
return all of the frro infos in one transactions, register an iterator
with the native idmap2d service and use multiple binder transactions
to iterate through all of the frros.

Bug: 192948522
Test: Toggle device theme colors several times and observe frro cache
      Reboot device and observe old frros are deleted
Change-Id: I5e9cf3ae9d1d45eda683c24141a0cd4e4301e02f
2021-07-19 16:53:27 +00:00
TreeHugger Robot
db2dd6d551 Merge "Update boot image and system server profiles [M5C5P90S0PP]" into sc-dev 2021-07-19 16:48:39 +00:00
TreeHugger Robot
85d3b6154a Merge "Add PCM float profile if extended precision PCM shows but not pcm float." into sc-dev am: 14e7e8316f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15302848

Change-Id: I7b23176c15db63032f4984e2abfc85dfd6615de4
2021-07-19 16:26:43 +00:00
TreeHugger Robot
14e7e8316f Merge "Add PCM float profile if extended precision PCM shows but not pcm float." into sc-dev 2021-07-19 16:12:47 +00:00
Bo Liu
fe71933655 Null check color_space_ptr in draw functor v2
Missed toXYZD50 usage last time. Still assume sRGB if null.

Bug: 187798471
Test: Manually tested setting color_space_ptr to null in
      GL/VKFunctorDrawable
Change-Id: Idee2660d368dd55e45f5d07d52839105ba951ff3
2021-07-19 10:16:05 -04:00
Andrei-Valentin Onea
a38fff7f1f Merge "Use ReentrantReadWriteLock in the compat framework" into sc-dev am: a800c7eee4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15303237

Change-Id: I8a3eee4f810b648b3196740e19213240604ddfc7
2021-07-19 13:59:14 +00:00
Andrei-Valentin Onea
a800c7eee4 Merge "Use ReentrantReadWriteLock in the compat framework" into sc-dev 2021-07-19 13:35:53 +00:00
Lais Andrade
ba6f3dc2f0 Merge "Increase timeout on VibrationThread to wait for vibrator callbacks" into sc-dev am: 1a208a730d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15278138

Change-Id: Iad71262c4151a3152beb0e8697c8852548cfbe50
2021-07-19 12:50:44 +00:00
Lais Andrade
1a208a730d Merge "Increase timeout on VibrationThread to wait for vibrator callbacks" into sc-dev 2021-07-19 12:38:21 +00:00
Jacqueline Bronger
017dc09664 Merge "Add accessibility messages to privacy chip on tv." into sc-dev am: 9028f4992c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15299312

Change-Id: I27eeb01ef95e14964b608614e76fa8275fc5761a
2021-07-19 08:54:57 +00:00
Jacqueline Bronger
9028f4992c Merge "Add accessibility messages to privacy chip on tv." into sc-dev 2021-07-19 08:34:41 +00:00
TreeHugger Robot
acde3729fd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: e8ad8b7ff4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325204

Change-Id: Ie564abb91345edab041548cc2e6d78dc5c51ada9
2021-07-19 03:02:42 +00:00
TreeHugger Robot
e8ad8b7ff4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-19 02:50:01 +00:00
art-benchmark-service
66b4d95bc5 Update boot image and system server profiles [M5C5P90S0PP]
= Perf stats =
(lower is better)

Start, memory and code size are improving at a slight expense of boot
time. The increase in boot time is however small, and could well be
in the noise.

Cold startup (speed-profile): -1.21%
PSS: -3.40%
RSS: -2.58%
Privat Dirty: -4.68%
Boot time: 0.04%
Code size: 2.79%

=Generation Strategy=

method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
  key: "android"
  value: 0.02
}
priority_packages_thresholds {
  key: "com.android.systemui"
  value: 0.02
}
priority_packages_thresholds {
  key: "com.google.android.GoogleCamera"
  value: 0.02
}
priority_packages_thresholds {
  key: "com.google.android.dialer"
  value: 0.02
}
priority_packages_thresholds {
  key: "com.google.android.gms"
  value: 0.02
}
priority_packages_thresholds {
  key: "com.google.android.webview"
  value: 0.02
}

=Profile stats=

Data info:
- total aggregations: 6988
- number of (device types, builds): 256

File boot-image-profile.txt
  - hot methods: 3564 added, 2353 removed
  - methods: 3564 added, 2353 removed
  - classes: 498 added, 29 removed
  - totals now: 22707 hot methods, 22707 methods, 13987 classes
  - totals before: 21496 hot methods, 21496 methods, 13518 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 3418, 2238, 39, 11, 21138, 9609
    com.android, 145, 114, 89, 18, 1473, 3422
    android.view, 575, 372, 4, 0, 3202, 881
    android.hardware, 88, 41, 2, 0, 407, 795
    android.bluetooth, 26, 23, 0, 0, 173, 170
    android.animation, 95, 56, 0, 0, 401, 71
    android.app, 392, 225, 7, 0, 2896, 983
    android.content, 329, 243, 5, 1, 2146, 594
    android.graphics, 425, 246, 0, 0, 1974, 320
    android.icu, 115, 86, 0, 0, 1940, 1528
    android.media, 98, 62, 0, 0, 777, 567
    android.net, 78, 51, 2, 10, 711, 415
    android.widget, 344, 277, 0, 0, 1382, 368

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 3 added, 19 removed
  - totals now: 0 hot methods, 0 methods, 11477 classes
  - totals before: 0 hot methods, 0 methods, 11493 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 3, 1, 0, 8432
    com.android, 0, 0, 0, 18, 0, 2466
    android.hardware, 0, 0, 1, 0, 0, 680
    android.app, 0, 0, 2, 0, 0, 867
    android.content, 0, 0, 0, 1, 0, 514

File boot-image-profile.txt
  - hot methods: 4788 added, 2939 removed
  - methods: 4788 added, 2939 removed
  - classes: 678 added, 29 removed
  - totals now: 32340 hot methods, 32340 methods, 16707 classes
  - totals before: 30491 hot methods, 30491 methods, 16058 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 3432, 2249, 39, 11, 21185, 9640
    com.android, 291, 154, 89, 18, 2429, 3762
    java, 825, 434, 0, 0, 6903, 1807
    android.view, 574, 372, 4, 0, 3201, 881
    android.hardware, 87, 41, 2, 0, 406, 795
    android.bluetooth, 37, 23, 0, 0, 173, 170
    android.animation, 95, 56, 0, 0, 401, 71
    android.app, 390, 225, 7, 0, 2894, 983
    android.content, 327, 243, 5, 1, 2144, 594
    android.graphics, 423, 246, 0, 0, 1972, 320
    android.icu, 115, 86, 0, 0, 1940, 1528
    android.media, 95, 62, 0, 0, 774, 567
    android.net, 78, 51, 2, 10, 711, 415
    android.widget, 344, 277, 0, 0, 1381, 368

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 0 added, 20 removed
  - totals now: 0 hot methods, 0 methods, 13904 classes
  - totals before: 0 hot methods, 0 methods, 13924 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 0, 2, 0, 8453
    com.android, 0, 0, 0, 18, 0, 2805
    android.view, 0, 0, 0, 1, 0, 742
    android.content, 0, 0, 0, 1, 0, 514

File art-profile
  - hot methods: 4595 added, 2644 removed
  - methods: 5217 added, 3300 removed
  - classes: 359 added, 13 removed
  - totals now: 35471 hot methods, 51136 methods, 5764 classes
  - totals before: 33520 hot methods, 49219 methods, 5418 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 37, 12, 157, 0, 469, 437
    com.android, 4557, 2631, 142, 13, 34847, 5224
    android.hardware, 8, 8, 0, 0, 242, 127
    android.net, 29, 4, 157, 0, 202, 287

InternalReferenceRawProfileId: 4117
InternalReferenceCandidateProfileId: 4124

Bug: 169104277
Test: build & benchmark

Change-Id: I6dd60b5d0457e0fa35d57082677892ae65b9e920
2021-07-19 01:59:38 +00:00
TreeHugger Robot
8de5056d19 Merge "Only intercept lockIcon touches after longpress" into sc-dev am: 5e0131613a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15313964

Change-Id: I19a599950d0dc184cb42c46e0633859b2f5a9ba7
2021-07-18 22:37:58 +00:00
TreeHugger Robot
5e0131613a Merge "Only intercept lockIcon touches after longpress" into sc-dev 2021-07-18 22:16:21 +00:00
TreeHugger Robot
33ff2f38ad [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: c18be9fcf4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15322561

Change-Id: I3d390f780a42eaed0210756b75a6c587a0741288
2021-07-18 22:00:09 +00:00
TreeHugger Robot
4714666960 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 1fed8e5b8f -s ours am: 2f3b49421a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325202

Change-Id: Ib183a694979188c077e73198f89a0a69b8ebfe4e
2021-07-18 22:00:05 +00:00
TreeHugger Robot
c18be9fcf4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-18 21:47:41 +00:00
TreeHugger Robot
2f3b49421a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 1fed8e5b8f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325202

Change-Id: If8d88f9754c46a4e879444b9dc6f750b5c24e56a
2021-07-18 21:46:48 +00:00
TreeHugger Robot
1fed8e5b8f Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-07-18 21:34:09 +00:00
TreeHugger Robot
df66e0cf79 Merge "SysUI co-ex updates" into sc-dev am: c482869205
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15312413

Change-Id: I48cff08d286e06adb696853c981f0e2a90cedc44
2021-07-18 21:31:48 +00:00
TreeHugger Robot
c482869205 Merge "SysUI co-ex updates" into sc-dev 2021-07-18 21:20:50 +00:00
Winson Chung
7cbbc225b1 Workaround for back arrow being stuck on screen
- Whenever we defer the cleanup of the back gesture, schedule a failsafe
  to clean up the window if it's not handled properly.  We'll enable
  this failsafe for sc-dev and disable it for further investigations
  post sc-dev
- Dump additional info for the nav bar window so we can narrow down
  the issue post sc-dev

Bug: 190778197
Test: Can't repro the initial issue, so artificially trigger it to verify failsafe
Test: adb shell dumpsys activity service SystemUIService
Change-Id: I0a8f25babe750e6e5ba4c933ab5271a82ef63646
2021-07-18 20:52:35 +00:00
Beverly
cde9224b7b Only intercept lockIcon touches after longpress
All other touches should be let through to NPV in case
the user starts to swipe up from the lock icon

We still want to continue intercepting touches after a long press
so that the NPV won't mistakenly handle the touch + expand the
shade after a longpress.

Test: manual
Fixes: 193614314
Change-Id: I060f6f78c373a726fe4dbe1be5b5413364882e1d
2021-07-18 20:01:01 +00:00
TreeHugger Robot
acc6e12acc [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 630c264a54 -s ours am: 6522a73248 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15302026

Change-Id: I35afa89deab692e5c7c811084c03c543729fc4f4
2021-07-18 18:21:15 +00:00
TreeHugger Robot
cea2e53025 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: dbadfc159d -s ours am: b83a12caad -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325196

Change-Id: I78088f42830f0b0ebb5d5a9905e101617e09ea20
2021-07-18 18:21:10 +00:00
TreeHugger Robot
a4a49fde97 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: e5dbe4e748 -s ours am: d70530f416 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325198

Change-Id: I3e22cebc5fc1ccc180531cc97f45227851808e5c
2021-07-18 18:21:03 +00:00
TreeHugger Robot
6522a73248 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 630c264a54 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15302026

Change-Id: I257bcd4bc149c8f9337c0495a343750efa3caa60
2021-07-18 18:17:51 +00:00
TreeHugger Robot
b83a12caad [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: dbadfc159d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325196

Change-Id: Ib76e2c70f99163cf1276b29f0e535bcea7876446
2021-07-18 18:17:23 +00:00
TreeHugger Robot
d70530f416 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: e5dbe4e748 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325198

Change-Id: I65902823440198b4ffec42a68ec7e7d93e691429
2021-07-18 18:16:50 +00:00
TreeHugger Robot
b06e0df7f2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: ebc3c5ce13 -s ours am: c019f4d648 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15322563

Change-Id: Ib250864f55aeed9631ece8de5636754c6840b57d
2021-07-18 18:16:03 +00:00