Home
last modified time | relevance | path

Searched refs:modelSessionFuture (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DAlwaysOnHotwordDetectorTest.java688 final var modelSessionFuture = mInstrumentationObserver.getGlobalCallbackObserver() in testOnPhoneCall_recognitionPausedAndResumed() local
690 final var firstRecogSessionFuture = Futures.transformAsync(modelSessionFuture, in testOnPhoneCall_recognitionPausedAndResumed()
695 = waitForFutureDoneAndAssertSuccessful(modelSessionFuture); in testOnPhoneCall_recognitionPausedAndResumed()
966 final var modelSessionFuture = mInstrumentationObserver.getGlobalCallbackObserver() in testAppOpsLostReacquired_recognitionPausedResumed() local
969 final var firstRecogSessionFuture = Futures.transformAsync(modelSessionFuture, in testAppOpsLostReacquired_recognitionPausedResumed()
975 = waitForFutureDoneAndAssertSuccessful(modelSessionFuture); in testAppOpsLostReacquired_recognitionPausedResumed()
1020 final var modelSessionFuture = mInstrumentationObserver.getGlobalCallbackObserver() in testRecognitionNotRequested_afterResumeFailed() local
1023 final var firstRecogSessionFuture = Futures.transformAsync(modelSessionFuture, in testRecognitionNotRequested_afterResumeFailed()
1028 final var modelSession = waitForFutureDoneAndAssertSuccessful(modelSessionFuture); in testRecognitionNotRequested_afterResumeFailed()
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/
DSoundTriggerManagerTest.java324 final ListenableFuture<ModelSessionObserver> modelSessionFuture = in testStartTriggerStopRecognitionRace_doesNotFail() local
331 modelSessionFuture); in testStartTriggerStopRecognitionRace_doesNotFail()