Home
last modified time | relevance | path

Searched refs:halEventReceivedMillis (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java1228 public final long halEventReceivedMillis; field in SoundTrigger.RecognitionEvent
1244 @ElapsedRealtimeLong long halEventReceivedMillis) { in RecognitionEvent() argument
1247 data, status == RECOGNITION_STATUS_GET_STATE_RESPONSE, halEventReceivedMillis, in RecognitionEvent()
1255 boolean recognitionStillActive, @ElapsedRealtimeLong long halEventReceivedMillis, in RecognitionEvent() argument
1267 this.halEventReceivedMillis = halEventReceivedMillis; in RecognitionEvent()
1323 return halEventReceivedMillis; in getHalEventReceivedMillis()
1370 long halEventReceivedMillis = in.readLong(); in fromParcel() local
1374 recognitionStillActive, halEventReceivedMillis, token); in fromParcel()
1401 dest.writeLong(halEventReceivedMillis); in writeToParcel()
1422 result = prime * result + Long.hashCode(halEventReceivedMillis); in hashCode()
[all …]
DConversionUtil.java235 recognitionEvent.recognitionStillActive, aidlEvent.halEventReceivedMillis, in aidl2apiRecognitionEvent()
258 recognitionEvent.common.data, apiExtras, aidlEvent.halEventReceivedMillis, in aidl2apiPhraseRecognitionEvent()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerHalConcurrentCaptureHandlerTest.java76 assertEquals(event.halEventReceivedMillis, -1); in testBasic()
124 assertEquals(eventCaptor.getValue().halEventReceivedMillis, -1); in testStopAfterActive()
144 recognitionEventSys.halEventReceivedMillis = 12345; in testAbortWhileStop()
175 recognitionEventSys.halEventReceivedMillis = 12345; in testActiveWhileStop()
211 recognitionEventSys.halEventReceivedMillis = 12345; in testStopWhileActive()
244 recognitionEventSys.halEventReceivedMillis = 12345; in testEventWhileActive()
276 recognitionEventSys.halEventReceivedMillis = 12345; in testNonFinalEventWhileActive()
DSoundTriggerMiddlewareImplTest.java512 assertEquals(12345, lastEvent.halEventReceivedMillis); in testAbortRecognition()
544 assertEquals(12345, lastEvent.halEventReceivedMillis); in testAbortPhraseRecognition()
630 boolean recognitionStillActive, @ElapsedRealtimeLong long halEventReceivedMillis) { in sendRecognitionEvent() argument
634 event.halEventReceivedMillis = halEventReceivedMillis; in sendRecognitionEvent()
641 @ElapsedRealtimeLong long halEventReceivedMillis) { in sendPhraseRecognitionEvent() argument
645 event.halEventReceivedMillis = halEventReceivedMillis; in sendPhraseRecognitionEvent()
DSoundHw2CompatTest.java629 assertThat(lastEvent.halEventReceivedMillis).isGreaterThan(0); in validateCallback_2_0()
647 assertThat(lastEvent.halEventReceivedMillis).isGreaterThan(0); in validateCallback_2_0()
670 assertThat(lastEvent.halEventReceivedMillis).isGreaterThan(0); in validateCallback_2_1()
687 assertThat(lastEvent.halEventReceivedMillis).isGreaterThan(0); in validateCallback_2_1()
705 assertThat(lastEvent.halEventReceivedMillis).isGreaterThan(0); in validateCallback_2_1()
721 assertThat(lastEvent.halEventReceivedMillis).isGreaterThan(0); in validateCallback_2_1()
DSoundTriggerMiddlewareLoggingLatencyTest.java196 phraseRecognitionEventSys.halEventReceivedMillis = 12345; in triggerPhraseRecognitionEvent()
/frameworks/base/media/aidl/android/media/soundtrigger_middleware/
DRecognitionEventSys.aidl36 long halEventReceivedMillis = -1;
DPhraseRecognitionEventSys.aidl36 long halEventReceivedMillis = -1;
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerHw3Compat.java252 phraseRecognitionEventSys.halEventReceivedMillis = SystemClock.elapsedRealtimeNanos(); in phraseRecognitionCallback()
262 recognitionEventSys.halEventReceivedMillis = SystemClock.elapsedRealtimeNanos(); in recognitionCallback()
DSoundTriggerHw2Compat.java578 eventSys.halEventReceivedMillis = SystemClock.elapsedRealtime(); in recognitionCallback_2_1()
588 eventSys.halEventReceivedMillis = SystemClock.elapsedRealtime(); in phraseRecognitionCallback_2_1()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java447 @ElapsedRealtimeLong long halEventReceivedMillis, in EventPayload() argument
457 mHalEventReceivedMillis = halEventReceivedMillis; in EventPayload()
757 @ElapsedRealtimeLong long halEventReceivedMillis) { in setHalEventReceivedMillis()
758 mHalEventReceivedMillis = halEventReceivedMillis; in setHalEventReceivedMillis()
1023 @ElapsedRealtimeLong long halEventReceivedMillis, boolean captureAvailable, in triggerHardwareRecognitionEventForTest() argument
1038 new KeyphraseRecognitionExtra[0]), halEventReceivedMillis, in triggerHardwareRecognitionEventForTest()