Searched refs:config_mask (Results 1 – 16 of 16) sorted by relevance
67 auto config_mask = config->config_mask; in checkExactAudioProfile() local68 if (config_mask & AUDIO_PORT_CONFIG_GAIN) { in checkExactAudioProfile()69 config_mask &= ~AUDIO_PORT_CONFIG_GAIN; in checkExactAudioProfile()75 if (config_mask != 0) { in checkExactAudioProfile()281 if (dstConfig->config_mask & AUDIO_PORT_CONFIG_FLAGS) { in toPolicyAudioPortConfig()282 if ((srcConfig != nullptr) && (srcConfig->config_mask & AUDIO_PORT_CONFIG_FLAGS)) { in toPolicyAudioPortConfig()
59 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()79 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| in toAudioPortConfig()82 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
185 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()204 dstConfig->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| in toAudioPortConfig()207 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()476 config.config_mask = AUDIO_PORT_CONFIG_GAIN; in setVolume()
60 .config_mask = AUDIO_PORT_CONFIG_ALL & ~AUDIO_PORT_CONFIG_GAIN, in isCompatibleProfile()
138 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()
56 dstConfig->config_mask = AUDIO_PORT_CONFIG_GAIN; in toAudioPortConfig()58 dstConfig->config_mask |= AUDIO_PORT_CONFIG_SAMPLE_RATE; in toAudioPortConfig()61 dstConfig->config_mask |= AUDIO_PORT_CONFIG_CHANNEL_MASK; in toAudioPortConfig()64 dstConfig->config_mask |= AUDIO_PORT_CONFIG_FORMAT; in toAudioPortConfig()68 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
241 if (config->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in applyAudioPortConfig()244 if (config->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in applyAudioPortConfig()247 if (config->config_mask & AUDIO_PORT_CONFIG_FORMAT) { in applyAudioPortConfig()250 if (config->config_mask & AUDIO_PORT_CONFIG_GAIN) { in applyAudioPortConfig()265 if (dstConfig->config_mask & configMask) { in updateField()266 if ((srcConfig != nullptr) && (srcConfig->config_mask & configMask)) { in updateField()292 if ((dstConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) && audioport != NULL) { in toAudioPortConfig()294 if ((srcConfig != NULL) && (srcConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) in toAudioPortConfig()302 dstConfig->config_mask |= AUDIO_PORT_CONFIG_GAIN; in toAudioPortConfig()304 dstConfig->config_mask &= ~AUDIO_PORT_CONFIG_GAIN; in toAudioPortConfig()
263 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in createAudioPatch()266 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in createAudioPatch()269 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_FORMAT) { in createAudioPatch()272 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_FLAGS) { in createAudioPatch()294 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in createAudioPatch()299 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in createAudioPatch()305 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_FORMAT) { in createAudioPatch()311 patch->sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createAudioPatch()500 audio_input_flags_t inputFlags = mAudioPatch.sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections()514 audio_output_flags_t outputFlags = mAudioPatch.sinks[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections()
3234 (mDevicePort.config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) != 0) { in sampleRate()3242 (mDevicePort.config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) != 0) { in channelMask()
1703 config->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| in toAudioPortConfig()4443 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()9024 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()10015 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()10136 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()
147 if (config->config_mask & AUDIO_PORT_CONFIG_FLAGS) { in applyPolicyAudioPortConfig()
37 .config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE | AUDIO_PORT_CONFIG_CHANNEL_MASK |
1051 legacy.config_mask = VALUE_OR_RETURN(aidl2legacy_int32_t_config_mask(aidl.configMask)); in aidl2legacy_AudioPortConfig_audio_port_config()1080 aidl.configMask = VALUE_OR_RETURN(legacy2aidl_config_mask_int32_t(legacy.config_mask)); in legacy2aidl_audio_port_config_AudioPortConfig()1081 if (legacy.config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in legacy2aidl_audio_port_config_AudioPortConfig()1084 if (legacy.config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in legacy2aidl_audio_port_config_AudioPortConfig()1088 if (legacy.config_mask & AUDIO_PORT_CONFIG_FORMAT) { in legacy2aidl_audio_port_config_AudioPortConfig()1091 if (legacy.config_mask & AUDIO_PORT_CONFIG_GAIN) { in legacy2aidl_audio_port_config_AudioPortConfig()1095 if (legacy.config_mask & AUDIO_PORT_CONFIG_FLAGS) { in legacy2aidl_audio_port_config_AudioPortConfig()
953 nAudioPortConfig->config_mask = env->GetIntField(jAudioPortConfig, in convertAudioPortConfigToNative()956 nAudioPortConfig->config_mask = configMask; in convertAudioPortConfigToNative()1050 int gainIndex = (nAudioPortConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) in convertAudioPortConfigFromNative()1149 nMask = (nAudioPortConfig->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) in convertAudioPortConfigFromNative()1162 (nAudioPortConfig->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) in convertAudioPortConfigFromNative()1167 (nAudioPortConfig->config_mask & AUDIO_PORT_CONFIG_FORMAT) in convertAudioPortConfigFromNative()
686 patch.sources[i].config_mask = mFdp.ConsumeIntegral<uint32_t>(); in invokeAudioPatch()698 patch.sinks[i].config_mask = mFdp.ConsumeIntegral<uint32_t>(); in invokeAudioPatch()
1478 const unsigned int config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE | in getBestMsdConfig() local1480 sinkConfig->config_mask |= config_mask; in getBestMsdConfig()1481 sourceConfig->config_mask |= config_mask; in getBestMsdConfig()4205 if (config->config_mask != AUDIO_PORT_CONFIG_GAIN) { in setAudioPortConfig()