Searched refs:modelSessionFuture (Results 1 – 2 of 2) sorted by relevance
688 final var modelSessionFuture = mInstrumentationObserver.getGlobalCallbackObserver() in testOnPhoneCall_recognitionPausedAndResumed() local690 final var firstRecogSessionFuture = Futures.transformAsync(modelSessionFuture, in testOnPhoneCall_recognitionPausedAndResumed()695 = waitForFutureDoneAndAssertSuccessful(modelSessionFuture); in testOnPhoneCall_recognitionPausedAndResumed()966 final var modelSessionFuture = mInstrumentationObserver.getGlobalCallbackObserver() in testAppOpsLostReacquired_recognitionPausedResumed() local969 final var firstRecogSessionFuture = Futures.transformAsync(modelSessionFuture, in testAppOpsLostReacquired_recognitionPausedResumed()975 = waitForFutureDoneAndAssertSuccessful(modelSessionFuture); in testAppOpsLostReacquired_recognitionPausedResumed()1020 final var modelSessionFuture = mInstrumentationObserver.getGlobalCallbackObserver() in testRecognitionNotRequested_afterResumeFailed() local1023 final var firstRecogSessionFuture = Futures.transformAsync(modelSessionFuture, in testRecognitionNotRequested_afterResumeFailed()1028 final var modelSession = waitForFutureDoneAndAssertSuccessful(modelSessionFuture); in testRecognitionNotRequested_afterResumeFailed()
324 final ListenableFuture<ModelSessionObserver> modelSessionFuture = in testStartTriggerStopRecognitionRace_doesNotFail() local331 modelSessionFuture); in testStartTriggerStopRecognitionRace_doesNotFail()