Searched refs:deviceDesc (Results 1 – 6 of 6) sorted by relevance
115 [&device](sp<DeviceDescriptor> deviceDesc) { in containsSingleDeviceSupportingEncodedFormats() argument116 return device == deviceDesc && deviceDesc->hasCurrentEncodedFormat(); }) == 1; in containsSingleDeviceSupportingEncodedFormats()
48 sp<DeviceDescriptor> deviceDesc = declaredDevices.getDevice(device, address, codec); in getTagForDevice() local49 return deviceDesc ? deviceDesc->getTagName() : std::string{}; in getTagForDevice()295 sp <DeviceDescriptor> deviceDesc = in getModuleForDeviceType() local297 if (deviceDesc) { in getModuleForDeviceType()299 *tagName = deviceDesc->getTagName(); in getModuleForDeviceType()
556 DevicePortTraits::Element deviceDesc = in deserialize() local570 deviceDesc->setAudioProfiles(profiles); in deserialize()573 status = deserializeCollection<AudioGainTraits>(cur, &deviceDesc->mGains, NULL); in deserialize()578 deviceDesc->getName().c_str(), type, deviceDesc->address().c_str()); in deserialize()579 return deviceDesc; in deserialize()
63 const usb_device_descriptor* deviceDesc = usb_device_get_device_descriptor(device); in usb_device_added() local64 int classID = deviceDesc->bDeviceClass; in usb_device_added()65 int subClassID = deviceDesc->bDeviceSubClass; in usb_device_added()
1030 sp<DeviceDescriptor> deviceDesc = in getOutputForAttrInt() local1035 if (deviceDesc != nullptr in getOutputForAttrInt()1041 DeviceVector(deviceDesc), &newOutput); in getOutputForAttrInt()1052 *selectedDeviceId = deviceDesc != 0 ? deviceDesc->getId() : AUDIO_PORT_HANDLE_NONE; in getOutputForAttrInt()4230 sp<DeviceDescriptor> deviceDesc; in setAudioPortConfig() local4232 deviceDesc = mAvailableInputDevices.getDeviceFromId(config->id); in setAudioPortConfig()4234 deviceDesc = mAvailableOutputDevices.getDeviceFromId(config->id); in setAudioPortConfig()4238 if (deviceDesc == NULL) { in setAudioPortConfig()4241 audioPortConfig = deviceDesc; in setAudioPortConfig()6700 void AudioPolicyManager::cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc) in cleanUpForDevice() argument[all …]
785 void cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc);