Searched refs:waitForFutureDoneAndAssertSuccessful (Results 1 – 6 of 6) sorted by relevance
35 import static android.voiceinteraction.cts.testcore.Helper.waitForFutureDoneAndAssertSuccessful;242 RecognitionSession recognitionSession = waitForFutureDoneAndAssertSuccessful( in testStartRecognition_success()274 assertThat(waitForFutureDoneAndAssertSuccessful( in testHalIsDead_onFailureReceived()306 RecognitionSession recognitionSession = waitForFutureDoneAndAssertSuccessful( in testRecognitionResumedFailed_onFailureReceived()348 RecognitionSession recognitionSession = waitForFutureDoneAndAssertSuccessful( in testAbortRecognitionAndOnResourceAvailable_recognitionPausedAndResumed()366 recognitionSession = waitForFutureDoneAndAssertSuccessful( in testAbortRecognitionAndOnResourceAvailable_recognitionPausedAndResumed()381 recognitionSession = waitForFutureDoneAndAssertSuccessful( in testAbortRecognitionAndOnResourceAvailable_recognitionPausedAndResumed()408 waitForFutureDoneAndAssertSuccessful( in testStartRecognitionNoFlagBatterySaverAllEnabled_noRecognitionPaused()449 waitForFutureDoneAndAssertSuccessful( in testStartRecognitionNoFlagBatterySaverCriticalOnly_recognitionPaused()496 waitForFutureDoneAndAssertSuccessful( in testStartRecognitionNoFlagBatterySaverAllDisabled_recognitionPaused()[all …]
27 import static android.voiceinteraction.cts.testcore.Helper.waitForFutureDoneAndAssertSuccessful;271 waitForFutureDoneAndAssertSuccessful( in startAndTriggerRecognition()
28 import static android.voiceinteraction.cts.testcore.Helper.waitForFutureDoneAndAssertSuccessful;363 waitForFutureDoneAndAssertSuccessful(mInstrumentationObserver in verifyHotwordOnDetectFromDspSuccess()
31 import static android.voiceinteraction.cts.testcore.Helper.waitForFutureDoneAndAssertSuccessful;881 RecognitionSession recognitionSession = waitForFutureDoneAndAssertSuccessful( in testHotwordDetectionServiceDspWithAudioEgress()1238 RecognitionSession recognitionSession = waitForFutureDoneAndAssertSuccessful( in testHotwordDetectionServiceDspWithAudioEgressWrongCopyBufferSize()1969 RecognitionSession recognitionSession = waitForFutureDoneAndAssertSuccessful( in testHotwordDetectionService_dspDetector_duringOnDetect_serviceRestart()2030 RecognitionSession recognitionSession = waitForFutureDoneAndAssertSuccessful( in verifyOnDetectFromDspWithSoundTriggerInjectionSuccess()2244 waitForFutureDoneAndAssertSuccessful( in setupForWearableTests()
133 public static <V> V waitForFutureDoneAndAssertSuccessful(Future<V> future) { in waitForFutureDoneAndAssertSuccessful() method in SoundTriggerManagerTest231 RecognitionSession recognitionSession = waitForFutureDoneAndAssertSuccessful( in testStartRecognitionSucceeds_whenHoldingPermissions()236 waitForFutureDoneAndAssertSuccessful(detectedFuture); in testStartRecognitionSucceeds_whenHoldingPermissions()246 RecognitionSession recognitionSession = waitForFutureDoneAndAssertSuccessful( in testRecognitionEvent_notesAppOps()275 waitForFutureDoneAndAssertSuccessful(ambientOpFuture); in testRecognitionEvent_notesAppOps()276 waitForFutureDoneAndAssertSuccessful(detectedFuture); in testRecognitionEvent_notesAppOps()330 final ModelSessionObserver modelSessionObserver = waitForFutureDoneAndAssertSuccessful( in testStartTriggerStopRecognitionRace_doesNotFail()335 RecognitionSession recognitionSession = waitForFutureDoneAndAssertSuccessful( in testStartTriggerStopRecognitionRace_doesNotFail()347 recognitionSession = waitForFutureDoneAndAssertSuccessful( in testStartTriggerStopRecognitionRace_doesNotFail()358 waitForFutureDoneAndAssertSuccessful(detectedFuture); in testStartTriggerStopRecognitionRace_doesNotFail()
405 public static <V> V waitForFutureDoneAndAssertSuccessful(Future<V> future) {418 assertThat(waitForFutureDoneAndAssertSuccessful(future)).isNull();