Home
last modified time | relevance | path

Searched refs:aidlPhrase (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DConversionUtil.java144 ISoundTriggerHw.Phrase aidl2hidlPhrase(@NonNull Phrase aidlPhrase) { in aidl2hidlPhrase() argument
146 hidlPhrase.id = aidlPhrase.id; in aidl2hidlPhrase()
147 hidlPhrase.recognitionModes = aidl2hidlRecognitionModes(aidlPhrase.recognitionModes); in aidl2hidlPhrase()
148 for (int aidlUser : aidlPhrase.users) { in aidl2hidlPhrase()
151 hidlPhrase.locale = aidlPhrase.locale; in aidl2hidlPhrase()
152 hidlPhrase.text = aidlPhrase.text; in aidl2hidlPhrase()
209 for (Phrase aidlPhrase : aidlModel.phrases) { in aidl2hidlPhraseSoundModel()
210 hidlModel.phrases.add(aidl2hidlPhrase(aidlPhrase)); in aidl2hidlPhraseSoundModel()
/frameworks/base/core/java/android/hardware/soundtrigger/
DConversionUtil.java133 Phrase aidlPhrase = new Phrase(); in api2aidlPhrase() local
134 aidlPhrase.id = apiPhrase.getId(); in api2aidlPhrase()
135 aidlPhrase.recognitionModes = api2aidlRecognitionModes(apiPhrase.getRecognitionModes()); in api2aidlPhrase()
136 aidlPhrase.users = Arrays.copyOf(apiPhrase.getUsers(), apiPhrase.getUsers().length); in api2aidlPhrase()
137 aidlPhrase.locale = apiPhrase.getLocale().toLanguageTag(); in api2aidlPhrase()
138 aidlPhrase.text = apiPhrase.getText(); in api2aidlPhrase()
139 return aidlPhrase; in api2aidlPhrase()