Home
last modified time | relevance | path

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

/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java199 public boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale) { in deleteKeyphraseSoundModel() argument
201 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in deleteKeyphraseSoundModel()
204 bcp47Locale); in deleteKeyphraseSoundModel()
228 String bcp47Locale) { in getKeyphraseSoundModel() argument
230 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel()
235 + "' AND " + SoundModelContract.KEY_LOCALE + "='" + bcp47Locale + "'"; in getKeyphraseSoundModel()
247 String bcp47Locale) { in getKeyphraseSoundModel() argument
249 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel()
254 + "' AND " + SoundModelContract.KEY_LOCALE + "='" + bcp47Locale + "'"; in getKeyphraseSoundModel()
DVoiceInteractionManagerService.java1390 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in getKeyphraseSoundModel() argument
1393 if (bcp47Locale == null) { in getKeyphraseSoundModel()
1400 return mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUserId, bcp47Locale); in getKeyphraseSoundModel()
1432 public int deleteKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in deleteKeyphraseSoundModel() argument
1435 if (bcp47Locale == null) { in deleteKeyphraseSoundModel()
1452 bcp47Locale); in deleteKeyphraseSoundModel()
1470 public boolean isEnrolledForKeyphrase(int keyphraseId, String bcp47Locale) { in isEnrolledForKeyphrase() argument
1475 if (bcp47Locale == null) { in isEnrolledForKeyphrase()
1483 mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUserId, bcp47Locale); in isEnrolledForKeyphrase()
1492 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.aidl72 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in getKeyphraseSoundModel() argument
95 int deleteKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in deleteKeyphraseSoundModel() argument
105 boolean isEnrolledForKeyphrase(int keyphraseId, String bcp47Locale); in isEnrolledForKeyphrase() argument
117 KeyphraseMetadata getEnrolledKeyphraseMetadata(String keyphrase, String bcp47Locale); in getEnrolledKeyphraseMetadata() argument
DIVoiceInteractionSoundTriggerSession.aidl43 int startRecognition(int keyphraseId, in String bcp47Locale, in startRecognition() argument