Home
last modified time | relevance | path

Searched refs:devicePort (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioDevicePortConfig.java32 AudioDevicePortConfig(AudioDevicePort devicePort, int samplingRate, int channelMask, in AudioDevicePortConfig() argument
34 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); in AudioDevicePortConfig()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp405 for (const auto& devicePort : devices()) { in setVolume() local
409 if (device == devicePort->type() && in setVolume()
410 devicePort->hasGainController(true) && isActive(vs)) { in setVolume()
411 ALOGV("%s: device %s has gain controller", __func__, devicePort->toString().c_str()); in setVolume()
421 AudioGains gains = devicePort->getGains(); in setVolume()
429 devicePort->toAudioPortConfig(&config); in setVolume()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java917 final AudioDevicePort devicePort = (AudioDevicePort) port; in configureHdmiPlugIntent() local
918 if (devicePort.type() != AudioManager.DEVICE_OUT_HDMI in configureHdmiPlugIntent()
919 && devicePort.type() != AudioManager.DEVICE_OUT_HDMI_ARC) { in configureHdmiPlugIntent()
923 int[] formats = AudioFormat.filterPublicFormats(devicePort.formats()); in configureHdmiPlugIntent()
937 for (int mask : devicePort.channelMasks()) { in configureHdmiPlugIntent()