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.aidl56 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in getKeyphraseSoundModel() argument
67 int deleteKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in deleteKeyphraseSoundModel() argument
82 String bcp47Locale); in isEnrolledForKeyphrase() argument
87 in String bcp47Locale, in IRecognitionStatusCallback callback, in startRecognition() argument
/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/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java181 public boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale) { in deleteKeyphraseSoundModel() argument
183 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in deleteKeyphraseSoundModel()
186 bcp47Locale); in deleteKeyphraseSoundModel()
210 String bcp47Locale) { in getKeyphraseSoundModel() argument
212 bcp47Locale = Locale.forLanguageTag(bcp47Locale).toLanguageTag(); in getKeyphraseSoundModel()
217 + "' AND " + SoundModelContract.KEY_LOCALE + "='" + bcp47Locale + "'"; in getKeyphraseSoundModel()
DVoiceInteractionManagerService.java883 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in getKeyphraseSoundModel() argument
886 if (bcp47Locale == null) { in getKeyphraseSoundModel()
893 return mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in getKeyphraseSoundModel()
925 public int deleteKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in deleteKeyphraseSoundModel() argument
928 if (bcp47Locale == null) { in deleteKeyphraseSoundModel()
941 deleted = mDbHelper.deleteKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in deleteKeyphraseSoundModel()
960 String bcp47Locale) { in isEnrolledForKeyphrase() argument
965 if (bcp47Locale == null) { in isEnrolledForKeyphrase()
973 mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in isEnrolledForKeyphrase()
997 String bcp47Locale, IRecognitionStatusCallback callback, in startRecognition() argument
[all …]