Searched refs:bcp47Locale (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | IVoiceInteractionManagerService.aidl | 65 SoundTrigger.KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, in String bcp47Locale); in getKeyphraseSoundModel() argument 88 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 123 int startRecognition(int keyphraseId, in String bcp47Locale, in startRecognition() argument
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 199 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()
|
D | VoiceInteractionManagerService.java | 963 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in getKeyphraseSoundModel() argument 966 if (bcp47Locale == null) { in getKeyphraseSoundModel() 973 return mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in getKeyphraseSoundModel() 1005 public int deleteKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in deleteKeyphraseSoundModel() argument 1008 if (bcp47Locale == null) { in deleteKeyphraseSoundModel() 1021 deleted = mDbHelper.deleteKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in deleteKeyphraseSoundModel() 1039 public boolean isEnrolledForKeyphrase(int keyphraseId, String bcp47Locale) { in isEnrolledForKeyphrase() argument 1044 if (bcp47Locale == null) { in isEnrolledForKeyphrase() 1052 mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in isEnrolledForKeyphrase() 1061 String bcp47Locale) { in getEnrolledKeyphraseMetadata() argument [all …]
|
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | EnrollmentUtil.java | 115 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()
|