Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp52 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device, "" /*tagName*/, address.string()); in addOutputProfile() local
53 addDynamicDevice(devDesc); in addOutputProfile()
55 devDesc->attach(this); in addOutputProfile()
56 profile->addSupportedDevice(devDesc); in addOutputProfile()
119 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device, "" /*tagName*/, address.string()); in addInputProfile() local
120 addDynamicDevice(devDesc); in addInputProfile()
122 devDesc->attach(this); in addInputProfile()
123 profile->addSupportedDevice(devDesc); in addInputProfile()
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp66 status_t EngineBase::setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState() argument
69 audio_devices_t deviceType = devDesc->type(); in setDeviceConnectionState()
71 mLastRemovableMediaDevices.setRemovableMediaDevices(devDesc, state); in setDeviceConnectionState()
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h104 virtual status_t setDeviceConnectionState(const android::sp<android::DeviceDescriptor> devDesc,
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.h54 android::status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp385 sp<DeviceDescriptor> devDesc = in getDeviceConnectionState() local
390 if (devDesc == 0) { in getDeviceConnectionState()
434 sp<DeviceDescriptor> devDesc = deviceList.itemAt(0); in handleDeviceConfigChange() local
446 if (availablePrimaryOutputDevices().contains(devDesc) && in handleDeviceConfigChange()
458 devDesc->setEncodedFormat(encodedFormat); in handleDeviceConfigChange()
469 devDesc->getEncodedFormat()); in handleDeviceConfigChange()
633 const sp<DeviceDescriptor>& devDesc, const char *moduleId) const { in isDeviceOfModule() argument
637 .indexOf(devDesc) != NAME_NOT_FOUND in isDeviceOfModule()
639 .indexOf(devDesc) != NAME_NOT_FOUND; in isDeviceOfModule()
3029 sp<DeviceDescriptor> devDesc = mHwModules.getDeviceDescriptor( in setUidDeviceAffinities() local
[all …]
DAudioPolicyManager.h674 bool isDeviceOfModule(const sp<DeviceDescriptor>& devDesc, const char *moduleId) const;
782 void modifySurroundFormats(const sp<DeviceDescriptor>& devDesc, FormatVector *formatsPtr);
797 void updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, audio_io_handle_t ioHandle,