Searched refs:waitForEvent (Results 1 – 7 of 7) sorted by relevance
182 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithNoConnectionService()195 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithSameConnectionService()204 assertFalse(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithSameConnectionService()207 assertFalse(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithSameConnectionService()219 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithDifferentConnectionService()227 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithDifferentConnectionService()
254 public boolean waitForEvent(int event) { in waitForEvent() method in MockConnectionService
539 assertTrue(connectionService.waitForEvent( in testSelfManagedConnectionServiceLostFocus()
140 moveEvents = waitForEvent(fileObserver); in helpTestFileObserver()179 moveEvents = waitForEvent(movedFileObserver); in helpTestFileObserver()207 final FileEvent[] moveEvents = waitForEvent(fileObserver); in verifyTriggeredEventsOnFile()232 final FileEvent[] moveEvents = waitForEvent(fileObserver); in verifyTriggeredEventsOnDir()332 private FileEvent[] waitForEvent(MockFileObserver fileObserver) in waitForEvent() method in FileObserverTest
147 private void finishActivity(boolean waitForEvent) throws Exception { in finishActivity() argument148 if (waitForEvent) { in finishActivity()
161 SensorEventRegistry registry = waitForEvent(); in awaitAndVerifyEvent()234 private SensorEventRegistry waitForEvent() throws InterruptedException { in waitForEvent() method in OffBodySensorTestActivity.SensorEventVerifier235 return waitForEvent(null); in waitForEvent()238 private SensorEventRegistry waitForEvent(PowerManager.WakeLock suspendLock) in waitForEvent() method in OffBodySensorTestActivity.SensorEventVerifier515 registry = mVerifier.waitForEvent(); in runWakeAPOffbodyDetectTest()525 registry = mVerifier.waitForEvent(); in runWakeAPOffbodyDetectTest()548 registry = mVerifier.waitForEvent(mDeviceSuspendLock); in runWakeAPOffbodyDetectTest()
171 private InputEvent waitForEvent() { in waitForEvent() method in InputTestCase181 InputEvent event = waitForEvent(); in waitForKey()189 InputEvent event = waitForEvent(); in waitForMotion()