Searched defs:keyphraseId (Results 1 - 5 of 5) sorted by last modified time

/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DDatabaseHelper.java121 public boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale) { argument
125 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle,
149 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle, argument
156 + " WHERE " + SoundModelContract.KEY_KEYPHRASE_ID + "= '" + keyphraseId
214 keyphraseId, recognitionModes, modelLocale, text, users);
H A DSoundTriggerHelper.java110 * Starts recognition for the given keyphraseId.
112 * @param keyphraseId The identifier of the keyphrase for which
118 int startRecognition(int keyphraseId, argument
128 Slog.d(TAG, "startRecognition for keyphraseId=" + keyphraseId
214 mKeyphraseId = keyphraseId;
230 * @param keyphraseId The identifier of the keyphrase for which
236 int stopRecognition(int keyphraseId, IRecognitionStatusCallback listener) { argument
243 Slog.d(TAG, "stopRecognition for keyphraseId=" + keyphraseId
[all...]
H A DVoiceInteractionManagerService.java629 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { argument
639 return mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale);
671 public int deleteKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { argument
683 deleted = mDbHelper.deleteKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale);
700 public boolean isEnrolledForKeyphrase(IVoiceInteractionService service, int keyphraseId, argument
718 mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale);
745 public int startRecognition(IVoiceInteractionService service, int keyphraseId, argument
765 mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale);
773 keyphraseId, soundModel, callback, recognitionConfig);
781 public int stopRecognition(IVoiceInteractionService service, int keyphraseId, argument
[all...]
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
H A DEnrollmentUtil.java110 * @param keyphraseId The keyphrase ID to look-up the sound model for.
115 public KeyphraseSoundModel getSoundModel(int keyphraseId, String bcp47Locale) { argument
116 if (keyphraseId <= 0) {
123 model = mModelManagementService.getKeyphraseSoundModel(keyphraseId, bcp47Locale);
139 * @param keyphraseId The keyphrase ID to look-up the sound model for.
143 public boolean deleteSoundModel(int keyphraseId, String bcp47Locale) { argument
144 if (keyphraseId <= 0) {
151 status = mModelManagementService.deleteKeyphraseSoundModel(keyphraseId, bcp47Locale);
/frameworks/base/core/java/android/service/voice/
H A DAlwaysOnHotwordDetector.java743 private boolean internalGetIsEnrolled(int keyphraseId, Locale locale) { argument
746 mVoiceInteractionService, keyphraseId, locale.toLanguageTag());

Completed in 115 milliseconds