Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java141 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()
DMockConnectionService.java171 public boolean waitForEvent(int event) { in waitForEvent() method in MockConnectionService
DSelfManagedConnectionServiceTest.java434 assertTrue(connectionService.waitForEvent( in testSelfManagedConnectionServiceLostFocus()
/cts/tests/tests/os/src/android/os/cts/
DFileObserverTest.java123 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
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/
DToastTest.java145 private void finishActivity(boolean waitForEvent) throws Exception { in finishActivity() argument
146 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()