Home
last modified time | relevance | path

Searched defs:keyphraseId (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionSoundTriggerSession.aidl43 int startRecognition(int keyphraseId, in String bcp47Locale, in startRecognition()
52 int stopRecognition(int keyphraseId, in IHotwordRecognitionStatusCallback callback); in stopRecognition()
70 int setParameter(int keyphraseId, in ModelParams modelParam, int value); in setParameter()
84 int getParameter(int keyphraseId, in ModelParams modelParam); in getParameter()
95 @nullable SoundTrigger.ModelParamRange queryParameter(int keyphraseId, in queryParameter()
DIVoiceInteractionManagerService.aidl77 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in getKeyphraseSoundModel()
100 int deleteKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in deleteKeyphraseSoundModel()
125 boolean isEnrolledForKeyphrase(int keyphraseId, String bcp47Locale); in isEnrolledForKeyphrase()
/frameworks/base/services/core/java/com/android/server/
DSoundTriggerInternal.java75 int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startRecognition()
89 int stopRecognition(int keyphraseId, IRecognitionStatusCallback listener); in stopRecognition()
111 int setParameter(int keyphraseId, @ModelParams int modelParam, int value); in setParameter()
130 int getParameter(int keyphraseId, @ModelParams int modelParam); in getParameter()
143 ModelParamRange queryParameter(int keyphraseId, in queryParameter()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DTestModelEnrollmentDatabase.java43 EnrollmentKey(int keyphraseId, in EnrollmentKey()
50 int keyphraseId() { in keyphraseId() method in TestModelEnrollmentDatabase.EnrollmentKey
108 public boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale) { in deleteKeyphraseSoundModel()
115 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle, in getKeyphraseSoundModel()
DIEnrolledModelDb.java54 boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale); in deleteKeyphraseSoundModel()
68 KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle, in getKeyphraseSoundModel()
DDatabaseHelper.java193 public boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale) { in deleteKeyphraseSoundModel()
216 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle, in getKeyphraseSoundModel()
274 int keyphraseId = c.getInt( in getValidKeyphraseSoundModelForUser() local
372 public final int keyphraseId; field in DatabaseHelper.SoundModelRecord
DVoiceInteractionManagerService.java1654 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in getKeyphraseSoundModel()
1696 public int deleteKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in deleteKeyphraseSoundModel()
1770 public boolean isEnrolledForKeyphrase(int keyphraseId, String bcp47Locale) { in isEnrolledForKeyphrase()
1857 public int startRecognition(int keyphraseId, String bcp47Locale, in startRecognition()
1906 public int stopRecognition(int keyphraseId, in stopRecognition()
1935 public int setParameter(int keyphraseId, @ModelParams int modelParam, int value) { in setParameter()
1950 public int getParameter(int keyphraseId, @ModelParams int modelParam) { in getParameter()
1966 public ModelParamRange queryParameter(int keyphraseId, @ModelParams int modelParam) { in queryParameter()
1985 private int unloadKeyphraseModel(int keyphraseId) { in unloadKeyphraseModel()
/frameworks/base/media/java/android/media/voice/
DKeyphraseModelManager.java85 public SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in getKeyphraseSoundModel()
147 public void deleteKeyphraseSoundModel(int keyphraseId, @NonNull Locale locale) { in deleteKeyphraseSoundModel()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java185 public int startKeyphraseRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startKeyphraseRecognition()
277 int keyphraseId, boolean runInBatterySaverMode) { in startRecognition()
402 public int stopKeyphraseRecognition(int keyphraseId, IRecognitionStatusCallback callback) { in stopKeyphraseRecognition()
526 public int unloadKeyphraseSoundModel(int keyphraseId) { in unloadKeyphraseSoundModel()
666 public int setKeyphraseParameter(int keyphraseId, @ModelParams int modelParam, int value) { in setKeyphraseParameter()
698 public int getKeyphraseParameter(int keyphraseId, @ModelParams int modelParam) { in getKeyphraseParameter()
734 public ModelParamRange queryKeyphraseParameter(int keyphraseId, @ModelParams int modelParam) { in queryKeyphraseParameter()
933 int keyphraseId = getKeyphraseIdFromEvent(event); in onKeyphraseRecognitionLocked() local
1153 private void removeKeyphraseModelLocked(int keyphraseId) { in removeKeyphraseModelLocked()
1162 private ModelData getKeyphraseModelDataLocked(int keyphraseId) { in getKeyphraseModelDataLocked()
[all …]
DSoundTriggerService.java1731 public int startRecognition(int keyphraseId, KeyphraseSoundModel soundModel, in startRecognition()
1742 public synchronized int stopRecognition(int keyphraseId, in stopRecognition()
1756 public int setParameter(int keyphraseId, @ModelParams int modelParam, int value) { in setParameter()
1763 public int getParameter(int keyphraseId, @ModelParams int modelParam) { in getParameter()
1769 public ModelParamRange queryParameter(int keyphraseId, @ModelParams int modelParam) { in queryParameter()
1779 public int unloadKeyphraseModel(int keyphraseId) { in unloadKeyphraseModel()
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DEnrollmentUtil.java115 public KeyphraseSoundModel getSoundModel(int keyphraseId, String bcp47Locale) { in getSoundModel()
142 public boolean deleteSoundModel(int keyphraseId, String bcp47Locale) { in deleteSoundModel()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareLoggingLatencyTest.java183 @RecognitionStatus int triggerEventStatus, int keyphraseId) throws RemoteException { in triggerPhraseRecognitionEvent()