summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@google.com> 2024-01-31 13:41:06 -0700
committer Jeff Sharkey <jsharkey@google.com> 2024-02-01 09:22:43 -0700
commit18a656bdeaf8f22e11a17203f4c3bb7c4d351942 (patch)
tree3de74850e6b1ad6e33d16983184673aeb00b9488 /libs/hwui/FrameInfoVisualizer.cpp
parent587b3becfeb43b129f12fb5ecd5d365be34b5039 (diff)
Background exceptions fail tests, more utils.
Some tests rely on reporting failures from another thread; upstream JUnit quietly eats these exceptions, which can result in misleading "pass" signals when migrating existing tests. To match the behavior of a physical Android device, we now monitor for uncaught exceptions and report them as test failures. Some tests are relying on `ActivityManager` static methods, so offer those on Ravenwood. Leaves "current user" as `USER_SYSTEM` for the moment, but we'll likely think more about how to customize it as part of bringing a real `ActivityManager` online. Some tests rely on `VibrationAttributes` which is a basic holder object, so offer it on Ravenwood. Tests to verify all of above. Bug: 319647875 Test: atest SystemUiRoboTests Test: atest SystemUiRavenTests Change-Id: I1bc5bbc7b4eadf1c6d19c0044012a945ce377a20
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions