Searched refs:hidlConfig (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | ConversionUtil.java | 221 android.hardware.soundtrigger.V2_3.RecognitionConfig hidlConfig = in aidl2hidlRecognitionConfig() local 223 hidlConfig.base.header.captureDevice = deviceHandle; in aidl2hidlRecognitionConfig() 224 hidlConfig.base.header.captureHandle = ioHandle; in aidl2hidlRecognitionConfig() 225 hidlConfig.base.header.captureRequested = aidlConfig.captureRequested; in aidl2hidlRecognitionConfig() 227 hidlConfig.base.header.phrases.add(aidl2hidlPhraseRecognitionExtra(aidlPhraseExtra)); in aidl2hidlRecognitionConfig() 229 hidlConfig.base.data = HidlMemoryUtil.byteArrayToHidlMemory(aidlConfig.data, in aidl2hidlRecognitionConfig() 231 hidlConfig.audioCapabilities = aidlConfig.audioCapabilities; in aidl2hidlRecognitionConfig() 232 return hidlConfig; in aidl2hidlRecognitionConfig() 354 @NonNull android.hardware.audio.common.V2_0.AudioConfig hidlConfig, boolean isInput) { in hidl2aidlAudioConfig() 356 aidlConfig.base = hidl2aidlAudioConfigBase(hidlConfig.sampleRateHz, hidlConfig.channelMask, in hidl2aidlAudioConfig() [all …]
|
D | SoundTriggerHw2Compat.java | 308 android.hardware.soundtrigger.V2_3.RecognitionConfig hidlConfig = in startRecognition() local 312 int retval = as2_3().startRecognition_2_3(modelHandle, hidlConfig); in startRecognition() 316 startRecognition_2_1(modelHandle, hidlConfig); in startRecognition()
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalHidl.cpp | 205 AudioConfig hidlConfig; in getInputBufferSize() local 206 HidlUtils::audioConfigFromHal(*config, true /*isInput*/, &hidlConfig); in getInputBufferSize() 209 hidlConfig, in getInputBufferSize() 233 AudioConfig hidlConfig; in openOutputStream() local 234 if (status_t status = HidlUtils::audioConfigFromHal(*config, false /*isInput*/, &hidlConfig); in openOutputStream() 258 handle, hidlDevice, hidlConfig, hidlFlags, in openOutputStream() 290 AudioConfig hidlConfig; in openInputStream() local 291 if (status_t status = HidlUtils::audioConfigFromHal(*config, true /*isInput*/, &hidlConfig); in openInputStream() 333 handle, hidlDevice, hidlConfig, hidlFlags, sinkMetadata, in openInputStream() 455 AudioPortConfig hidlConfig; in setAudioPortConfig() local [all …]
|
D | EffectHalHidl.cpp | 291 ret = mEffect->getConfig([&] (Result r, const EffectConfig &hidlConfig) { in getConfigImpl() argument 295 hidlConfig, static_cast<effect_config_t*>(pReplyData)); in getConfigImpl() 299 ret = mEffect->getConfigReverse([&] (Result r, const EffectConfig &hidlConfig) { in getConfigImpl() argument 303 hidlConfig, static_cast<effect_config_t*>(pReplyData)); in getConfigImpl() 326 EffectConfig hidlConfig; in setConfigImpl() local 327 EffectUtils::effectConfigFromHal(*halConfig, mIsInput, &hidlConfig); in setConfigImpl() 329 mEffect->setConfig(hidlConfig, nullptr, nullptr) : in setConfigImpl() 330 mEffect->setConfigReverse(hidlConfig, nullptr, nullptr); in setConfigImpl()
|