Home
last modified time | relevance | path

Searched refs:ModelSessionObserver (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/instrumentation/
DSoundTriggerInstrumentationObserver.java72 public static class ModelSessionObserver implements AutoCloseable { class in SoundTriggerInstrumentationObserver
113 private ModelSessionObserver(ModelSession modelSession) { in ModelSessionObserver() method in SoundTriggerInstrumentationObserver.ModelSessionObserver
206 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()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DAlwaysOnHotwordDetectorTest.java64 … 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()
/cts/tests/tests/soundtrigger/src/android/soundtrigger/cts/
DSoundTriggerManagerTest.java46 … android.soundtrigger.cts.instrumentation.SoundTriggerInstrumentationObserver.ModelSessionObserver;
324 final ListenableFuture<ModelSessionObserver> modelSessionFuture = in testStartTriggerStopRecognitionRace_doesNotFail()
330 final ModelSessionObserver modelSessionObserver = waitForFutureDoneAndAssertSuccessful( in testStartTriggerStopRecognitionRace_doesNotFail()