Searched refs:deviceDesc (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | ConfigParsingUtils.cpp | 92 void ConfigParsingUtils::loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc) in loadDeviceDescriptorGains() argument 94 loadAudioPortGains(root, *deviceDesc); in loadDeviceDescriptorGains() 95 if (deviceDesc->mGains.size() > 0) { in loadDeviceDescriptorGains() 96 deviceDesc->mGains[0]->getDefaultConfig(&deviceDesc->mGain); in loadDeviceDescriptorGains() 118 sp<DeviceDescriptor> deviceDesc = new DeviceDescriptor(type, String8(root->name)); in loadHwModuleDevice() local 123 deviceDesc->mAddress = String8((char *)node->value); in loadHwModuleDevice() 126 deviceDesc->addAudioProfile( in loadHwModuleDevice() 131 deviceDesc->addAudioProfile( in loadHwModuleDevice() 137 loadDeviceDescriptorGains(node, deviceDesc); in loadHwModuleDevice() 143 deviceDesc->getTagName().string(), type, deviceDesc->mAddress.string()); in loadHwModuleDevice() [all …]
|
D | Serializer.cpp | 289 status_t DevicePortTraits::deserialize(_xmlDoc *doc, const _xmlNode *root, PtrElement &deviceDesc, in deserialize() argument 320 deviceDesc = new Element(type, String8(name.c_str())); in deserialize() 325 deviceDesc->mAddress = String8(address.c_str()); in deserialize() 338 deviceDesc->setAudioProfiles(profiles); in deserialize() 341 deserializeCollection<AudioGainTraits>(doc, root, deviceDesc->mGains, NULL); in deserialize() 343 deviceDesc->getName().string(), type, deviceDesc->mAddress.string()); in deserialize()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_UsbHostManager.cpp | 63 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/common/managerdefinitions/include/ |
D | ConfigParsingUtils.h | 45 static void loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc);
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 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 [all …]
|
D | AudioPolicyManager.h | 531 void cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc);
|