Lines Matching refs:deviceDesc
953 sp<DeviceDescriptor> deviceDesc = in getOutputForAttrInt() local
957 *selectedDeviceId = deviceDesc != 0 ? deviceDesc->getId() : AUDIO_PORT_HANDLE_NONE; in getOutputForAttrInt()
3783 sp<DeviceDescriptor> deviceDesc; in setAudioPortConfig() local
3785 deviceDesc = mAvailableInputDevices.getDeviceFromId(config->id); in setAudioPortConfig()
3787 deviceDesc = mAvailableOutputDevices.getDeviceFromId(config->id); in setAudioPortConfig()
3791 if (deviceDesc == NULL) { in setAudioPortConfig()
3794 audioPortConfig = deviceDesc; in setAudioPortConfig()
6091 void AudioPolicyManager::cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc) in cleanUpForDevice() argument
6095 if (sourceDesc->srcDevice()->equals(deviceDesc)) { in cleanUpForDevice()
6107 source->ext.device.type == deviceDesc->type()) { in cleanUpForDevice()
6114 sink->ext.device.type == deviceDesc->type()) { in cleanUpForDevice()
6124 mInputs.clearSessionRoutesForDevice(deviceDesc); in cleanUpForDevice()
6126 mHwModules.cleanUpForDevice(deviceDesc); in cleanUpForDevice()