Searched refs:SCHEDULE_TIME (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | KeyCombinationManagerTests.java | 58 private static final long SCHEDULE_TIME = 300; field in KeyCombinationManagerTests 119 mHandler.postDelayed(mAction, SCHEDULE_TIME); in initKeyCombinationRules() 164 assertTrue(mAction1Triggered.await(SCHEDULE_TIME, TimeUnit.MILLISECONDS)); in testTriggerRule() 167 assertTrue(mAction2Triggered.await(SCHEDULE_TIME, TimeUnit.MILLISECONDS)); in testTriggerRule() 169 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_UP, SCHEDULE_TIME + 50); in testTriggerRule() 170 assertTrue(mAction3Triggered.await(SCHEDULE_TIME, TimeUnit.MILLISECONDS)); in testTriggerRule() 180 assertFalse(mAction1Triggered.await(SCHEDULE_TIME, TimeUnit.MILLISECONDS)); in testNotTrigger_NoRule() 181 assertFalse(mAction2Triggered.await(SCHEDULE_TIME, TimeUnit.MILLISECONDS)); in testNotTrigger_NoRule() 182 assertFalse(mAction3Triggered.await(SCHEDULE_TIME, TimeUnit.MILLISECONDS)); in testNotTrigger_NoRule() 193 assertFalse(mAction1Triggered.await(SCHEDULE_TIME, TimeUnit.MILLISECONDS)); in testNotTrigger_Interval() [all …]
|