Searched refs:waitForEvent (Results 1 – 7 of 7) sorted by relevance
168 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithNoConnectionService()181 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithSameConnectionService()190 assertFalse(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithSameConnectionService()193 assertFalse(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithSameConnectionService()205 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithDifferentConnectionService()213 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithDifferentConnectionService()
173 public boolean waitForEvent(int event) { in waitForEvent() method in MockConnectionService
538 assertTrue(connectionService.waitForEvent( in testSelfManagedConnectionServiceLostFocus()
147 private void finishActivity(boolean waitForEvent) throws Exception { in finishActivity() argument148 if (waitForEvent) { in finishActivity()
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
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()