Lines Matching refs:deviceDesc
544 sp<DeviceDescriptor> deviceDesc = deviceList.itemAt(0); in fillAudioPortConfigForDevice() local
545 deviceDesc->toAudioPortConfig(config); in fillAudioPortConfigForDevice()
546 return deviceDesc; in fillAudioPortConfigForDevice()
851 sp<DeviceDescriptor> deviceDesc; in getOutputForAttr() local
853 deviceDesc = mAvailableOutputDevices.getDeviceFromId(*selectedDeviceId); in getOutputForAttr()
855 mOutputRoutes.addRoute(session, *stream, SessionRoute::SOURCE_TYPE_NA, deviceDesc, uid); in getOutputForAttr()
1499 sp<DeviceDescriptor> deviceDesc; in getInputForAttr() local
1501 deviceDesc = mAvailableInputDevices.getDeviceFromId(*selectedDeviceId); in getInputForAttr()
1503 mInputRoutes.addRoute(session, SessionRoute::STREAM_TYPE_NA, inputSource, deviceDesc, uid); in getInputForAttr()
3214 sp<DeviceDescriptor> deviceDesc; in setAudioPortConfig() local
3216 deviceDesc = mAvailableInputDevices.getDeviceFromId(config->id); in setAudioPortConfig()
3218 deviceDesc = mAvailableOutputDevices.getDeviceFromId(config->id); in setAudioPortConfig()
3222 if (deviceDesc == NULL) { in setAudioPortConfig()
3225 audioPortConfig = deviceDesc; in setAudioPortConfig()
5902 void AudioPolicyManager::cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc) in loadConfig() argument
5906 if (sourceDesc->mDevice->equals(deviceDesc)) { in loadConfig()
5918 source->ext.device.type == deviceDesc->type()) { in loadConfig()
5925 sink->ext.device.type == deviceDesc->type()) { in loadConfig()