Lines Matching refs:isInput

79 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()
457 status_t HidlUtils::audioGainFromHal(const struct audio_gain& halGain, bool isInput, in audioGainFromHal() argument
461 CONVERT_CHECKED(audioChannelMaskFromHal(halGain.channel_mask, isInput, &gain->channelMask), in audioGainFromHal()
565 bool isInput = false; in audioPortConfigFromHal() local
569 halConfig.ext.session, &config->ext, &isInput), in audioPortConfigFromHal()
571 if (audio_port_config_has_input_direction(&halConfig) != isInput) { in audioPortConfigFromHal()
573 audio_port_config_has_input_direction(&halConfig), isInput); in audioPortConfigFromHal()
580 halConfigBase, isInput, halConfig.config_mask & AUDIO_PORT_CONFIG_FORMAT, in audioPortConfigFromHal()
586 CONVERT_CHECKED(audioGainConfigFromHal(halConfig.gain, isInput, &config->gain.config()), in audioPortConfigFromHal()
634 bool* isInput) { in audioPortExtendedInfoFromHal() argument
636 *isInput = false; in audioPortExtendedInfoFromHal()
642 *isInput = role == AUDIO_PORT_ROLE_SOURCE; in audioPortExtendedInfoFromHal()
649 *isInput = role == AUDIO_PORT_ROLE_SINK; in audioPortExtendedInfoFromHal()
757 bool isInput = false; in audioPortFromHal() local
780 halSession, &port->ext, &isInput), in audioPortFromHal()
782 CONVERT_CHECKED(audioTransportsFromHal(halPort, isInput, &port->transports), result); in audioPortFromHal()
785 CONVERT_CHECKED(audioGainFromHal(halPort.gains[i], isInput, &port->gains[i]), result); in audioPortFromHal()
836 status_t HidlUtils::audioTransportsFromHal(const struct audio_port_v7& halPort, bool isInput, in audioTransportsFromHal() argument
850 CONVERT_CHECKED(audioProfileFromHal(halPort.audio_profiles[i], isInput, in audioTransportsFromHal()
940 status_t HidlUtils::audioProfileFromHal(const struct audio_profile& halProfile, bool isInput, in audioProfileFromHal() argument
950 CONVERT_CHECKED(audioChannelMaskFromHal(halProfile.channel_masks[i], isInput, in audioProfileFromHal()