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.java81 SomeArgs callbackResult = mCallback.waitOnAvailableSaisUpdatedCalls(); in testCallbacks() local
82 assertEquals(callbackResult.arg1, expectCurrentSais); in testCallbacks()
83 assertEquals(callbackResult.arg2, expectAvailableSais); in testCallbacks()
88 callbackResult = mCallback.waitOnServiceInterfaceAvailableCalls(); in testCallbacks()
89 assertEquals(interfaceName, callbackResult.arg1); in testCallbacks()
90 assertEquals(index, callbackResult.arg2); in testCallbacks()
/cts/apps/CtsVerifier/jni/audio_loopback/
DNativeAudioAnalyzer.cpp62 aaudio_data_callback_result_t callbackResult = AAUDIO_CALLBACK_RESULT_CONTINUE; in dataCallbackProc() local
93 callbackResult = AAUDIO_CALLBACK_RESULT_STOP; in dataCallbackProc()
109 callbackResult = AAUDIO_CALLBACK_RESULT_STOP; in dataCallbackProc()
125 callbackResult = AAUDIO_CALLBACK_RESULT_STOP; in dataCallbackProc()
161 callbackResult = AAUDIO_CALLBACK_RESULT_STOP; in dataCallbackProc()
167 return callbackResult; in dataCallbackProc()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java267 CompletableFuture<Bundle> callbackResult = new CompletableFuture<>(); in testSmsRetriever() local
273 .putExtra("callback", new RemoteCallback(callbackResult::complete))); in testSmsRetriever()
276 Bundle bundle = callbackResult.get(200, TimeUnit.SECONDS); in testSmsRetriever()
435 CompletableFuture<Bundle> callbackResult = new CompletableFuture<>(); in testGetSmsMessagesForFinancialAppPermissionRequestedNotGranted() local
440 .putExtra("callback", new RemoteCallback(callbackResult::complete))); in testGetSmsMessagesForFinancialAppPermissionRequestedNotGranted()
442 Bundle bundle = callbackResult.get(500, TimeUnit.SECONDS); in testGetSmsMessagesForFinancialAppPermissionRequestedNotGranted()
450 CompletableFuture<Bundle> callbackResult = new CompletableFuture<>(); in testGetSmsMessagesForFinancialAppPermissionRequestedGranted() local
461 .putExtra("callback", new RemoteCallback(callbackResult::complete))); in testGetSmsMessagesForFinancialAppPermissionRequestedGranted()
464 Bundle bundle = callbackResult.get(500, TimeUnit.SECONDS); in testGetSmsMessagesForFinancialAppPermissionRequestedGranted()
615 CompletableFuture<Bundle> callbackResult = new CompletableFuture<>(); in assertCanAccessSms() local
[all …]
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java313 final CompletableFuture<Bundle> callbackResult = new CompletableFuture<>(); in writeToFileWithDelegator() local
320 .putExtra(EXTRA_CALLBACK, new RemoteCallback(callbackResult::complete))); in writeToFileWithDelegator()
322 final Bundle resultBundle = callbackResult.get(SHORT_TIMEOUT, TimeUnit.MILLISECONDS); in writeToFileWithDelegator()