summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Connor O'Brien <connoro@google.com> 2020-02-18 15:54:27 -0800
committer Connor O'Brien <connoro@google.com> 2022-01-29 04:05:27 +0000
commit6f179e6616e2f77e1df8eb6dc5d4da82639dc7ea (patch)
treea4ec059f70a4e269fc45bcd1f25d1118d3c86a78 /libs/gui/LayerDebugInfo.cpp
parented1abd80c15150801c86899204284817701727df (diff)
libtimeinstate: skip tests on non-supporting devices
Devices that can't support BPF time in state tracking (e.g. upgrading devices without kernel support for perf event selinux hooks) currently fail libtimeinstate_test without this failure indicating a bug or incorrect behavior. To make test failures meaningful, skip the tests on such devices instead of failing. isTrackingUidTimesSupported() is now exercised by the SetUp() function, making the IsTrackingSupported test redundant, so remove that test. Test: run libtimeinstate_test on device without time_in_state.o and confirm all tests are skipped Change-Id: I11bc5cc6b2e32f56c40852846fddd6790d6643b3 Signed-off-by: Connor O'Brien <connoro@google.com>
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions