summaryrefslogtreecommitdiff
path: root/libs/battery/LongArrayMultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2024-11-07 16:49:46 +0000
committer Harry Cutts <hcutts@google.com> 2024-11-07 17:09:47 +0000
commit68ce2f684c549f094b00bfbcbdbe212fa19730fb (patch)
treef6ac4ffc54b8f13bcd6f01e3bdbd5ad936f97878 /libs/battery/LongArrayMultiStateCounterTest.cpp
parent870583074c379f72e4d4258210e292d2a5037487 (diff)
SensorInputMapperTest: migrate to InputMapperUnitTest
And make a few other small refactors while I'm at it: * Use the actual axis constants for setting sensor types and indexes * Inline methods that are only called once, to keep test context in one place * Move test constants to the anonymous namespace rather than declaring and initializing them separately Test: TEST=inputflinger_tests; m $TEST && \ $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST \ --gtest_filter='*SensorInputMapperTest*' Bug: 283812079 Flag: TEST_ONLY Change-Id: I4e909c1f4e82e6a83b8c96a1fadeff56f9055861
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions