Searched refs:waitForEvent (Results 1 – 6 of 6) sorted by relevance
141 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithNoConnectionService()153 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithSameConnectionService()161 assertFalse(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithSameConnectionService()164 assertFalse(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithSameConnectionService()176 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithDifferentConnectionService()184 assertTrue(connectionService.waitForEvent( in testConnectionServiceFocusGainedWithDifferentConnectionService()
171 public boolean waitForEvent(int event) { in waitForEvent() method in MockConnectionService
434 assertTrue(connectionService.waitForEvent( in testSelfManagedConnectionServiceLostFocus()
123 moveEvents = waitForEvent(fileObserver); in helpTestFileObserver()136 moveEvents = waitForEvent(fileObserver); in helpTestFileObserver()158 moveEvents = waitForEvent(fileObserver); in helpTestFileObserver()182 moveEvents = waitForEvent(fileObserver); in helpTestFileObserver()189 moveEvents = waitForEvent(movedFrom); in helpTestFileObserver()196 moveEvents = waitForEvent(movedTo); in helpTestFileObserver()254 private FileEvent[] waitForEvent(MockFileObserver fileObserver) in waitForEvent() method in FileObserverTest
145 private void finishActivity(boolean waitForEvent) throws Exception { in finishActivity() argument146 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()