Home
last modified time | relevance | path

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

/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java526 boolean waitForCallback(int callback) { in waitForCallback() method in SingleDeviceTest.DiscoverySessionCallbackTest
527 return waitForCallback(callback, WAIT_FOR_AWARE_CHANGE_SECS); in waitForCallback()
543 boolean waitForCallback(int callback, int timeoutSec) { in waitForCallback() method in SingleDeviceTest.DiscoverySessionCallbackTest
899 discoveryCb.waitForCallback(DiscoverySessionCallbackTest.ON_PUBLISH_STARTED)); in testPublishDiscoverySuccess()
902 assertFalse(discoveryCb.waitForCallback( in testPublishDiscoverySuccess()
904 assertFalse(discoveryCb.waitForCallback( in testPublishDiscoverySuccess()
927 assertTrue("Publish update", discoveryCb.waitForCallback( in testPublishDiscoverySuccess()
937 assertFalse("Publish update post destroy", discoveryCb.waitForCallback( in testPublishDiscoverySuccess()
970 discoveryCb.waitForCallback(DiscoverySessionCallbackTest.ON_PUBLISH_STARTED)); in testPublishLimitedTtlSuccess()
976 discoveryCb.waitForCallback(DiscoverySessionCallbackTest.ON_SESSION_TERMINATED, in testPublishLimitedTtlSuccess()
[all …]
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/
DAssistUtilsHelperTest.java78 callbackHelperImpl.waitForCallback(); in testOnShownCallback()
101 callbackHelperImpl.waitForCallback(); in isSessionRunning_whenSessionIsShown_succeeds()
118 callbackHelperImpl.waitForCallback(); in registerVoiceInteractionSessionListenerHelper_onShowSession()
137 callbackHelperImpl.waitForCallback(); in registerVoiceInteractionSessionListenerHelper_hideCurrentSession()
225 private void waitForCallback() throws Exception { in waitForCallback() method in AssistUtilsHelperTest.SessionShowCallbackHelperImpl
/cts/tests/tests/broadcastradio/src/android/broadcastradio/cts/
DRadioTunerTest.java264 mExpect.withMessage("List update completion").that(completeListener.waitForCallback()) in getDynamicProgramList_programListUpdated()
281 .that(completeListener.waitForCallback()).isTrue(); in getProgramInfos_fromDynamicProgramList()
308 .that(completeListener.waitForCallback()).isTrue(); in tune_withHdSelectorFromDynamicProgramList()
336 .that(completeListener.waitForCallback()).isTrue(); in getMetadataImage()
458 public boolean waitForCallback() throws InterruptedException { in waitForCallback() method in RadioTunerTest.TestOnCompleteListener
DAbstractRadioTestCase.java202 return waitForCallback(mProgramInfoChangeLatch, timeoutMs); in waitForProgramInfoChangeCallback()
205 private boolean waitForCallback(CountDownLatch latch, int timeoutMs) in waitForCallback() method in AbstractRadioTestCase.TestRadioTunerCallback
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DWifiRttTest.java260 callback.waitForCallback()); in range11mcApRequest()
404 callback.waitForCallback()); in range11azApRequest()
585 callback.waitForCallback()); in testRangingToTestApWithResponderLocation()
734 callback.waitForCallback()); in testAwareRttWithMacAddress()
755 callback.waitForCallback()); in testAwareRttWithPeerHandle()
857 callback.waitForCallback()); in rangeNon11mcApRequest()
DTestBase.java259 boolean waitForCallback() throws InterruptedException { in waitForCallback() method in TestBase.ResultCallback
/cts/tests/tests/car/src/android/car/cts/
DCarAudioManagerTest.java1358 mAudioZonesMirrorCallback.waitForCallback(); in enableMirrorForAudioZones()
1390 mAudioZonesMirrorCallback.waitForCallback(); in disableAudioMirrorForZone()
1396 mAudioZonesMirrorCallback.waitForCallback(); in disableAudioMirrorForZone()
1412 mAudioZonesMirrorCallback.waitForCallback(); in disableAudioMirror()
1418 mAudioZonesMirrorCallback.waitForCallback(); in disableAudioMirror()
1435 mAudioZonesMirrorCallback.waitForCallback(); in getMirrorAudioZonesForAudioZone()
1451 mAudioZonesMirrorCallback.waitForCallback(); in getMirrorAudioZonesForMirrorRequest()
2184 private void waitForCallback() throws InterruptedException { in waitForCallback() method in CarAudioManagerTest.TestAudioZonesMirrorStatusCallback