Searched refs:soundModelHandle (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTriggerModule.java | 102 @NonNull int[] soundModelHandle) { in loadSoundModel() argument 107 soundModelHandle[0] = mService.loadModel(aidlModel); in loadSoundModel() 113 soundModelHandle[0] = mService.loadPhraseModel(aidlModel); in loadSoundModel() 135 public synchronized int unloadSoundModel(int soundModelHandle) { in unloadSoundModel() argument 137 mService.unloadModel(soundModelHandle); in unloadSoundModel() 162 public synchronized int startRecognition(int soundModelHandle, in startRecognition() argument 165 mService.startRecognition(soundModelHandle, in startRecognition() 187 public synchronized int stopRecognition(int soundModelHandle) { in stopRecognition() argument 189 mService.stopRecognition(soundModelHandle); in stopRecognition() 212 public synchronized int getModelState(int soundModelHandle) { in getModelState() argument [all …]
|
D | SoundTrigger.java | 1115 public final int soundModelHandle; field in SoundTrigger.RecognitionEvent 1171 public RecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, in RecognitionEvent() argument 1175 this.soundModelHandle = soundModelHandle; in RecognitionEvent() 1240 int soundModelHandle = in.readInt(); in fromParcel() local 1258 return new RecognitionEvent(status, soundModelHandle, captureAvailable, captureSession, in fromParcel() 1270 dest.writeInt(soundModelHandle); in writeToParcel() 1302 result = prime * result + soundModelHandle; in hashCode() 1326 if (soundModelHandle != other.soundModelHandle) in equals() 1351 return "RecognitionEvent [status=" + status + ", soundModelHandle=" + soundModelHandle in toString() 1664 public KeyphraseRecognitionEvent(int status, int soundModelHandle, boolean captureAvailable, in KeyphraseRecognitionEvent() argument [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 794 ModelData model = getModelDataForLocked(event.soundModelHandle); in onGenericRecognitionSuccessLocked() 797 + event.soundModelHandle); in onGenericRecognitionSuccessLocked() 804 + event.soundModelHandle); in onGenericRecognitionSuccessLocked() 824 + event.soundModelHandle); in onGenericRecognitionSuccessLocked() 899 ModelData modelData = getModelDataForLocked(event.soundModelHandle); in onRecognitionAbortLocked()
|