Lines Matching refs:mDevicePort
3510 if (mHalEffect != nullptr && mDevicePort.id == port->id) { in checkPort()
3513 mDevicePort = *port; in checkPort()
3532 mDevicePort.id = AUDIO_PORT_HANDLE_NONE; in checkPort()
3591 mDevicePort.id = AUDIO_PORT_HANDLE_NONE; in removeEffect()
3601 return mManagerCallback->addEffectToHal(&mDevicePort, effect); in addEffectToHal()
3609 return mManagerCallback->removeEffectFromHal(&mDevicePort, effect); in removeEffectFromHal()
3630 if (mDevicePort.id != AUDIO_PORT_HANDLE_NONE) { in isOutput()
3631 return mDevicePort.role == AUDIO_PORT_ROLE_SINK; in isOutput()
3637 if (mDevicePort.id != AUDIO_PORT_HANDLE_NONE && in sampleRate()
3638 (mDevicePort.config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) != 0) { in sampleRate()
3639 return mDevicePort.sample_rate; in sampleRate()
3645 if (mDevicePort.id != AUDIO_PORT_HANDLE_NONE && in channelMask()
3646 (mDevicePort.config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) != 0) { in channelMask()
3647 return mDevicePort.channel_mask; in channelMask()