Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DConversionUtil.java216 @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() local
353 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 …]
/frameworks/base/core/java/android/hardware/soundtrigger/
DConversionUtil.java144 RecognitionConfig aidlConfig = new RecognitionConfig(); in api2aidlRecognitionConfig() local
145 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()