Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DMediaRequestHandlerTest.java197 mTestZoneAudioRequestCallback.waitForCallback(); in requestMediaAudioOnPrimaryZone_callsApprover()
209 mTestMediaRequestStatusCallback.waitForCallback(); in requestMediaAudioOnPrimaryZone_withoutApprover()
229 mTestMediaRequestStatusCallback.waitForCallback(); in acceptMediaAudioRequest()
271 mTestMediaRequestStatusCallback.waitForCallback(); in rejectMediaAudioRequest()
300 mTestMediaRequestStatusCallback.waitForCallback(); in cancelMediaAudioOnPrimaryZone()
319 mTestZoneAudioRequestCallback.waitForCallback(); in cancelMediaAudioOnPrimaryZone_callsApprover()
348 mTestMediaRequestStatusCallback.waitForCallback(); in stopMediaAudioOnPrimaryZone()
389 mTestMediaRequestStatusCallback.waitForCallback(); in getOccupantForRequest_afterApproval()
405 mTestMediaRequestStatusCallback.waitForCallback(); in getOccupantForRequest_afterRejection()
420 mTestMediaRequestStatusCallback.waitForCallback(); in getOccupantForRequest_afterCanceled()
[all …]
DCarAudioServiceUnitTest.java2952 requestToken.waitForCallback(); in requestMediaAudioOnPrimaryZone_withPassengerOccupant_callsApprover()
2971 mirrorCallback.waitForCallback(); in requestMediaAudioOnPrimaryZone_withZoneMirroring_fails()
2992 requestToken.waitForCallback(); in binderDied_onMediaRequestApprover_resetsApprovedRequest()
2995 requestToken.waitForCallback(); in binderDied_onMediaRequestApprover_resetsApprovedRequest()
2996 requestCallback.waitForCallback(); in binderDied_onMediaRequestApprover_resetsApprovedRequest()
3001 requestCallback.waitForCallback(); in binderDied_onMediaRequestApprover_resetsApprovedRequest()
3018 requestToken.waitForCallback(); in allowMediaAudioOnPrimaryZone_withAllowedRequest()
3036 requestToken.waitForCallback(); in allowMediaAudioOnPrimaryZone_whileMirroring_fails()
3040 mirrorCallback.waitForCallback(); in allowMediaAudioOnPrimaryZone_whileMirroring_fails()
3041 requestCallback.waitForCallback(); in allowMediaAudioOnPrimaryZone_whileMirroring_fails()
[all …]
DCarAudioMirrorRequestHandlerTest.java328 mTestCallback.waitForCallback(); in enableMirrorForZones_afterRegisteringCallback()
355 mTestCallback.waitForCallback(); in rejectMirrorForZones()
393 mTestCallback.waitForCallback(); in updateMirrorConfigurationForZones()
399 mTestCallback.waitForCallback(); in updateMirrorConfigurationForZones()
413 mTestCallback.waitForCallback(); in updateMirrorConfigurationForZones_forSingleZone_inThreeZoneConfig()
420 mTestCallback.waitForCallback(); in updateMirrorConfigurationForZones_forSingleZone_inThreeZoneConfig()
546 private void waitForCallback() throws Exception { in waitForCallback() method in CarAudioMirrorRequestHandlerTest.TestAudioZonesMirrorStatusCallbackCallback
DCarVolumeEventHandlerTest.java66 mCarVolumeEventCallback.waitForCallback()).isTrue(); in onMasterMuteChanged()
77 mCarVolumeEventCallback.waitForCallback()).isTrue(); in onVolumeGroupEvent()
DTestCarVolumeEventCallback.java51 boolean waitForCallback() throws Exception { in waitForCallback() method in TestCarVolumeEventCallback
/packages/modules/Profiling/tests/cts/src/android/profiling/cts/
DProfilingFrameworkTests.java171 waitForCallback(callback); in testInvalidProfilingType()
198 waitForCallback(callback); in testInvalidProfilingParams()
224 waitForCallback(callback); in testRequestJavaHeapDumpSuccess()
255 waitForCallback(callback); in testRequestHeapProfileSuccess()
285 waitForCallback(callback); in testRequestStackSamplingSuccess()
317 waitForCallback(callback); in testRequestSystemTraceSuccess()
501 waitForCallback(callbackSpecific); in testUnregisterGeneralListener()
540 waitForCallback(callbackSpecific); in testTriggerAllListeners()
586 waitForCallback(callbackSpecific); in testTriggerAllListenersDifferentContexts()
619 waitForCallback(callback); in testRequestTagInFilename()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanManager.java1031 private boolean waitForCallback() { in waitForCallback() method in ScanManager.ScanNative
1032 return mNativeInterface.waitForCallback(OPERATION_TIME_OUT_MILLIS); in waitForCallback()
1193 waitForCallback(); in resetBatchScan()
1208 waitForCallback(); in resetBatchScan()
1221 waitForCallback(); in resetBatchScan()
1441 waitForCallback(); in flushBatchResults()
1447 waitForCallback(); in flushBatchResults()
1492 waitForCallback(); in configureScanFilters()
1503 waitForCallback(); in configureScanFilters()
1515 waitForCallback(); in configureScanFilters()
[all …]
DScanNativeInterface.java216 boolean waitForCallback(int timeoutMs) { in waitForCallback() method in ScanNativeInterface
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacProxyManagerTest.java120 public boolean waitForCallback() throws Exception { in waitForCallback() method in PacProxyManagerTest.TestPacProxyInstalledListener
193 listener.waitForCallback()); in testSetCurrentProxyScriptUrl()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarAudioManagerUnitTest.java1059 mTestConfigCallback.waitForCallback(); in onAudioZoneConfigurationsChanged_onRegisteredCallback()
1873 private void waitForCallback() throws Exception { in waitForCallback() method in CarAudioManagerUnitTest.TestAudioZoneConfigurationsChangeCallback
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java1055 called = mMirrorStatusCallback.waitForCallback(); in runSetAudioMirror()
1113 called = mMirrorStatusCallback.waitForCallback(); in runUnsetAudioMirror()
4409 private boolean waitForCallback() throws Exception {
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanManagerTest.java195 doReturn(true).when(mScanNativeInterface).waitForCallback(anyInt()); in setUp()