Home
last modified time | relevance | path

Searched refs:bcp47Locale (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DIEnrolledModelDb.java54 boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale); in deleteKeyphraseSoundModel() argument
69 String bcp47Locale); in getKeyphraseSoundModel() argument
84 String bcp47Locale); in getKeyphraseSoundModel() argument
DTestModelEnrollmentDatabase.java108 public boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale) { in deleteKeyphraseSoundModel() argument
110 && key.locale().equals(bcp47Locale) in deleteKeyphraseSoundModel()
116 String bcp47Locale) { in getKeyphraseSoundModel() argument
120 && entry.getKey().locale().equals(bcp47Locale) in getKeyphraseSoundModel()
129 String bcp47Locale) { in getKeyphraseSoundModel() argument
133 && entry.getKey().locale().equals(bcp47Locale) in getKeyphraseSoundModel()
DDatabaseHelper.java193 public boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale) { in deleteKeyphraseSoundModel() argument
195 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in deleteKeyphraseSoundModel()
198 bcp47Locale); in deleteKeyphraseSoundModel()
217 String bcp47Locale) { in getKeyphraseSoundModel() argument
219 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel()
224 + "' AND " + SoundModelContract.KEY_LOCALE + "='" + bcp47Locale + "'"; in getKeyphraseSoundModel()
231 String bcp47Locale) { in getKeyphraseSoundModel() argument
233 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel()
238 + "' AND " + SoundModelContract.KEY_LOCALE + "='" + bcp47Locale + "'"; in getKeyphraseSoundModel()
DVoiceInteractionManagerService.java1654 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in getKeyphraseSoundModel() argument
1657 if (bcp47Locale == null) { in getKeyphraseSoundModel()
1664 return mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUserId, bcp47Locale); in getKeyphraseSoundModel()
1696 public int deleteKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in deleteKeyphraseSoundModel() argument
1699 if (bcp47Locale == null) { in deleteKeyphraseSoundModel()
1716 bcp47Locale); in deleteKeyphraseSoundModel()
1770 public boolean isEnrolledForKeyphrase(int keyphraseId, String bcp47Locale) { in isEnrolledForKeyphrase() argument
1775 if (bcp47Locale == null) { in isEnrolledForKeyphrase()
1783 mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUserId, bcp47Locale); in isEnrolledForKeyphrase()
1792 String bcp47Locale) { in getEnrolledKeyphraseMetadata() argument
[all …]
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DEnrollmentUtil.java115 public KeyphraseSoundModel getSoundModel(int keyphraseId, String bcp47Locale) { in getSoundModel() argument
123 model = mModelManagementService.getKeyphraseSoundModel(keyphraseId, bcp47Locale); in getSoundModel()
142 public boolean deleteSoundModel(int keyphraseId, String bcp47Locale) { in deleteSoundModel() argument
150 status = mModelManagementService.deleteKeyphraseSoundModel(keyphraseId, bcp47Locale); in deleteSoundModel()
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionManagerService.aidl77 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in getKeyphraseSoundModel() argument
100 int deleteKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in deleteKeyphraseSoundModel() argument
125 boolean isEnrolledForKeyphrase(int keyphraseId, String bcp47Locale); in isEnrolledForKeyphrase() argument
138 KeyphraseMetadata getEnrolledKeyphraseMetadata(String keyphrase, String bcp47Locale); in getEnrolledKeyphraseMetadata() argument
DIVoiceInteractionSoundTriggerSession.aidl43 int startRecognition(int keyphraseId, in String bcp47Locale, in startRecognition() argument