• Home
  • Raw
  • Download

Lines Matching refs:isInput

836         int aidlLayout, bool isInput) {  in aidl2legacy_AudioChannelLayout_layout_audio_channel_mask_t_bits()  argument
837 auto& bitMapping = isInput ? getInAudioChannelBits() : getOutAudioChannelBits(); in aidl2legacy_AudioChannelLayout_layout_audio_channel_mask_t_bits()
850 __func__, aidlLayoutInitial, aidlLayout, isInput ? "input" : "output"); in aidl2legacy_AudioChannelLayout_layout_audio_channel_mask_t_bits()
855 const AudioChannelLayout& aidl, bool isInput) { in aidl2legacy_AudioChannelLayout_audio_channel_mask_t() argument
892 if (const auto layoutMatch = convert(aidl, isInput ? mIn : mOut, __func__, in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
893 isInput ? "input" : "output"); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
900 aidl.get<Tag::layoutMask>(), isInput); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
913 audio_channel_mask_t legacy, bool isInput) { in legacy2aidl_audio_channel_mask_t_bits_AudioChannelLayout_layout() argument
914 auto& bitMapping = isInput ? getInAudioChannelBits() : getOutAudioChannelBits(); in legacy2aidl_audio_channel_mask_t_bits_AudioChannelLayout_layout()
927 __func__, isInput ? "input" : "output", legacyInitial, legacy); in legacy2aidl_audio_channel_mask_t_bits_AudioChannelLayout_layout()
932 audio_channel_mask_t legacy, bool isInput) { in legacy2aidl_audio_channel_mask_t_AudioChannelLayout() argument
968 if (const auto layoutMatch = convert(legacy, isInput ? mInAndVoice : mOut, __func__, in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
969 isInput ? "input / voice" : "output"); in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
975 if (!isInput || in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
979 legacy, isInput); in legacy2aidl_audio_channel_mask_t_AudioChannelLayout()
1248 const AudioGainConfig& aidl, bool isInput) { in aidl2legacy_AudioGainConfig_audio_gain_config() argument
1253 aidl2legacy_AudioChannelLayout_audio_channel_mask_t(aidl.channelMask, isInput)); in aidl2legacy_AudioGainConfig_audio_gain_config()
1256 : isInput ? audio_channel_count_from_in_mask(legacy.channel_mask) in aidl2legacy_AudioGainConfig_audio_gain_config()
1269 const audio_gain_config& legacy, bool isInput) { in legacy2aidl_audio_gain_config_AudioGainConfig() argument
1274 legacy2aidl_audio_channel_mask_t_AudioChannelLayout(legacy.channel_mask, isInput)); in legacy2aidl_audio_gain_config_AudioGainConfig()
1277 : isInput ? audio_channel_count_from_in_mask(legacy.channel_mask) in legacy2aidl_audio_gain_config_AudioGainConfig()
1485 const AudioIoFlags& aidl, bool isInput) { in aidl2legacy_AudioIoFlags_audio_io_flags() argument
1487 if (isInput) { in aidl2legacy_AudioIoFlags_audio_io_flags()
1500 const audio_io_flags& legacy, bool isInput) { in legacy2aidl_audio_io_flags_AudioIoFlags() argument
1502 if (isInput) { in legacy2aidl_audio_io_flags_AudioIoFlags()
2114 aidl2legacy_AudioConfig_audio_config_t(const AudioConfig& aidl, bool isInput) { in aidl2legacy_AudioConfig_audio_config_t() argument
2116 aidl2legacy_AudioConfigBase_audio_config_base_t(aidl.base, isInput)); in aidl2legacy_AudioConfig_audio_config_t()
2128 legacy2aidl_audio_config_t_AudioConfig(const audio_config_t& legacy, bool isInput) { in legacy2aidl_audio_config_t_AudioConfig() argument
2132 aidl.base = VALUE_OR_RETURN(legacy2aidl_audio_config_base_t_AudioConfigBase(base, isInput)); in legacy2aidl_audio_config_t_AudioConfig()
2140 aidl2legacy_AudioConfigBase_audio_config_base_t(const AudioConfigBase& aidl, bool isInput) { in aidl2legacy_AudioConfigBase_audio_config_base_t() argument
2144 aidl2legacy_AudioChannelLayout_audio_channel_mask_t(aidl.channelMask, isInput)); in aidl2legacy_AudioConfigBase_audio_config_base_t()
2150 legacy2aidl_audio_config_base_t_AudioConfigBase(const audio_config_base_t& legacy, bool isInput) { in legacy2aidl_audio_config_base_t_AudioConfigBase() argument
2154 legacy2aidl_audio_channel_mask_t_AudioChannelLayout(legacy.channel_mask, isInput)); in legacy2aidl_audio_config_base_t_AudioConfigBase()
2258 const AudioPortMixExtUseCase& aidl, bool isInput) { in aidl2legacy_AudioPortMixExtUseCase_audio_port_config_mix_ext_usecase() argument
2261 if (!isInput) { in aidl2legacy_AudioPortMixExtUseCase_audio_port_config_mix_ext_usecase()
2274 const audio_port_config_mix_ext_usecase& legacy, bool isInput) { in legacy2aidl_audio_port_config_mix_ext_usecase_AudioPortMixExtUseCase() argument
2276 if (!isInput) { in legacy2aidl_audio_port_config_mix_ext_usecase_AudioPortMixExtUseCase()
2287 const AudioPortMixExt& aidl, bool isInput) { in aidl2legacy_AudioPortMixExt_audio_port_config_mix_ext() argument
2292 aidl.usecase, isInput)); in aidl2legacy_AudioPortMixExt_audio_port_config_mix_ext()
2297 const audio_port_config_mix_ext& legacy, bool isInput) { in legacy2aidl_audio_port_config_mix_ext_AudioPortMixExt() argument
2302 legacy.usecase, isInput)); in legacy2aidl_audio_port_config_mix_ext_AudioPortMixExt()
2326 const AudioPortExt& aidl, bool isInput, in aidl2legacy_AudioPortExt_audio_port_config_ext() argument
2344 VALUE_OR_RETURN_STATUS(UNION_GET(aidl, mix)), isInput)); in aidl2legacy_AudioPortExt_audio_port_config_ext()
2358 const audio_port_config_ext& legacy, audio_port_type_t type, bool isInput) { in legacy2aidl_audio_port_config_ext_AudioPortExt() argument
2372 legacy2aidl_audio_port_config_mix_ext_AudioPortMixExt(legacy.mix, isInput)); in legacy2aidl_audio_port_config_ext_AudioPortExt()
2385 const AudioPortConfig& aidl, bool isInput, audio_port_config* legacy, int32_t* portId) { in aidl2legacy_AudioPortConfig_audio_port_config() argument
2397 aidl.channelMask.value(), isInput)); in aidl2legacy_AudioPortConfig_audio_port_config()
2407 aidl.gain.value(), isInput)); in aidl2legacy_AudioPortConfig_audio_port_config()
2412 aidl2legacy_AudioIoFlags_audio_io_flags(aidl.flags.value(), isInput)); in aidl2legacy_AudioPortConfig_audio_port_config()
2416 aidl.ext, isInput, &legacy->ext, &legacy->type)); in aidl2legacy_AudioPortConfig_audio_port_config()
2417 legacy->role = VALUE_OR_RETURN_STATUS(portRole(isInput ? in aidl2legacy_AudioPortConfig_audio_port_config()
2424 const audio_port_config& legacy, bool isInput, int32_t portId) { in legacy2aidl_audio_port_config_AudioPortConfig() argument
2435 legacy2aidl_audio_channel_mask_t_AudioChannelLayout(legacy.channel_mask, isInput)); in legacy2aidl_audio_port_config_AudioPortConfig()
2443 legacy2aidl_audio_gain_config_AudioGainConfig(legacy.gain, isInput)); in legacy2aidl_audio_port_config_AudioPortConfig()
2447 legacy2aidl_audio_io_flags_AudioIoFlags(legacy.flags, isInput)); in legacy2aidl_audio_port_config_AudioPortConfig()
2450 legacy2aidl_audio_port_config_ext_AudioPortExt(legacy.ext, legacy.type, isInput)); in legacy2aidl_audio_port_config_AudioPortConfig()
2555 aidl2legacy_AudioPort_audio_port_v7(const AudioPort& aidl, bool isInput) { in aidl2legacy_AudioPort_audio_port_v7() argument
2565 [isInput](const AudioProfile& p) { in aidl2legacy_AudioPort_audio_port_v7()
2566 return aidl2legacy_AudioProfile_audio_profile(p, isInput); in aidl2legacy_AudioPort_audio_port_v7()
2584 [isInput](const AudioGain& g) { in aidl2legacy_AudioPort_audio_port_v7()
2585 return aidl2legacy_AudioGain_audio_gain(g, isInput); in aidl2legacy_AudioPort_audio_port_v7()
2592 isInput ? AudioPortDirection::INPUT : AudioPortDirection::OUTPUT, legacy.type)); in aidl2legacy_AudioPort_audio_port_v7()
2599 aidlPortConfig, isInput, &legacy.active_config, &portId)); in aidl2legacy_AudioPort_audio_port_v7()
2604 legacy2aidl_audio_port_v7_AudioPort(const audio_port_v7& legacy, bool isInput) { in legacy2aidl_audio_port_v7_AudioPort() argument
2615 [isInput](const audio_profile& p) { in legacy2aidl_audio_port_v7_AudioPort()
2616 return legacy2aidl_audio_profile_AudioProfile(p, isInput); in legacy2aidl_audio_port_v7_AudioPort()
2635 [isInput](const audio_gain& g) { in legacy2aidl_audio_port_v7_AudioPort()
2636 return legacy2aidl_audio_gain_AudioGain(g, isInput); in legacy2aidl_audio_port_v7_AudioPort()
2644 legacy.active_config, isInput, aidl.id)); in legacy2aidl_audio_port_v7_AudioPort()
2648 aidl.flags = isInput ? in legacy2aidl_audio_port_v7_AudioPort()
2656 aidl2legacy_AudioProfile_audio_profile(const AudioProfile& aidl, bool isInput) { in aidl2legacy_AudioProfile_audio_profile() argument
2673 [isInput](const AudioChannelLayout& l) { in aidl2legacy_AudioProfile_audio_profile()
2674 return aidl2legacy_AudioChannelLayout_audio_channel_mask_t(l, isInput); in aidl2legacy_AudioProfile_audio_profile()
2684 legacy2aidl_audio_profile_AudioProfile(const audio_profile& legacy, bool isInput) { in legacy2aidl_audio_profile_AudioProfile() argument
2702 [isInput](audio_channel_mask_t m) { in legacy2aidl_audio_profile_AudioProfile()
2703 return legacy2aidl_audio_channel_mask_t_AudioChannelLayout(m, isInput); in legacy2aidl_audio_profile_AudioProfile()
2713 aidl2legacy_AudioGain_audio_gain(const AudioGain& aidl, bool isInput) { in aidl2legacy_AudioGain_audio_gain() argument
2717 aidl.channelMask, isInput)); in aidl2legacy_AudioGain_audio_gain()
2728 legacy2aidl_audio_gain_AudioGain(const audio_gain& legacy, bool isInput) { in legacy2aidl_audio_gain_AudioGain() argument
2732 legacy2aidl_audio_channel_mask_t_AudioChannelLayout(legacy.channel_mask, isInput)); in legacy2aidl_audio_gain_AudioGain()