Searched refs:deviceDesc (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_UsbHostManager.cpp | 60 const usb_device_descriptor* deviceDesc = usb_device_get_device_descriptor(device); in usb_device_added() local 61 int classID = deviceDesc->bDeviceClass; in usb_device_added() 62 int subClassID = deviceDesc->bDeviceSubClass; in usb_device_added()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | IOProfile.cpp | 142 [&device](sp<DeviceDescriptor> deviceDesc) { in containsSingleDeviceSupportingEncodedFormats() argument 143 return device == deviceDesc && deviceDesc->hasCurrentEncodedFormat(); }) == 1; in containsSingleDeviceSupportingEncodedFormats()
|
D | HwModule.cpp | 57 sp<DeviceDescriptor> deviceDesc = declaredDevices.getDevice(device, address, codec); in getTagForDevice() local 58 return deviceDesc ? deviceDesc->getTagName() : std::string{}; in getTagForDevice() 304 sp <DeviceDescriptor> deviceDesc = in getModuleForDeviceType() local 306 if (deviceDesc) { in getModuleForDeviceType() 308 *tagName = deviceDesc->getTagName(); in getModuleForDeviceType()
|
D | Serializer.cpp | 571 DevicePortTraits::Element deviceDesc = in deserialize() local 585 deviceDesc->setAudioProfiles(profiles); in deserialize() 588 status = deserializeCollection<AudioGainTraits>(cur, &deviceDesc->mGains, NULL); in deserialize() 593 deviceDesc->getName().c_str(), type, deviceDesc->address().c_str()); in deserialize() 594 return deviceDesc; in deserialize()
|
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionVirtualizer.cpp | 71 AudioDeviceDescription deviceDesc = VALUE_OR_RETURN_STATUS( in setParameter() local 74 aidlParam = MAKE_SPECIFIC_PARAMETER(Virtualizer, virtualizer, device, deviceDesc); in setParameter()
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectConversionHelperAidl.cpp | 350 AudioDeviceDescription deviceDesc = VALUE_OR_RETURN_STATUS( in handleSetDevice() local 353 aidlDevices.emplace_back(deviceDesc); in handleSetDevice()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1208 sp<DeviceDescriptor> deviceDesc = in getOutputForAttrInt() local 1222 if (deviceDesc != nullptr && (tryDirectForFlags || tryDirectForChannelMask)) { in getOutputForAttrInt() 1227 DeviceVector(deviceDesc), &newOutput); in getOutputForAttrInt() 1238 *selectedDeviceId = deviceDesc != 0 ? deviceDesc->getId() : AUDIO_PORT_HANDLE_NONE; in getOutputForAttrInt() 5297 sp<DeviceDescriptor> deviceDesc; in setAudioPortConfig() local 5299 deviceDesc = mAvailableInputDevices.getDeviceFromId(config->id); in setAudioPortConfig() 5301 deviceDesc = mAvailableOutputDevices.getDeviceFromId(config->id); in setAudioPortConfig() 5305 if (deviceDesc == NULL) { in setAudioPortConfig() 5308 audioPortConfig = deviceDesc; in setAudioPortConfig() 5444 sp<DeviceDescriptor> deviceDesc = mEngine->getInputDeviceForAttributes(attr); in acquireSoundTriggerSession() local [all …]
|
D | AudioPolicyManager.h | 903 void cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc);
|