Home
last modified time | relevance | path

Searched refs:isInput (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.h39 static status_t audioConfigFromHal(const audio_config_t& halConfig, bool isInput,
48 static status_t audioGainConfigFromHal(const struct audio_gain_config& halConfig, bool isInput,
52 static status_t audioGainFromHal(const struct audio_gain& halGain, bool isInput,
84 static status_t audioChannelMaskFromHal(audio_channel_mask_t halChannelMask, bool isInput,
90 static status_t audioConfigBaseFromHal(const audio_config_base_t& halConfigBase, bool isInput,
95 bool isInput, bool formatSpecified,
115 static status_t audioProfileFromHal(const struct audio_profile& halProfile, bool isInput,
129 static status_t audioTransportsFromHal(const struct audio_port_v7& halPort, bool isInput,
146 bool* isInput);
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp79 status_t HidlUtils::audioChannelMaskFromHal(audio_channel_mask_t halChannelMask, bool isInput, in audioChannelMaskFromHal() argument
85 return isInput ? audioInputChannelMaskFromHal(halChannelMask, channelMask) in audioChannelMaskFromHal()
130 status_t HidlUtils::audioConfigBaseFromHal(const audio_config_base_t& halConfigBase, bool isInput, in audioConfigBaseFromHal() argument
135 audioChannelMaskFromHal(halConfigBase.channel_mask, isInput, &configBase->channelMask), in audioConfigBaseFromHal()
152 bool isInput, bool formatSpecified, in audioConfigBaseOptionalFromHal() argument
171 CONVERT_CHECKED(audioChannelMaskFromHal(halConfigBase.channel_mask, isInput, &value), in audioConfigBaseOptionalFromHal()
369 status_t HidlUtils::audioConfigFromHal(const audio_config_t& halConfig, bool isInput, in audioConfigFromHal() argument
374 CONVERT_CHECKED(audioConfigBaseFromHal(halConfigBase, isInput, &config->base), result); in audioConfigFromHal()
402 status_t HidlUtils::audioGainConfigFromHal(const struct audio_gain_config& halConfig, bool isInput, in audioGainConfigFromHal() argument
407 CONVERT_CHECKED(audioChannelMaskFromHal(halConfig.channel_mask, isInput, &config->channelMask), in audioGainConfigFromHal()
[all …]
/hardware/interfaces/audio/effect/all-versions/default/util/include/util/
DEffectUtils.h35 static status_t effectBufferConfigFromHal(const buffer_config_t& halConfig, bool isInput,
39 static status_t effectConfigFromHal(const effect_config_t& halConfig, bool isInput,
/hardware/interfaces/audio/effect/all-versions/default/util/
DEffectUtils.cpp80 status_t EffectUtils::effectBufferConfigFromHal(const buffer_config_t& halConfig, bool isInput, in effectBufferConfigFromHal() argument
88 halConfigBase, isInput, halConfig.mask & EFFECT_CONFIG_FORMAT, in effectBufferConfigFromHal()
138 status_t EffectUtils::effectConfigFromHal(const effect_config_t& halConfig, bool isInput, in effectConfigFromHal() argument
141 CONVERT_CHECKED(effectBufferConfigFromHal(halConfig.inputCfg, isInput, &config->inputCfg), in effectConfigFromHal()
143 CONVERT_CHECKED(effectBufferConfigFromHal(halConfig.outputCfg, isInput, &config->outputCfg), in effectConfigFromHal()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DStreamConfigurationMap.cpp64 int32_t isInput = entry.data.i32[i + kStreamIsInputOffset]; in AppendAvailableStreamConfigurations() local
65 if (!isInput) { in AppendAvailableStreamConfigurations()
/hardware/interfaces/audio/effect/all-versions/default/
DEffectsFactory.cpp85 const bool isInput = in dispatchEffectInstanceCreation() local
87 return new Effect(isInput, handle); in dispatchEffectInstanceCreation()
DEffect.h61 Effect(bool isInput, effect_handle_t handle);
DEffect.cpp145 Effect::Effect(bool isInput, effect_handle_t handle) in Effect() argument
146 : mIsInput(isInput), mHandle(handle), mEfGroup(nullptr), mStopProcessThread(false) { in Effect()
/hardware/interfaces/camera/common/1.0/default/
DCameraModule.cpp152 int32_t isInput = entry.data.i32[i + STREAM_IS_INPUT_OFFSET]; in deriveCameraCharacteristicsKeys() local
153 if (isInput == ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT && in deriveCameraCharacteristicsKeys()
162 if (isInput == ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT && in deriveCameraCharacteristicsKeys()
/hardware/interfaces/audio/core/all-versions/default/
DStream.cpp43 Stream::Stream(bool isInput, audio_stream_t* stream) : mIsInput(isInput), mStream(stream) { in Stream() argument
/hardware/interfaces/audio/common/all-versions/default/tests/
Dhidlutils_tests.cpp94 if (bool isInput = isInputChannelMask(enumVal); isInput || isOutputChannelMask(enumVal)) { in TEST() local
96 HidlUtils::audioChannelMaskFromHal(halChannelMask, isInput, &channelMaskBack)) in TEST()
97 << "Conversion of " << (isInput ? "input" : "output") << " channel mask " in TEST()
152 static AudioConfigBase generateValidConfigBase(bool isInput) { in generateValidConfigBase() argument
156 configBase.channelMask = isInput ? toString(xsd::AudioChannelMask::AUDIO_CHANNEL_IN_STEREO) in generateValidConfigBase()