diff options
author | 2024-02-21 10:34:59 -0800 | |
---|---|---|
committer | 2024-02-21 22:09:43 +0000 | |
commit | d790d6b5fdd5352083d0fe0b22492091158ea5cf (patch) | |
tree | 633bef657c39db5d3ccad5e2aace3087df5715e9 /libs/gui/LayerState.cpp | |
parent | 77add0b0f163a11792da4e2f0e694ed34e87589f (diff) |
Use a polling check when waiting for a specific device
Some timings have changed in our system.
In this CL, we change the way we are waiting for a device to show up.
Now, we are waiting up to 5 seconds for the correct device to appear
before failing the test.
In practice, the tests take about 30-40 ms to complete.
Test: TEST=inputflinger_tests; m $TEST && adb sync && adb shell -t /data/nativetest64/$TEST/$TEST --gtest_filter="*1\.StylusButtonsGenerateKeyEvents" --gtest_repeat=100 --gtest_break_on_failure
Test: TEST=inputflinger_tests; m $TEST && adb sync && adb shell -t /data/nativetest64/$TEST/$TEST --gtest_filter="*IntegrationTest*" --gtest_repeat=100 --gtest_break_on_failure
Bug: 325695791
Change-Id: I14aae8a1eaa888f4995c5cffc876c6b3c8b0196b
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions