Home
last modified time | relevance | path

Searched refs:halConfig (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libaudiohal/impl/
DEffectHalHidl.cpp76 const buffer_config_t& halConfig, EffectBufferConfig* config) { in effectBufferConfigFromHal() argument
77 config->samplingRateHz = halConfig.samplingRate; in effectBufferConfigFromHal()
78 config->channels = EnumBitfield<AudioChannelMask>(halConfig.channels); in effectBufferConfigFromHal()
79 config->format = AudioFormat(halConfig.format); in effectBufferConfigFromHal()
80 config->accessMode = EffectBufferAccess(halConfig.accessMode); in effectBufferConfigFromHal()
81 config->mask = EnumBitfield<EffectConfigParameters>(halConfig.mask); in effectBufferConfigFromHal()
86 const EffectBufferConfig& config, buffer_config_t* halConfig) { in effectBufferConfigToHal() argument
87 halConfig->buffer.frameCount = 0; in effectBufferConfigToHal()
88 halConfig->buffer.raw = NULL; in effectBufferConfigToHal()
89 halConfig->samplingRate = config.samplingRateHz; in effectBufferConfigToHal()
[all …]
DEffectHalHidl.h85 const buffer_config_t& halConfig, EffectBufferConfig* config);
87 const EffectBufferConfig& config, buffer_config_t* halConfig);
88 static void effectConfigFromHal(const effect_config_t& halConfig, EffectConfig* config);
89 static void effectConfigToHal(const EffectConfig& config, effect_config_t* halConfig);
/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp317 V2_2_ISoundTriggerHw::RecognitionConfig halConfig; in startRecognition() local
318 auto result = convertRecognitionConfigToHal(&halConfig, config); in startRecognition()
322 model->mHalHandle, halConfig, this, handle); in startRecognition()
327 V2_1_ISoundTriggerHw::RecognitionConfig halConfig; in startRecognition() local
328 auto result = convertRecognitionConfigToHal(&halConfig, config); in startRecognition()
332 model->mHalHandle, halConfig, this, handle); in startRecognition()
337 ISoundTriggerHw::RecognitionConfig halConfig; in startRecognition() local
338 convertRecognitionConfigToHal(&halConfig, config); in startRecognition()
341 hidlReturn = soundtrigger->startRecognition(model->mHalHandle, halConfig, this, handle); in startRecognition()
603 ISoundTriggerHw::RecognitionConfig *halConfig, in convertRecognitionConfigToHal() argument
[all …]
DSoundTriggerHalHidl.h173 void convertRecognitionConfigToHal(ISoundTriggerHw::RecognitionConfig *halConfig,
176 V2_1_ISoundTriggerHw::RecognitionConfig *halConfig,
/frameworks/base/services/core/jni/BroadcastRadio/
DTuner.cpp250 BandConfig halConfig; in nativeGetConfiguration() local
254 halConfig = config; in nativeGetConfiguration()
260 return convert::BandConfigFromHal(env, halConfig, region).release(); in nativeGetConfiguration()