- Jun 03, 2024
-
-
Mitch Phillips authored
There's some bad behaviour going on that's exclusive to WatchOS (discovered on the Pixel Watch 2). The TombstoneWatcher class is responsible for watching the /data/tombstones/ directory. It is a member of the NativeTombstoneManager class, which is created when ActivityManager starts, and lives until the device is powered off. Unfortunately, some bad behaviour (unclear exactly what at this stage) means that the TombstoneWatcher class is spuriously garbage collected, even though the parent NativeTombstoneMenager class is still alive and reachable. I chatted with hboehm@ from the ART team, and his hypothesis is that because the TombstoneWatcher member is initialized in the constructor and never used again, some optimiser is doing the wrong thing and thinking that it's unused and can be GC'd. The TombstoneWatcher uses inotify in native code to execute a callback when a file is added to a directory, so it's clearly in use, but unfortunately the bug allows this class to be GC'd anyway. What this means, in practice, is that app native crashes on WatchOS are not being handled correctly. This includes: - Apps cannot get their own crashes through the ApplicationExitInfo::getHistoricalProcessExitReasons API. - Crash reports are never sent to Google, with the exception of tombstones that last until the next reboot, where they're one-time scooped up and sent to Google. This has substantially increased latency (requires a reboot) and also probably drops quite a number of reports because there's a limit of tombstones on the device, and a rate limit of how many are sent by GMS. Bug: 339371242 Test: atest CtsGwpAsanTestCases on eos (Pixel Watch 2, WatchOS) Change-Id: I9226e4368b03bd4742fccdafde6018f145da63e6
-
- May 28, 2024
-
-
Devin Moore authored
-
Treehugger Robot authored
-
Edward Savage-Jones authored
The help/usage text for the notification cmd is not wrapped correctly when displaying the 'allow_dnd' parameter. This was introduced in commit 08d381b8. Test: manual, run cmd notification and check the wrapping Change-Id: I9a7af1d9e3de91c9124f21eb66817bb73a3512be
-
Alexei Nicoara authored
-
Treehugger Robot authored
-
- May 27, 2024
-
-
Robin Lee authored
-
- May 25, 2024
-
-
Yi Kong authored
-
Sanal Buvaev authored
This reverts commit ec7f7207. Reason for revert: Fixed tests Change-Id: Iadd0ea6f09f7f3159f94489c03f28c326bbbb664
-
- May 24, 2024
-
-
Treehugger Robot authored
-
Lais Andrade authored
-
Yi Kong authored
Bug: 342527967 Change-Id: I41811e2dae454c67435c1c99d10bc3a28894fbd1 Test: presubmit
-
Lais Andrade authored
Make sure we display the Intent extras as string, not spannable char sequences. Change-Id: Ifd08941179ee809ee038e25be9d92a283e7ab2cc Fix: 197874968 Test: Launch SoundPicker with CharSequence intent extra
-
Treehugger Robot authored
Merge "[Thread] add permission THREAD_NETWORK_TESTING for guarding testing APIs or shell commands" into main
-
- May 23, 2024
-
-
Abhishek Gadewar authored
Bug: 339934804 Test: atest --iterations 5 android.alarmmanager.cts.ExactAlarmsTest#alarmClockGrantsWhitelist Change-Id: I1f032cb3e983ecf75e5607d9510a6f8ffee13607 Signed-off-by:
Abhishek Gadewar <abhishekgadewar@meta.com>
-
Matt Pietal authored
-
Bin Huang authored
For some low-end or bad performance devices, sometimes keyguard flingToHeight animation still not complete, at this moment if received the onStartedWakingUp while try turn screen on, it will cause the remote SystemUI keyguard dismiss transition can't run. Before execute a fling animation of Keyguard, set the animation execution time to 0 determines that it is Screen Off state. This solution makes Screen On can not affect animation. Bug: 301196699 Test: run cts KeyguardTests Change-Id: Ic7be1b5e41814adb44ce79857b79283040b4e3a4 Merged-In: I4743c0ad53f89ee2fdc2f8e9eed864fe79f3bfc3
-
Treehugger Robot authored
* changes: Remove redudant string conversions Add hid command support for uniq device attribute
-
Max Bires authored
-
- May 22, 2024
-
-
Josep del Rio authored
In the review of ag/26174212, an unnecessary string conversion was identified; this CL corrects that, plus two other instances in the same function. Bug: 314732730 Test: Presubmit (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:60e4fdfa0897b94c003ba3df3b39a16e10c886d1 ) Merged-In: Id2b620088e12266f041be864271493ffe7e1a3b1 Change-Id: Id2b620088e12266f041be864271493ffe7e1a3b1 Signed-off-by:
Edward Liaw <edliaw@google.com>
-
Josep del Rio authored
Sony gamepads need a uniq attribute of a certain size in order to obtain the MAC address, which makes our CTS test fail. This CL adds the ability to define this attribute in our test definitions. Bug: 314732730 Test: Compiles properly, will be tested together with the test (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:93a4c0fbdc14d99cbd382fd50be83b7058ca6b56 ) Merged-In: I83203e8eb876b27d0e6e60adfbf6de3f4a6e9872 Change-Id: I83203e8eb876b27d0e6e60adfbf6de3f4a6e9872 Signed-off-by:
Edward Liaw <edliaw@google.com>
-
Julien Desprez authored
-
Julien Desprez authored
-
Julien Desprez authored
-
Makoto Onuki authored
-
Treehugger Robot authored
-
Max Bires authored
Revert submission 2864688-apc-deprecate Reason for revert: fix inadvertent partial deprecation Reverted changes: /q/submissionid:2864688-apc-deprecate Change-Id: I820e2916acfc711c6a092ac1371548f54fd170af
-
Yi Kong authored
-
Treehugger Robot authored
-
Yi Kong authored
This reduces the latency before we are able to generate a profile from the server backend. Test: cmd jobscheduler run -f android 260817 Change-Id: Icdbdf809435580b131f5b6677e039f3043264abe
-
Jooyung Han authored
Removed hard-coded "version"s in assertions. Instead, the test now parses XML documents and then compare root elements and "type"s. Plus, the test now checks if report() reports all four matrices/manifests. Bug: 317747397 Test: atest VintfObjectTest Change-Id: I4bb514e9c0bd78214cb3f03e1b12afec8a301915
-
- May 21, 2024
-
-
Makoto Onuki authored
Bug: n/a Test: n/a Change-Id: I3c359283b8efa04d0731018c0d6647586221f8cc
-
Julien Desprez authored
-
Treehugger Robot authored
-
Alisher Alikhodjaev authored
Calling |enableReaderMode| prevents us from chaning the listen tech. Bug: 337291737 Test: atest CtsNfcHceMultiDeviceTestCases (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c1eec317f5d98181e7ef8826a16c96ebebd9d498) Merged-In: Id6a5e865cd69bafcf2e0dcfafe104aee3330f138 Change-Id: Id6a5e865cd69bafcf2e0dcfafe104aee3330f138
-
Julien Desprez authored
This will allow to build them more effectively. This has no impact on the test execution itself. Change-Id: Iac18defcb13e7c3d4ad9845bffcda04766dd06a8 Test: presubmit Bug: 341947105
-
Julien Desprez authored
This will allow to build them more effectively. This has no impact on the test execution itself. Change-Id: I76bbb06b6b5f0e21f096b80da9062863294d2ff4 Test: presubmit Bug: 341947105
-
Julien Desprez authored
This will allow to build them more effectively. This has no impact on the test execution itself. Change-Id: I22183f1f2176e929eb0ab82f9f7eaa20ccb770c8 Test: presubmit Bug: 341947105
-
Julien Desprez authored
This will allow to build them more effectively. This has no impact on the test execution itself. Change-Id: If131f8efdef060757884835570aea74704f064c4 Test: presubmit Bug: 341947105
-
Aishwarya Mallampati authored
-