Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionManagerService.aidl42 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in getKeyphraseSoundModel() argument
53 int deleteKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in deleteKeyphraseSoundModel() argument
68 String bcp47Locale); in isEnrolledForKeyphrase() argument
73 in String bcp47Locale, in IRecognitionStatusCallback callback, in startRecognition() argument
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java121 public boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale) { in deleteKeyphraseSoundModel() argument
123 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in deleteKeyphraseSoundModel()
126 bcp47Locale); in deleteKeyphraseSoundModel()
150 String bcp47Locale) { in getKeyphraseSoundModel() argument
152 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel()
157 + "' AND " + SoundModelContract.KEY_LOCALE + "='" + bcp47Locale + "'"; in getKeyphraseSoundModel()
DVoiceInteractionManagerService.java449 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in getKeyphraseSoundModel() argument
458 if (bcp47Locale == null) { in getKeyphraseSoundModel()
465 return mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in getKeyphraseSoundModel()
503 public int deleteKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in deleteKeyphraseSoundModel() argument
512 if (bcp47Locale == null) { in deleteKeyphraseSoundModel()
521 deleted = mDbHelper.deleteKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in deleteKeyphraseSoundModel()
539 String bcp47Locale) { in isEnrolledForKeyphrase() argument
548 if (bcp47Locale == null) { in isEnrolledForKeyphrase()
556 mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in isEnrolledForKeyphrase()
584 String bcp47Locale, IRecognitionStatusCallback callback, in startRecognition() 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()
143 public boolean deleteSoundModel(int keyphraseId, String bcp47Locale) { in deleteSoundModel() argument
151 status = mModelManagementService.deleteKeyphraseSoundModel(keyphraseId, bcp47Locale); in deleteSoundModel()