summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Horvath <robhor@google.com>2020-03-19 17:09:50 +0100
committerRobert Horvath <robhor@google.com>2020-03-19 17:16:53 +0100
commitfc6e42f3263aaf415bdb0fbd22897d90e4db0916 (patch)
tree31b3b24dfcbac0b7befb87cdaedb6c860da944f3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent711ba26816dc2102578ab087c7919dcc9cc9be9f (diff)
Deflake InattentiveSleep tests
Some inattentive sleep tests showed flakiness because of timing issues. Adjusting sleeps helps increase chance scheduled messages have been handled. The change in PowerManagerService is for the case when now == mLastUserActivityTime + attentiveTimeout. updateAttentiveStateLocked considered this time as time to go to sleep, but isAttentiveTimeoutExpired would report false for another millisecond as it used > comparison instead of >= comparison. Bug: 149340215 Test: atest --iterations 200 PowerManagerServiceTest#testInattentive* Change-Id: Ibe5168664c1e01c6e480610686e19573c8df6c6f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions