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()
62 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()81 dstConfig->config_mask = AUDIO_PORT_CONFIG_ALL; in toAudioPortConfig()83 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
187 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()205 dstConfig->config_mask = AUDIO_PORT_CONFIG_ALL; in toAudioPortConfig()207 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()543 config.config_mask = AUDIO_PORT_CONFIG_GAIN; in setVolume()
60 .config_mask = AUDIO_PORT_CONFIG_ALL & ~AUDIO_PORT_CONFIG_GAIN, in isCompatibleProfile()
116 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()
283 if (config->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in applyAudioPortConfig()286 if (config->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in applyAudioPortConfig()289 if (config->config_mask & AUDIO_PORT_CONFIG_FORMAT) { in applyAudioPortConfig()292 if (config->config_mask & AUDIO_PORT_CONFIG_GAIN) { in applyAudioPortConfig()295 if (config->config_mask & AUDIO_PORT_CONFIG_FLAGS) { in applyAudioPortConfig()310 if (dstConfig->config_mask & configMask) { in updateField()311 if ((srcConfig != nullptr) && (srcConfig->config_mask & configMask)) { in updateField()337 if ((dstConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) && audioport != NULL) { in toAudioPortConfig()339 if ((srcConfig != NULL) && (srcConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) in toAudioPortConfig()347 dstConfig->config_mask |= AUDIO_PORT_CONFIG_GAIN; in toAudioPortConfig()[all …]
60 dstConfig->config_mask = AUDIO_PORT_CONFIG_GAIN; in toAudioPortConfig()62 dstConfig->config_mask |= AUDIO_PORT_CONFIG_SAMPLE_RATE; in toAudioPortConfig()65 dstConfig->config_mask |= AUDIO_PORT_CONFIG_CHANNEL_MASK; in toAudioPortConfig()68 dstConfig->config_mask |= AUDIO_PORT_CONFIG_FORMAT; in toAudioPortConfig()72 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
264 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in createAudioPatch()267 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in createAudioPatch()270 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_FORMAT) { in createAudioPatch()273 if (patch->sinks[0].config_mask & AUDIO_PORT_CONFIG_FLAGS) { in createAudioPatch()296 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in createAudioPatch()301 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in createAudioPatch()307 if (patch->sources[0].config_mask & AUDIO_PORT_CONFIG_FORMAT) { in createAudioPatch()313 patch->sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createAudioPatch()509 audio_input_flags_t inputFlags = mAudioPatch.sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections()523 audio_output_flags_t outputFlags = mAudioPatch.sinks[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections()
3406 (mDevicePort.config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) != 0) { in sampleRate()3414 (mDevicePort.config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) != 0) { in channelMask()
1820 config->config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE|AUDIO_PORT_CONFIG_CHANNEL_MASK| in toAudioPortConfig()4717 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()9508 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()10499 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()10621 config->config_mask |= AUDIO_PORT_CONFIG_FLAGS; in toAudioPortConfig()
37 .config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE | AUDIO_PORT_CONFIG_CHANNEL_MASK |
1988 legacy.config_mask |= AUDIO_PORT_CONFIG_SAMPLE_RATE; in aidl2legacy_AudioPortConfig_audio_port_config()1995 legacy.config_mask |= AUDIO_PORT_CONFIG_CHANNEL_MASK; in aidl2legacy_AudioPortConfig_audio_port_config()2000 legacy.config_mask |= AUDIO_PORT_CONFIG_FORMAT; in aidl2legacy_AudioPortConfig_audio_port_config()2005 legacy.config_mask |= AUDIO_PORT_CONFIG_GAIN; in aidl2legacy_AudioPortConfig_audio_port_config()2010 legacy.config_mask |= AUDIO_PORT_CONFIG_FLAGS; in aidl2legacy_AudioPortConfig_audio_port_config()2026 if (legacy.config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) { in legacy2aidl_audio_port_config_AudioPortConfig()2031 if (legacy.config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) { in legacy2aidl_audio_port_config_AudioPortConfig()2035 if (legacy.config_mask & AUDIO_PORT_CONFIG_FORMAT) { in legacy2aidl_audio_port_config_AudioPortConfig()2039 if (legacy.config_mask & AUDIO_PORT_CONFIG_GAIN) { in legacy2aidl_audio_port_config_AudioPortConfig()2043 if (legacy.config_mask & AUDIO_PORT_CONFIG_FLAGS) { in legacy2aidl_audio_port_config_AudioPortConfig()
981 nAudioPortConfig->config_mask = env->GetIntField(jAudioPortConfig, in convertAudioPortConfigToNative()984 nAudioPortConfig->config_mask = configMask; in convertAudioPortConfigToNative()1078 int gainIndex = (nAudioPortConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) in convertAudioPortConfigFromNative()1177 nMask = (nAudioPortConfig->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) in convertAudioPortConfigFromNative()1190 (nAudioPortConfig->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) in convertAudioPortConfigFromNative()1195 (nAudioPortConfig->config_mask & AUDIO_PORT_CONFIG_FORMAT) in convertAudioPortConfigFromNative()
697 patch.sources[i].config_mask = mFdp.ConsumeIntegral<uint32_t>(); in invokeAudioPatch()709 patch.sinks[i].config_mask = mFdp.ConsumeIntegral<uint32_t>(); in invokeAudioPatch()
1680 const unsigned int config_mask = AUDIO_PORT_CONFIG_SAMPLE_RATE | in getBestMsdConfig() local1682 sinkConfig->config_mask |= config_mask; in getBestMsdConfig()1683 sourceConfig->config_mask |= config_mask; in getBestMsdConfig()4783 if (config->config_mask != AUDIO_PORT_CONFIG_GAIN) { in setAudioPortConfig()
900 if ((port.active_config.config_mask & AUDIO_PORT_CONFIG_FLAGS) != 0) { in TEST_F()