Home
last modified time | relevance | path

Searched refs:captureAvailable (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java1165 public final boolean captureAvailable; field in SoundTrigger.RecognitionEvent
1241 public RecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, in RecognitionEvent() argument
1245 this(status, soundModelHandle, captureAvailable, in RecognitionEvent()
1252 public RecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, in RecognitionEvent() argument
1259 this.captureAvailable = captureAvailable; in RecognitionEvent()
1277 return captureAvailable; in isCaptureAvailable()
1352 boolean captureAvailable = in.readByte() == 1; in fromParcel()
1372 return new RecognitionEvent(status, soundModelHandle, captureAvailable, captureSession, in fromParcel()
1386 dest.writeByte((byte) (captureAvailable ? 1 : 0)); in writeToParcel()
1408 result = prime * result + (captureAvailable ? 1231 : 1237); in hashCode()
[all …]
DConversionUtil.java232 recognitionEvent.captureAvailable, captureSession, recognitionEvent.captureDelayMs, in aidl2apiRecognitionEvent()
254 recognitionEvent.common.captureAvailable, captureSession, in aidl2apiPhraseRecognitionEvent()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java163 private EventPayload(boolean triggerAvailable, boolean captureAvailable, in EventPayload() argument
166 mCaptureAvailable = captureAvailable; in EventPayload()
380 new EventPayload(event.triggerInData, event.captureAvailable, in onGenericSoundTriggerDetected()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java439 boolean captureAvailable, in EventPayload() argument
449 mCaptureAvailable = captureAvailable; in EventPayload()
654 public Builder setCaptureAvailable(boolean captureAvailable) { in setCaptureAvailable() argument
655 mCaptureAvailable = captureAvailable; in setCaptureAvailable()
1023 @ElapsedRealtimeLong long halEventReceivedMillis, boolean captureAvailable, in triggerHardwareRecognitionEventForTest() argument
1035 new KeyphraseRecognitionEvent(status, soundModelHandle, captureAvailable, in triggerHardwareRecognitionEventForTest()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DTestUtil.java326 halEvent.captureAvailable = true; in createRecognitionEvent_2_0()
354 event.captureAvailable = true; in createRecognitionEvent()
384 assertTrue(event.captureAvailable); in validateRecognitionEvent()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DConversionUtil.java304 aidlEvent.captureAvailable = hidlEvent.captureAvailable; in hidl2aidlRecognitionEvent()
DFakeSoundTriggerHal.java646 event.captureAvailable = true; in createDefaultEvent()