Lines Matching refs:deviceDescriptor
4753 sp<DeviceDescriptor> deviceDescriptor = mAvailableOutputDevices.getDeviceFromId(portId); in getSupportedMixerAttributes() local
4754 if (deviceDescriptor == nullptr) { in getSupportedMixerAttributes()
4758 if (!audio_is_usb_out_device(deviceDescriptor->type())) { in getSupportedMixerAttributes()
4760 deviceDescriptor->type()); in getSupportedMixerAttributes()
4765 if (curProfile->supportsDevice(deviceDescriptor)) { in getSupportedMixerAttributes()
4787 sp<DeviceDescriptor> deviceDescriptor = mAvailableOutputDevices.getDeviceFromId(portId); in setPreferredMixerAttributes() local
4788 if (deviceDescriptor == nullptr) { in setPreferredMixerAttributes()
4792 if (!audio_is_usb_out_device(deviceDescriptor->type())) { in setPreferredMixerAttributes()
4794 __func__, portId, deviceDescriptor->type()); in setPreferredMixerAttributes()
4803 DeviceVector devices(deviceDescriptor); in setPreferredMixerAttributes()
4841 if (output->mProfile == profile && output->devices().onlyContainsDevice(deviceDescriptor)) { in setPreferredMixerAttributes()