Home
last modified time | relevance | path

Searched refs:deviceDesc (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp115 [&device](sp<DeviceDescriptor> deviceDesc) { in containsSingleDeviceSupportingEncodedFormats() argument
116 return device == deviceDesc && deviceDesc->hasCurrentEncodedFormat(); }) == 1; in containsSingleDeviceSupportingEncodedFormats()
DHwModule.cpp48 sp<DeviceDescriptor> deviceDesc = declaredDevices.getDevice(device, address, codec); in getTagForDevice() local
49 return deviceDesc ? deviceDesc->getTagName() : std::string{}; in getTagForDevice()
295 sp <DeviceDescriptor> deviceDesc = in getModuleForDeviceType() local
297 if (deviceDesc) { in getModuleForDeviceType()
299 *tagName = deviceDesc->getTagName(); in getModuleForDeviceType()
DSerializer.cpp556 DevicePortTraits::Element deviceDesc = in deserialize() local
570 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()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbHostManager.cpp63 const usb_device_descriptor* deviceDesc = usb_device_get_device_descriptor(device); in usb_device_added() local
64 int classID = deviceDesc->bDeviceClass; in usb_device_added()
65 int subClassID = deviceDesc->bDeviceSubClass; in usb_device_added()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1030 sp<DeviceDescriptor> deviceDesc = in getOutputForAttrInt() local
1035 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() local
4232 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 …]
DAudioPolicyManager.h785 void cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc);