Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java553 public final int soundModelHandle; field in SoundTrigger.RecognitionEvent
573 public RecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, in RecognitionEvent() argument
577 this.soundModelHandle = soundModelHandle; in RecognitionEvent()
600 int soundModelHandle = in.readInt(); in fromParcel() local
618 return new RecognitionEvent(status, soundModelHandle, captureAvailable, captureSession, in fromParcel()
630 dest.writeInt(soundModelHandle); in writeToParcel()
662 result = prime * result + soundModelHandle; in hashCode()
686 if (soundModelHandle != other.soundModelHandle) in equals()
710 return "RecognitionEvent [status=" + status + ", soundModelHandle=" + soundModelHandle in toString()
978 public KeyphraseRecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, in KeyphraseRecognitionEvent() argument
[all …]
DSoundTriggerModule.java76 public native int loadSoundModel(SoundTrigger.SoundModel model, int[] soundModelHandle); in loadSoundModel() argument
90 public native int unloadSoundModel(int soundModelHandle); in unloadSoundModel() argument
109 public native int startRecognition(int soundModelHandle, SoundTrigger.RecognitionConfig config); in startRecognition() argument
124 public native int stopRecognition(int soundModelHandle); in stopRecognition() argument
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java601 ModelData model = getModelDataForLocked(event.soundModelHandle); in onGenericRecognitionSuccessLocked()
604 event.soundModelHandle); in onGenericRecognitionSuccessLocked()
611 event.soundModelHandle); in onGenericRecognitionSuccessLocked()
628 event.soundModelHandle); in onGenericRecognitionSuccessLocked()
703 ModelData modelData = getModelDataForLocked(event.soundModelHandle); in onRecognitionAbortLocked()