Searched refs:aidlConfig (Results 1 – 2 of 2) sorted by relevance
216 @NonNull RecognitionConfig aidlConfig) { in aidl2hidlRecognitionConfig()219 hidlConfig.base.header.captureRequested = aidlConfig.captureRequested; in aidl2hidlRecognitionConfig()220 for (PhraseRecognitionExtra aidlPhraseExtra : aidlConfig.phraseRecognitionExtras) { in aidl2hidlRecognitionConfig()223 hidlConfig.base.data = HidlMemoryUtil.byteArrayToHidlMemory(aidlConfig.data, in aidl2hidlRecognitionConfig()225 hidlConfig.audioCapabilities = aidlConfig.audioCapabilities; in aidl2hidlRecognitionConfig()350 AudioConfig aidlConfig = new AudioConfig(); in hidl2aidlAudioConfig() local353 aidlConfig.sampleRateHz = hidlConfig.sampleRateHz; in hidl2aidlAudioConfig()354 aidlConfig.channelMask = hidlConfig.channelMask; in hidl2aidlAudioConfig()355 aidlConfig.format = hidlConfig.format; in hidl2aidlAudioConfig()356 aidlConfig.offloadInfo = hidl2aidlOffloadInfo(hidlConfig.offloadInfo); in hidl2aidlAudioConfig()[all …]
144 RecognitionConfig aidlConfig = new RecognitionConfig(); in api2aidlRecognitionConfig() local145 aidlConfig.captureRequested = apiConfig.captureRequested; in api2aidlRecognitionConfig()147 aidlConfig.phraseRecognitionExtras = in api2aidlRecognitionConfig()150 aidlConfig.phraseRecognitionExtras[i] = api2aidlPhraseRecognitionExtra( in api2aidlRecognitionConfig()153 aidlConfig.data = Arrays.copyOf(apiConfig.data, apiConfig.data.length); in api2aidlRecognitionConfig()154 aidlConfig.audioCapabilities = api2aidlAudioCapabilities(apiConfig.audioCapabilities); in api2aidlRecognitionConfig()155 return aidlConfig; in api2aidlRecognitionConfig()