Searched refs:ModelSessionObserver (Results 1 – 3 of 3) sorted by relevance
72 public static class ModelSessionObserver implements AutoCloseable { class in SoundTriggerInstrumentationObserver113 private ModelSessionObserver(ModelSession modelSession) { in ModelSessionObserver() method in SoundTriggerInstrumentationObserver.ModelSessionObserver206 private SettableFuture<ModelSessionObserver> mOnModelLoaded = SettableFuture.create();215 private ModelSessionObserver mModelSessionObserver;223 mModelSessionObserver = new ModelSessionObserver(modelSession);268 public ListenableFuture<ModelSessionObserver> getOnModelLoadedFuture() { in getOnModelLoadedFuture()365 ModelSessionObserver::getOnRecognitionStartedFuture, Runnable::run); in getOnRecognitionStartedFuture()
64 … android.soundtrigger.cts.instrumentation.SoundTriggerInstrumentationObserver.ModelSessionObserver;352 ModelSessionObserver modelSession = mInstrumentationObserver in testAbortRecognitionAndOnResourceAvailable_recognitionPausedAndResumed()691 ModelSessionObserver::getOnRecognitionStartedFuture, Runnable::run); in testOnPhoneCall_recognitionPausedAndResumed()694 final ModelSessionObserver modelSession in testOnPhoneCall_recognitionPausedAndResumed()970 ModelSessionObserver::getOnRecognitionStartedFuture, Runnable::run); in testAppOpsLostReacquired_recognitionPausedResumed()974 final ModelSessionObserver modelSession in testAppOpsLostReacquired_recognitionPausedResumed()1024 ModelSessionObserver::getOnRecognitionStartedFuture, Runnable::run); in testRecognitionNotRequested_afterResumeFailed()1085 ModelSessionObserver modelSessionObserver = waitForFutureDoneAndAssertSuccessful( in testDestroy_halModelUnloadedAndClientDetached()1231 ModelSessionObserver modelSessionObserver = waitForFutureDoneAndAssertSuccessful( in testDspEnrollment_enrollmentStopsRunningSession_onFailureAndEnrolledReceived()
46 … android.soundtrigger.cts.instrumentation.SoundTriggerInstrumentationObserver.ModelSessionObserver;324 final ListenableFuture<ModelSessionObserver> modelSessionFuture = in testStartTriggerStopRecognitionRace_doesNotFail()330 final ModelSessionObserver modelSessionObserver = waitForFutureDoneAndAssertSuccessful( in testStartTriggerStopRecognitionRace_doesNotFail()