Home
last modified time | relevance | path

Searched refs:callbackResult (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsGroupCallSessionTest.java79 SomeArgs callbackResult = mCallback.waitOnAvailableSaisUpdatedCalls(); in testCallbacks() local
80 assertEquals(callbackResult.arg1, expectCurrentSais); in testCallbacks()
81 assertEquals(callbackResult.arg2, expectAvailableSais); in testCallbacks()
86 callbackResult = mCallback.waitOnServiceInterfaceAvailableCalls(); in testCallbacks()
87 assertEquals(interfaceName, callbackResult.arg1); in testCallbacks()
88 assertEquals(index, callbackResult.arg2); in testCallbacks()
/cts/apps/CtsVerifier/jni/audio_loopback/
DNativeAudioAnalyzer.cpp67 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in dataCallbackProc() local
105 callbackResult = AAUDIO_CALLBACK_RESULT_STOP; in dataCallbackProc()
121 callbackResult = AAUDIO_CALLBACK_RESULT_STOP; in dataCallbackProc()
137 callbackResult = AAUDIO_CALLBACK_RESULT_STOP; in dataCallbackProc()
173 callbackResult = AAUDIO_CALLBACK_RESULT_STOP; in dataCallbackProc()
179 return callbackResult; in dataCallbackProc()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java291 CompletableFuture<Bundle> callbackResult = new CompletableFuture<>(); in testSmsRetriever() local
297 .putExtra("callback", new RemoteCallback(callbackResult::complete))); in testSmsRetriever()
300 Bundle bundle = callbackResult.get(200, TimeUnit.SECONDS); in testSmsRetriever()
490 CompletableFuture<Bundle> callbackResult = new CompletableFuture<>(); in testGetSmsMessagesForFinancialAppPermissionRequestedNotGranted() local
495 .putExtra("callback", new RemoteCallback(callbackResult::complete))); in testGetSmsMessagesForFinancialAppPermissionRequestedNotGranted()
497 Bundle bundle = callbackResult.get(500, TimeUnit.SECONDS); in testGetSmsMessagesForFinancialAppPermissionRequestedNotGranted()
505 CompletableFuture<Bundle> callbackResult = new CompletableFuture<>(); in testGetSmsMessagesForFinancialAppPermissionRequestedGranted() local
516 .putExtra("callback", new RemoteCallback(callbackResult::complete))); in testGetSmsMessagesForFinancialAppPermissionRequestedGranted()
519 Bundle bundle = callbackResult.get(500, TimeUnit.SECONDS); in testGetSmsMessagesForFinancialAppPermissionRequestedGranted()
670 CompletableFuture<Bundle> callbackResult = new CompletableFuture<>(); in assertCanAccessSms() local
[all …]
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java314 final CompletableFuture<Bundle> callbackResult = new CompletableFuture<>(); in writeToFileWithDelegator() local
321 .putExtra(EXTRA_CALLBACK, new RemoteCallback(callbackResult::complete))); in writeToFileWithDelegator()
323 final Bundle resultBundle = callbackResult.get(SHORT_TIMEOUT, TimeUnit.MILLISECONDS); in writeToFileWithDelegator()