Searched refs:bcp47Locale (Results 1 – 4 of 4) sorted by relevance
/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()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IVoiceInteractionManagerService.aidl | 56 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/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 181 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()
|
D | VoiceInteractionManagerService.java | 860 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in getKeyphraseSoundModel() argument 863 if (bcp47Locale == null) { in getKeyphraseSoundModel() 870 return mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in getKeyphraseSoundModel() 902 public int deleteKeyphraseSoundModel(int keyphraseId, String bcp47Locale) { in deleteKeyphraseSoundModel() argument 905 if (bcp47Locale == null) { in deleteKeyphraseSoundModel() 918 deleted = mDbHelper.deleteKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in deleteKeyphraseSoundModel() 937 String bcp47Locale) { in isEnrolledForKeyphrase() argument 942 if (bcp47Locale == null) { in isEnrolledForKeyphrase() 950 mDbHelper.getKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in isEnrolledForKeyphrase() 974 String bcp47Locale, IRecognitionStatusCallback callback, in startRecognition() argument [all …]
|