Searched refs:soundModelHandle (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTriggerModule.java | 149 @NonNull int[] soundModelHandle) { in loadSoundModel() argument 155 soundModelHandle[0] = mService.loadModel(aidlModel); in loadSoundModel() 174 soundModelHandle[0] = mService.loadPhraseModel(aidlModel); in loadSoundModel() 210 public synchronized int unloadSoundModel(int soundModelHandle) { in unloadSoundModel() argument 212 mService.unloadModel(soundModelHandle); in unloadSoundModel() 240 public synchronized int startRecognition(int soundModelHandle, in startRecognition() argument 243 mService.startRecognition(soundModelHandle, in startRecognition() 255 public synchronized IBinder startRecognitionWithToken(int soundModelHandle, in startRecognitionWithToken() argument 257 return mService.startRecognition(soundModelHandle, in startRecognitionWithToken() 277 public synchronized int stopRecognition(int soundModelHandle) { in stopRecognition() argument [all …]
|
D | SoundTrigger.java | 1158 public final int soundModelHandle; 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 1258 this.soundModelHandle = soundModelHandle; in RecognitionEvent() 1351 int soundModelHandle = in.readInt(); in fromParcel() local 1372 return new RecognitionEvent(status, soundModelHandle, captureAvailable, captureSession, in fromParcel() 1385 dest.writeInt(soundModelHandle); in writeToParcel() 1419 result = prime * result + soundModelHandle; in hashCode() 1448 if (soundModelHandle != other.soundModelHandle) in equals() [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 805 ModelData model = getModelDataForLocked(event.soundModelHandle); in onGenericRecognitionLocked() 808 + event.soundModelHandle); in onGenericRecognitionLocked() 819 + event.soundModelHandle); in onGenericRecognitionLocked() 841 + event.soundModelHandle); in onGenericRecognitionLocked() 892 ModelData modelData = getModelDataForLocked(event.soundModelHandle); in onRecognitionAbortLocked()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 1022 public void triggerHardwareRecognitionEventForTest(int status, int soundModelHandle, in triggerHardwareRecognitionEventForTest() argument 1035 new KeyphraseRecognitionEvent(status, soundModelHandle, captureAvailable, in triggerHardwareRecognitionEventForTest()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 22083 Landroid/hardware/soundtrigger/SoundTrigger$SoundModelEvent;->soundModelHandle:I
|