Jing Ji
d7bdd3b62a
Merge "Construct the UidState in case of not found during unparceling" into tm-dev am: 0fe49ee574 am: ed578c06b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18563201
Change-Id: Ib74c5895d80d0cbac01e26848f0a2d185ea68308
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-24 19:39:58 +00:00
Jing Ji
0fe49ee574
Merge "Construct the UidState in case of not found during unparceling" into tm-dev
2022-05-24 18:43:10 +00:00
Jing Ji
52905be4d9
Merge "Don't remove the common processes from the procstats.resetSafely" into tm-dev am: 811e3c9d08 am: 39e98f97be
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18561414
Change-Id: I53e14b4ccbbcade08767ab5ff426e71599acd9b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-24 16:12:58 +00:00
Jing Ji
c76ca4f2f6
Construct the UidState in case of not found during unparceling
...
Bug: 232966772
Test: atest ProcStatsValidationTests
Test: atest ProcessStatsDumpsysTest
Test: atest CtsIncidentHostTestCases:ProcStatsProtoTest
Change-Id: Id3b22522d407074fe1758c3ef43cd2f5e163cfdc
2022-05-23 13:03:33 -07:00
Jing Ji
6fdb0de941
Don't remove the common processes from the procstats.resetSafely
...
As we're resetting it right after that, it doesn't make sense to
explicitly remove it.
Bug: 233563626
Test: atest ProcStatsValidationTests
Test: atest ProcessStatsDumpsysTest
Test: atest CtsIncidentHostTestCases:ProcStatsProtoTest
Change-Id: Ibd12379a7678a60238af79f86e694e1dc3c97176
2022-05-23 10:47:52 -07:00
Bill Lin
cf0f928a91
Merge "Define CUJ_BIOMETRIC_PROMPT in InteractionJankMonitor" into tm-dev am: 92b26992b7 am: 2393e9c276
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18367870
Change-Id: Idc5b426bacaab2db48011573f8edd2b1f6acbb9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-21 00:19:42 +00:00
Chaohui Wang
bad397b9b4
Merge changes from topic "jank-toggle" into tm-dev am: dfed7f9e2f am: 623ab35698
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18195532
Change-Id: I6c3956dc2ba4393e6a152917b420cc459ec989f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 12:55:13 +00:00
Michael Rosenfeld
b5f587503b
Merge "Add an option, --reset-all, to dumpsys batterystats." into tm-dev am: 512b28faf4 am: 9c53571bee
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17950624
Change-Id: Ic02ba149f7f6230d29cd932436802839cb7e0118
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-20 12:51:14 +00:00
lbill
9f2e36f2f4
Define CUJ_BIOMETRIC_PROMPT in InteractionJankMonitor
...
Define instrument constant in InteractionJankMonitor
TODO(b/232176881):
Instrument in Biometric code in next CL.
- AuthContainerView transit in : SHOW
- AuthContainerView transit out : DISMISS
- AuthCredentialView transit in : SHOW
- AuthCredentialView transit out: DISMISS
- AuthBiometricView transit(Biometric <-> PIN/Password/Pattern): TRANSIT
Bug: 232176881
Test: atest SystemUITests
Test: make and get perfetto trace
Change-Id: I17fb2b5e00005c611efe2342abc30196ae4ccc31
2022-05-20 10:57:44 +00:00
Chaohui Wang
dfed7f9e2f
Merge changes from topic "jank-toggle" into tm-dev
...
* changes:
Add SettingsJankMonitor
Add SETTINGS_TOGGLE CUJ to InteractionJankMonitor
2022-05-20 09:22:46 +00:00
Michael Rosenfeld
512b28faf4
Merge "Add an option, --reset-all, to dumpsys batterystats." into tm-dev
2022-05-20 06:54:58 +00:00
Junyu Lai
a0bc85de6b
Merge changes from topic "stats-migration" into tm-dev am: 23ed66f130 am: 4ce5244ff6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18457684
Change-Id: I74cd691205721e582e675c80061fbd21b756a45b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-19 15:31:07 +00:00
Junyu Lai
23ed66f130
Merge changes from topic "stats-migration" into tm-dev
...
* changes:
Add null check when list directory
[MS82.2] Add a rewriteSingle method that takes two timestamps
2022-05-19 14:54:02 +00:00
TreeHugger Robot
7cd84b1ec2
Merge "Update BrightnessSynchronizer Logic" into tm-dev am: 5b0c795a65 am: ff52fa4dab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18334422
Change-Id: I987af5c0f70edee6336c37726cc5d47f3c21a84f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-19 09:30:39 +00:00
TreeHugger Robot
5b0c795a65
Merge "Update BrightnessSynchronizer Logic" into tm-dev
2022-05-19 08:30:57 +00:00
Chaohui Wang
4921f2f22c
Add SETTINGS_TOGGLE CUJ to InteractionJankMonitor
...
Bug: 230285829
Test: make build
Change-Id: Ieebc37dd28cf679ef5d0d455eb46de84679fdeaf
2022-05-19 15:13:10 +08:00
Santos Cordon
7f4fe4c4d6
Update BrightnessSynchronizer Logic
...
There was an error where if two auto-brightness changes came in quick
succession, the first could be treated as a user-initiated brightness
change.
1. First float change comes in: Xf
2. We write the brightness to the int-setting: Xi
3. Second float change comes in: Yf
4. Notification of the Xi change comes back to us and because X is
different from Y, we treat it as a user-change.
The result of this is that auto-brightness learned from these erroneous
"user inputs" and both the short and long term model get affected
negatively for the user. Often manifesting in brightness learning to
be too low.
The quick succession changes can happen in various situations, but
were most prominent on startup before and after a valid lux is read.
The fix is the revamp the data synchronization algorithm we use in
BrightnessSynchronizer to have updates + confirmation callback be
treated as an atomic operation before executing any other updates
that come in. In the example above, that means we run (1) (2) and (4)
before handling the new update found in (3).
Fixes: 227483176
Test: Manually verify through debug logging.
Test: atest BrightnessSynchronizerTest
Change-Id: I93856fd74e50bcda04e88a7b7e736e02faa76c8e
2022-05-19 00:13:50 +00:00
TreeHugger Robot
641153ac17
Merge "Add latency instrument for loading share sheet" into tm-dev am: 5843318c84 am: 2ef01eda02
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18157815
Change-Id: Ie2b1189c401833c040c53c92bf30d1740506cbfd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-18 22:44:50 +00:00
Miranda Kephart
93aa8e2612
Merge "Hide edit buttons on clipboard and clipboard smart actions" into tm-dev am: be2681d3e9 am: 6c3e0cf8b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18374702
Change-Id: Iebee8de18f06902b273d79bc525e275dbdb61390
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-18 22:38:00 +00:00
Issei Suzuki
2c7b85ea75
Merge "Revert ProtoLog to Slog in framework.jar" into tm-dev am: 61a7196fb5 am: 4c6dc72a78
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18439162
Change-Id: Ib1f65602940ecc25292ad10d2b24f48cffd9dca6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-18 22:31:36 +00:00
Matt Casey
893b90752c
Merge "Style fixes for mini resolver" into tm-dev am: 2f6f3aa732 am: 1a9ac652f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18343548
Change-Id: Ie1f79ede14a4f6861180aa68108910da6e643f82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-18 22:13:48 +00:00
TreeHugger Robot
c31d8ad724
Merge "Remove vendor apex privapp allowlist pruning" into tm-dev am: 05e61e90c5 am: 8c5b32dc04
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17988646
Change-Id: I49aa25148cc61daa7424c9fb32654fd410a4cf27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-18 21:51:36 +00:00
TreeHugger Robot
5843318c84
Merge "Add latency instrument for loading share sheet" into tm-dev
2022-05-18 15:45:53 +00:00
Miranda Kephart
be2681d3e9
Merge "Hide edit buttons on clipboard and clipboard smart actions" into tm-dev
2022-05-18 14:54:38 +00:00
Issei Suzuki
61a7196fb5
Merge "Revert ProtoLog to Slog in framework.jar" into tm-dev
2022-05-18 09:29:22 +00:00
Matt Casey
2f6f3aa732
Merge "Style fixes for mini resolver" into tm-dev
2022-05-18 02:12:04 +00:00
Matt Casey
122b4a434a
Style fixes for mini resolver
...
Make the icon 48dp.
Update button style to be opaque for "Open" and outlined for the browser
button.
Fix button padding at the bottom.
Test: Visual inspection with UX. Tested in gesture/3-button + light/dark
theme
Bug: 175433480
Change-Id: I9304ee6fed28a467fcc54630dab18aaf4f140986
2022-05-17 16:55:21 +00:00
Miranda Kephart
3ede8bc62a
Hide edit buttons on clipboard and clipboard smart actions
...
Guarded behind flags (but defaulted to "don't show").
Bug: 232521394
Bug: 232521320
Fix: 232521394
Fix: 232521320
Test: manual
Change-Id: Ia5899ad965e1466294b14f2991efe186ce3ced31
2022-05-17 15:51:14 +00:00
Issei Suzuki
b39d8489a3
Revert ProtoLog to Slog in framework.jar
...
ProtoLog is only supported in WM sources at this moment.
This partially reverts commit I4461eddd4a24c7bba1adef1571ce0fbf6d7db0a2.
Bug: 231342674
Test: Pass existing tests.
Change-Id: Ibe5ca4f8a18f92379e3aae8bd9c7c6f456df5810
2022-05-17 15:36:00 +00:00
junyulai
6ab8172b69
[MS82.2] Add a rewriteSingle method that takes two timestamps
...
This CL provides a public method in FileRotator to
allow caller to write data to a specified standalone file.
This CL also fix a file name generatign error in platform
tools.
Test: NetworkStatsServiceTest NetworkStatsCollectionTest
Bug: 230289468
Change-Id: I17558f349cb2a33062972fe1af96a19356798692
2022-05-17 16:08:27 +08:00
TreeHugger Robot
05e61e90c5
Merge "Remove vendor apex privapp allowlist pruning" into tm-dev
2022-05-16 20:59:24 +00:00
Ahan Wu
f2d9721d94
Add latency instrument for loading share sheet
...
Bug: 226526090
Test: see the trace attached in the bug
Change-Id: Ic2b31bfe59b7740dd7db6a75c86fad191b2f8507
2022-05-16 16:54:48 +00:00
Song Hu
6493b1498b
Merge "Pass shared text content from ChooserActivity to AppPredictionService" into tm-dev am: d581c08704 am: b9f9f81d13
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18356488
Change-Id: Ied1f6e341c4722d13b1f56a55d47ff62351b7d82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-13 21:39:04 +00:00
Song Hu
d581c08704
Merge "Pass shared text content from ChooserActivity to AppPredictionService" into tm-dev
2022-05-13 21:13:46 +00:00
Lucas Dupin
61a427b630
Merge "Instrument CUJ_VOLUME_CONTROL with Trace tag" into tm-dev am: 5f5aa7e1ef am: 2ff1af1a00
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18282094
Change-Id: Ia0ecf578de186cae25281604f5c7684e8dcec286
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-13 20:40:43 +00:00
Lucas Dupin
5f5aa7e1ef
Merge "Instrument CUJ_VOLUME_CONTROL with Trace tag" into tm-dev
2022-05-13 19:11:24 +00:00
Song Hu
bda0b769d6
Pass shared text content from ChooserActivity to AppPredictionService
...
Bug: 232426274
Test: manual test on local phone
Test: atest
Change-Id: Idc1d2f8efddab45cfaacd4a78cd745b9273b2719
2022-05-13 09:53:34 -07:00
Jing Ji
4f92fb5e95
Merge "Always construct the UidProcessState instance in ProcessStats" into tm-dev am: 317e43a1ff am: 66abf4d225
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18331909
Change-Id: Ie1fdf2424be240e22d148e9ad79e028eae4a8c41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 23:31:33 +00:00
Jing Ji
317e43a1ff
Merge "Always construct the UidProcessState instance in ProcessStats" into tm-dev
2022-05-12 22:15:18 +00:00
Mark Renouf
cf44ea86ee
Use System.nanoTime(), avoid desyncing frame times am: 7ab7a81845 am: fcb64ad8cd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18322679
Change-Id: Ia39e2b59f5d4cf3fabf8f33fe7c3d7f2a3333dc6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 21:50:22 +00:00
Mark Renouf
7ab7a81845
Use System.nanoTime(), avoid desyncing frame times
...
The rendering pipeline expects frame vsync times as
System.nanoTime(). When the frame vsync time is behind
the most recent frame, the render request is dropped [*].
This reverts the value back to System.nanoTime() which
was accidentally changed in ag/15819081.
* frameworks/base/libs/hwui/renderthread/TimeLord.cpp:46
Bug: 217046739
Test: ???
Change-Id: I21d8737e7acb5ac13bfbcf150006415431d874aa
2022-05-12 20:44:09 +00:00
Michael Wachenschwanz
2c774935fa
Merge "Skip collecting radio data on procstate change when radio is off." into tm-dev am: e59e5012cf am: e2a19d0bf5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18246347
Change-Id: I4b958e1240e870cda5aa9b1a49be84f942f78119
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 20:08:35 +00:00
Michael Wachenschwanz
e59e5012cf
Merge "Skip collecting radio data on procstate change when radio is off." into tm-dev
2022-05-12 18:16:34 +00:00
lbill
166eaacd0e
Instrument CUJ_VOLUME_CONTROL with Trace tag
...
1. CUJ_VOLUME_CONTROL begin in animator begin()
CUJ_VOLUME_CONTROL end in animator end()
- initDialog(): Tag show
- dismissH(): Tag dismiss
- updateVolumeRowSliderH(): Tag update
2. Add Trace.beginSection("VolumeDialogImpl#showH")
3. Add Trace.beginSection("VolumeDialogImpl#dismissH")
4. Add Trace.beginSection("VolumeDialogImpl#updateVolumeRowSliderH")
5. Add Trace.beginSection("VolumeDialogImpl#updateRowsH")
Bug: 232066671
Test: Press Volume key and check perfetto trace
Change-Id: Ib74bfc46bd6841d4b8e86266a75d7003ae4cbe80
2022-05-12 17:29:30 +00:00
Tom Hsu
35201c97f7
Merge "[Panlingual] Fix NPE when add language." into tm-dev am: 5c23d0292d am: 7239e76089
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18330351
Change-Id: I28636ed8e3ff0a2446ab53ba04b88d244cd81d7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 14:53:07 +00:00
Tom Hsu
5c23d0292d
Merge "[Panlingual] Fix NPE when add language." into tm-dev
2022-05-12 14:39:27 +00:00
Matt Casey
dd70303e26
Merge "Load app icon in miniresolver." into tm-dev am: 8cdbd6c00a am: 40ea565f23
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18321625
Change-Id: I496c8f639b9a11cddbd78dbe6321369b877cf421
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 12:50:26 +00:00
Matt Casey
8cdbd6c00a
Merge "Load app icon in miniresolver." into tm-dev
2022-05-12 12:04:57 +00:00
Tom Hsu
c87751b0c2
[Panlingual] Fix NPE when add language.
...
Bug: b/232348161
Test: local
Change-Id: Ibd55603aebb72eea3e9b2b8c32177f73997cdeee
2022-05-12 09:02:21 +00:00
Song Hu
4cdd6e5441
Add shortcut title into pin label. Without shortcut title, the pin label does not make sense in non-English string. am: 82b7fd414d am: 0647b559de
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18328646
Change-Id: I98f1d2efda6bec922e265385e3da2113544bc39c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-05-12 02:43:14 +00:00