Riddle Hsu
1500550794
Merge "Remove unused pooled lambda methods"
2022-09-27 12:08:31 +00:00
Lan Wei
02d2f81b52
Merge "IMA API InputConnection#replaceText()"
2022-09-27 00:01:06 +00:00
TreeHugger Robot
e1b8f01e2b
Merge "Add Logging of the UI Latency for hotword invocation" into tm-qpr-dev am: 7ca15df236 am: cc6597d2d1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20021705
Change-Id: I79c45f77d1ac9c97eaa8f6a8f9318b1d73d40060
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 05:16:51 +00:00
TreeHugger Robot
cc6597d2d1
Merge "Add Logging of the UI Latency for hotword invocation" into tm-qpr-dev am: 7ca15df236
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20021705
Change-Id: Ia09d62f94fb98ef9c0fedaa9cd5b4df58902ddeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 04:18:40 +00:00
Jing Ji
738ac4ca12
Merge "Check the null pointer in ProcStats" into tm-qpr-dev am: 52ef129d27 am: 316c6e8df8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20040059
Change-Id: I636e2d6f3869b7ffed420eaeffb651077f25b137
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 03:53:31 +00:00
TreeHugger Robot
7ca15df236
Merge "Add Logging of the UI Latency for hotword invocation" into tm-qpr-dev
2022-09-24 03:51:17 +00:00
Jing Ji
316c6e8df8
Merge "Check the null pointer in ProcStats" into tm-qpr-dev am: 52ef129d27
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20040059
Change-Id: Ic69c4987f96c0085834105010d621901a24dd9f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 03:21:34 +00:00
Jing Ji
52ef129d27
Merge "Check the null pointer in ProcStats" into tm-qpr-dev
2022-09-24 03:10:28 +00:00
Josh Tsuji
b2f2fa414f
Merge "Add jank instrumentation for occlude/unocclude/launcher unlock." into tm-qpr-dev am: 11ffb9c8b4 am: e99749d20b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19601329
Change-Id: I5becbcb9d1324ec025b2f153da5e9bffba6df715
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 01:33:05 +00:00
Eun-Jeong Shin
4074a914b9
Merge "Add hyperlink to "Learn more" in device log access dialog" into tm-qpr-dev am: ce1f5634ab am: 9f8c630473
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20029318
Change-Id: Ic69c17e709fb9a9a07944ce3e91f05c1364a9f23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 01:32:21 +00:00
Nicholas Ambur
0cf35e854e
Add Logging of the UI Latency for hotword invocation
...
Log the UI latency with UIActionLatencyReported atom. We plan to
calulate the latency from when the SoundTrigger HAL emits an event to
when the VoiceInteraction system UI view is shown.
Test: device_config put latency_tracker enabled true; verify traces
and latency is logged in WW.
Bug: 247879896
Change-Id: I3edb91691e81f8f23660c0823a6388338fe926ad
2022-09-23 18:13:14 -07:00
Josh Tsuji
e99749d20b
Merge "Add jank instrumentation for occlude/unocclude/launcher unlock." into tm-qpr-dev am: 11ffb9c8b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19601329
Change-Id: Iaf8e39aaf62ef5272b43a06b1b76cafe8d8448a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 00:56:55 +00:00
Eun-Jeong Shin
9f8c630473
Merge "Add hyperlink to "Learn more" in device log access dialog" into tm-qpr-dev am: ce1f5634ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20029318
Change-Id: Ied834646b40513958d19633556813d521dfa65b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-24 00:55:22 +00:00
Josh Tsuji
11ffb9c8b4
Merge "Add jank instrumentation for occlude/unocclude/launcher unlock." into tm-qpr-dev
2022-09-24 00:23:28 +00:00
Jing Ji
5ecd71861f
Check the null pointer in ProcStats
...
Bug: 246663534
Test: atest ProcStatsValidationTests
Test: atest ProcessStatsDumpsysTest
Test: atest CtsIncidentHostTestCases:ProcStatsProtoTest
Test: atest CtsStatsdHostTestCases
Test: atest CtsAppTestCases:ActivityManagerProcessStateTest
Change-Id: Ie39e232970238f44b447467173ae46d4775e6432
2022-09-23 16:47:50 -07:00
Josh Tsuji
64a3f7394a
Add jank instrumentation for occlude/unocclude/launcher unlock.
...
Fixes: 241195239
Test: grab a trace
Change-Id: If9af9aa95ddff26c9baf5101fb5aa45389e532eb
2022-09-23 15:33:52 -04:00
Josh Tsuji
06a8a923de
Merge "Enable presubmit for com.android.internal.jank" into tm-qpr-dev-plus-aosp
2022-09-23 19:27:37 +00:00
TreeHugger Robot
db736f39bb
Merge "Catch unexpected detached view while creating FrameTracker"
2022-09-23 18:59:24 +00:00
Eun-Jeong Shin
db1ed6fa67
Add hyperlink to "Learn more" in device log access dialog
...
Add a hyperlink to explain device log access in "Learn more"
Bug: 231437131
Test: GtsVerifier
Ignore-AOSP-First: pending fix for logcat privacy issue
Change-Id: Id7978ee800367f696a8b9ea0d80d0b7e0c2d41eb
2022-09-23 17:30:44 +00:00
Nick Chameyev
9755004796
Merge "[Partial Screensharing] Add initial recents selector UI" into tm-qpr-dev am: 66e9106619 am: d84bec201c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19867406
Change-Id: I555339bc5c939215a7d8604d73bd0264f49f372e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 17:11:27 +00:00
Ahan Wu
6826619762
Catch unexpected detached view while creating FrameTracker
...
Bug: 245083316
Test: atest FrameTrackerTest InteractionJankMonitorTest
Test: LatencyTrackerTest
Change-Id: I55941c78b7200bd70a4b30a29defc3c8306eead8
2022-09-23 16:44:37 +00:00
Nick Chameyev
d84bec201c
Merge "[Partial Screensharing] Add initial recents selector UI" into tm-qpr-dev am: 66e9106619
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19867406
Change-Id: I4f6b2799fa1009f3c3b888ac926c8c7455cfbc28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 14:11:03 +00:00
Nick Chameyev
66e9106619
Merge "[Partial Screensharing] Add initial recents selector UI" into tm-qpr-dev
2022-09-23 13:20:23 +00:00
Riddle Hsu
06b6689d8d
Remove unused pooled lambda methods
...
Those methods have not been used for a long time. And the
regular lambda is already good in performance.
Also fix the test:
- Log pattern in new platform is changed.
(need to append "/data/anr/" manually)
- Format line endings.
Bug: 120160274
Test: atest LambdaPerfTest
Change-Id: I761fc3a75a3c740a530b8e377b67afd5decb5503
2022-09-23 19:47:19 +08:00
Nick Chameyev
333c007f08
[Partial Screensharing] Add initial recents selector UI
...
Adds a recycler view that can show list of thumbnails
and app icons that could be loaded asynchronously.
It is hidden under a flag, so it won't be visible
on normal builds.
Current limitations which will be fixed in
the follow up CLs:
* It doesn't load real data
* Task thumbnail sizes are hardcoded and
not cropped correctly
* No actions on thumbnail click
Screenshot demo: https://screenshot.googleplex.com/68vhXBNefCKHR2G.png
Test: atest com.android.systemui.mediaprojection.appselector.MediaProjectionAppSelectorControllerTest
Bug: 240924921
Change-Id: Ia3c685050656659ea9a79ffc90a91465c114e259
2022-09-23 11:19:54 +01:00
Joanne Chung
62d698f8e8
[DO NOT MERGE] Revert "Revert "[DO NOT MERGE] Remove selection toolbar code from build time"" am: 8be1773964
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19992748
Change-Id: I93dcd232eb6205c8c6361406b4ccd0863a0dea46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 09:38:07 +00:00
Joanne Chung
990b2f2682
Merge "[DO NOT MERGE] Revert "Revert "[DO NOT MERGE] Remove selection toolbar code from build time""" into tm-qpr-dev
2022-09-23 09:05:50 +00:00
Miranda Kephart
e8a274a7b1
Merge changes Iffb62170,I9b795928 into tm-qpr-dev am: 4658046b52 am: 2584f20d58
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20007505
Change-Id: I44e47f44c3c1750d0701f641d00c759b7a2b3f75
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 06:57:49 +00:00
Lucas Silva
58841ffe37
Merge "Add additional logging to dream enforcement logic to debug failures." into tm-qpr-dev am: 591f54ba80 am: b6fa124dc9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19970255
Change-Id: Ieb972fa8a3a223ba233170e6351f47c93575ca18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-23 05:42:35 +00:00
Justin Ghan
25e455e640
Merge "TextView implementation of remove space gesture, and join or split gesture"
2022-09-23 02:44:40 +00:00
Lan Wei
d5d530ad63
IMA API InputConnection#replaceText()
...
Add InputConnecton#replaceText(int, int, CharSequence, int, TextAttribute) API to support replacing the specific range in the editor with suggested text.
Add default implementation in InputConnection which delegates to call
finishComposingText()+setSelection()+commitText().
Add implementation in BaseInputConnection which will address the issue
of selection flash.
Bug: 241503197
Test: atest FrameworksCoreTests:BaseInputConnectionTest
Test: atest CtsInputMethodTestCases:BaseInputConnectionTest
Change-Id: Ia0e42270cfae112fcf19205a7151e4ab4ac4afdd
2022-09-23 09:37:00 +08:00
Miranda Kephart
2584f20d58
Merge changes Iffb62170,I9b795928 into tm-qpr-dev am: 4658046b52
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20007505
Change-Id: I1c6415729dd96888303831a4fa182d8baf1e057a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-22 19:32:09 +00:00
Miranda Kephart
4658046b52
Merge changes Iffb62170,I9b795928 into tm-qpr-dev
...
* changes:
Clean up leaked screenshot connections
Always reset screenshot preview to alpha=1
2022-09-22 19:13:56 +00:00
Ahan Wu
ff050947ac
Enable presubmit for com.android.internal.jank
...
This CL consists of following parts:
- TEST_MAPPING files for presubmit.
- Correct CUJ constant definitions in LatencyTracker.
- Use auto-generated enum constants instead of hardcoded
numbers in LatencyTracker.
- Create LatencyTrackerTest to test:
- The constant names of CUJ definitions should be the same with
corresponding enum names.
- The amount of CUJ definitions should be the same with
the amount of enums, means both must be added at the same time.
- The static getNameOfXX() methods return just the name of the
CUJ constant definitions.
- The CUJ constant definitions has 1:1 mapping onto the enums.
Bug: 245250904
Test: check TH if FrameworksCoreTests is triggered
Test: atest FrameTrackerTest InteractionJankMonitorTest
Test: atest LatencyTrackerTest
Change-Id: I767681618a3635b2c0ebdae78cf086d56baeaad0
Merged-In: I767681618a3635b2c0ebdae78cf086d56baeaad0
2022-09-22 15:57:46 +00:00
Lucas Silva
b6fa124dc9
Merge "Add additional logging to dream enforcement logic to debug failures." into tm-qpr-dev am: 591f54ba80
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19970255
Change-Id: Iba9816ef1e6db30c5228589e6a77a5f5b9ef0f32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-22 15:36:50 +00:00
Lucas Silva
591f54ba80
Merge "Add additional logging to dream enforcement logic to debug failures." into tm-qpr-dev
2022-09-22 14:46:45 +00:00
Miranda Kephart
9f8f1fd9a7
Clean up leaked screenshot connections
...
If a subsequent screenshot is taken after we bind to the screenshot
service, but before we get the onServiceConnected callback, we
leak the connection to the service, preventing it from ever getting
shut down. Fix this by unbinding the old connection before connecting
with the new one.
Bug: 242862442
Fix: 242862442
Test: forced DisplayPolicy to take two consecutive screenshots
Change-Id: Iffb62170266a2c1bb332bfb416f0f5e19c5236fb
2022-09-22 14:20:38 +00:00
Nick Chameyev
446bf92131
Merge "Do not use pool of SimpleIconFactory objects in Chooser/ResolverActivity" into tm-qpr-dev am: cbb45c6814 am: b35a6c0829
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19952284
Change-Id: Ida85c2fc90f55f4178de28633f669f1ca66a08e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-22 00:28:13 +00:00
Derek Jedral
aad5b3000d
Merge "Fix TrustAgent showing unclear string." into tm-qpr-dev am: a20c6a4cf8 am: d6eff4971c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19970372
Change-Id: Ibeab0482cd1d918bdcab8dfa9755bcbc0e99243e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-22 00:25:28 +00:00
Mythri Alle
cfcf961122
Merge "Reland "Don't enable jdwp by default on userdebug builds""" am: f3683fca37 am: a1b0512a78 am: 59afb30fdb am: e14b396e68 am: f973b28aa0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2217921
Change-Id: I179d74253c1c49b522ae3a9db2f6e45677397687
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-22 00:11:21 +00:00
Nick Chameyev
b35a6c0829
Merge "Do not use pool of SimpleIconFactory objects in Chooser/ResolverActivity" into tm-qpr-dev am: cbb45c6814
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19952284
Change-Id: Ied1239518758bd583218ccbb6f59dc22ac7ae789
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-21 23:21:52 +00:00
Derek Jedral
d6eff4971c
Merge "Fix TrustAgent showing unclear string." into tm-qpr-dev am: a20c6a4cf8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19970372
Change-Id: I1007d99c24b9d804a8f196ae7ca855e4ff91cd6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-21 23:18:42 +00:00
Mythri Alle
f973b28aa0
Merge "Reland "Don't enable jdwp by default on userdebug builds""" am: f3683fca37 am: a1b0512a78 am: 59afb30fdb am: e14b396e68
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2217921
Change-Id: I3ad547777dcfaf69718f68ac0c9a1824f06f371f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-21 23:12:01 +00:00
Mythri Alle
59afb30fdb
Merge "Reland "Don't enable jdwp by default on userdebug builds""" am: f3683fca37 am: a1b0512a78
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2217921
Change-Id: I27a3ba70e4da3a93d39abeb539366e5b959750fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-21 21:58:15 +00:00
Jason Sun
4fd1467783
Merge "Auto enable new system trust agents" into tm-qpr-dev am: 73ce3e64f0 am: 84435238c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19824313
Change-Id: I9b40c9f7f4e3c15da877fbc592aa77d4cef6147a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-21 21:42:25 +00:00
Jason Sun
84435238c4
Merge "Auto enable new system trust agents" into tm-qpr-dev am: 73ce3e64f0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19824313
Change-Id: I79539f4e42c07d9eb694389febb0b32c15a2b265
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-21 21:37:29 +00:00
Nick Chameyev
cbb45c6814
Merge "Do not use pool of SimpleIconFactory objects in Chooser/ResolverActivity" into tm-qpr-dev
2022-09-21 17:40:52 +00:00
Mohamad Mahmoud
ef199b6f64
Merge "Add ANR Latency Tracking"
2022-09-21 14:03:40 +00:00
Mythri Alle
f3683fca37
Merge "Reland "Don't enable jdwp by default on userdebug builds"""
2022-09-21 07:49:34 +00:00
Derek Jedral
140516bf65
Fix TrustAgent showing unclear string.
...
TrustAgents currently show the string "Device was locked manually" if
the trustagent times out, or if lockUser() was called. Changed to show a
more generic string, informing the user that they need to authenticate
with whatever credentials they have set up (instead of using the
trustagent).
Test: Test trustagent timeout, lockUser, verify string appears
Bug: 243710694
Change-Id: I96b113ab3ae63123782517339b0bdb3c6cdec2e2
2022-09-20 21:07:15 +00:00