Home
last modified time | relevance | path

Searched refs:recognitionStillActive (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DTestUtil.java350 boolean recognitionStillActive) { in createRecognitionEvent() argument
366 event.recognitionStillActive = recognitionStillActive; in createRecognitionEvent()
381 boolean recognitionStillActive) { in validateRecognitionEvent() argument
393 assertEquals(recognitionStillActive, event.recognitionStillActive); in validateRecognitionEvent()
397 boolean recognitionStillActive) { in createPhraseRecognitionEvent() argument
399 event.common = createRecognitionEvent(status, recognitionStillActive); in createPhraseRecognitionEvent()
456 @RecognitionStatus int status, boolean recognitionStillActive) { in validatePhraseRecognitionEvent() argument
457 validateRecognitionEvent(event.common, status, recognitionStillActive); in validatePhraseRecognitionEvent()
DSoundTriggerMiddlewareImplTest.java630 boolean recognitionStillActive, @ElapsedRealtimeLong long halEventReceivedMillis) { in sendRecognitionEvent() argument
633 recognitionStillActive); in sendRecognitionEvent()
640 @RecognitionStatus int status, boolean recognitionStillActive, in sendPhraseRecognitionEvent() argument
644 recognitionStillActive); in sendPhraseRecognitionEvent()
DSoundTriggerHalConcurrentCaptureHandlerTest.java78 assertFalse(event.recognitionEvent.recognitionStillActive); in testBasic()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerHalEnforcer.java264 if (event.recognitionEvent.recognitionStillActive in recognitionCallback()
273 if (!event.recognitionEvent.recognitionStillActive) { in recognitionCallback()
290 if (event.phraseRecognitionEvent.common.recognitionStillActive in phraseRecognitionCallback()
299 if (!event.phraseRecognitionEvent.common.recognitionStillActive) { in phraseRecognitionCallback()
DSoundTriggerHw3Compat.java249 event.common.recognitionStillActive |= event.common.status == RecognitionStatus.FORCED; in phraseRecognitionCallback()
259 event.recognitionStillActive |= event.status == RecognitionStatus.FORCED; in recognitionCallback()
DSoundTriggerHalConcurrentCaptureHandler.java247 if (!event.recognitionEvent.recognitionStillActive) { in recognitionCallback()
264 if (!event.phraseRecognitionEvent.common.recognitionStillActive) { in phraseRecognitionCallback()
DSoundTriggerModule.java500 if (!event.recognitionEvent.recognitionStillActive) { in recognitionCallback()
526 if (!event.phraseRecognitionEvent.common.recognitionStillActive) { in phraseRecognitionCallback()
DSoundTriggerMiddlewareValidation.java695 if (!event.recognitionEvent.recognitionStillActive) { in onRecognition()
713 if (!event.phraseRecognitionEvent.common.recognitionStillActive) { in onPhraseRecognition()
DFakeSoundTriggerHal.java653 event.recognitionStillActive = false; in createDefaultEvent()
DConversionUtil.java313 aidlEvent.recognitionStillActive = aidlEvent.status == RecognitionStatus.FORCED; in hidl2aidlRecognitionEvent()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java1214 public final boolean recognitionStillActive; field in SoundTrigger.RecognitionEvent
1255 boolean recognitionStillActive, @ElapsedRealtimeLong long halEventReceivedMillis, in RecognitionEvent() argument
1266 this.recognitionStillActive = recognitionStillActive; in RecognitionEvent()
1369 boolean recognitionStillActive = in.readBoolean(); in fromParcel()
1374 recognitionStillActive, halEventReceivedMillis, token); in fromParcel()
1400 dest.writeBoolean(recognitionStillActive); in writeToParcel()
1421 result = result + (recognitionStillActive ? 1289 : 1291); in hashCode()
1446 if (recognitionStillActive != other.recognitionStillActive) in equals()
1491 + ", recognitionStillActive=" + recognitionStillActive in toString()
1930 boolean recognitionStillActive, @ElapsedRealtimeLong long halEventReceivedMillis, in KeyphraseRecognitionEvent() argument
[all …]
DConversionUtil.java235 recognitionEvent.recognitionStillActive, aidlEvent.halEventReceivedMillis, in aidl2apiRecognitionEvent()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java823 if (!event.recognitionStillActive) { in onGenericRecognitionLocked()
949 if (!event.recognitionStillActive) { in onKeyphraseRecognitionLocked()