summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2016-02-21 01:09:26 +0900
committerLorenzo Colitti <lorenzo@google.com>2016-03-02 17:01:50 +0900
commitbfecba2938bd01299c74bc7d7cf0191c1908776a (patch)
tree7f05776c6405cadd1a84703b2d4c6cf9b7887b97 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente7636e47504034c048872f251a0a7cb240017b31 (diff)
Speed up ConnectivityServiceTest.
1. Override WakeupMessage with an implementation that uses sendEmptyMessageDelayed. This allows us to replace a 6-second sleep with a 150ms wait. 2. Change waitFor()'s polling interval from 100ms to 50ms. With these changes ConnectivityServiceTest goes from ~9s to ~3s. Change-Id: Id78aab9cded90a5b17f09d7f437904e179808dd2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions