Home
last modified time | relevance | path

Searched refs:waitForEvent (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java182 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()
DMockConnectionService.java254 public boolean waitForEvent(int event) { in waitForEvent() method in MockConnectionService
DSelfManagedConnectionServiceTest.java539 assertTrue(connectionService.waitForEvent( in testSelfManagedConnectionServiceLostFocus()
/cts/tests/tests/os/src/android/os/cts/
DFileObserverTest.java140 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
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/
DToastTest.java147 private void finishActivity(boolean waitForEvent) throws Exception { in finishActivity() argument
148 if (waitForEvent) { in finishActivity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DOffBodySensorTestActivity.java161 SensorEventRegistry registry = waitForEvent(); in awaitAndVerifyEvent()
234 private SensorEventRegistry waitForEvent() throws InterruptedException { in waitForEvent() method in OffBodySensorTestActivity.SensorEventVerifier
235 return waitForEvent(null); in waitForEvent()
238 private SensorEventRegistry waitForEvent(PowerManager.WakeLock suspendLock) in waitForEvent() method in OffBodySensorTestActivity.SensorEventVerifier
515 registry = mVerifier.waitForEvent(); in runWakeAPOffbodyDetectTest()
525 registry = mVerifier.waitForEvent(); in runWakeAPOffbodyDetectTest()
548 registry = mVerifier.waitForEvent(mDeviceSuspendLock); in runWakeAPOffbodyDetectTest()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java171 private InputEvent waitForEvent() { in waitForEvent() method in InputTestCase
181 InputEvent event = waitForEvent(); in waitForKey()
189 InputEvent event = waitForEvent(); in waitForMotion()