Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp70 sp<DeviceDescriptor> devDesc = in addOutputProfile() local
72 addDynamicDevice(devDesc); in addOutputProfile()
74 devDesc->attach(this); in addOutputProfile()
75 profile->addSupportedDevice(devDesc); in addOutputProfile()
140 sp<DeviceDescriptor> devDesc = in addInputProfile() local
142 addDynamicDevice(devDesc); in addInputProfile()
144 devDesc->attach(this); in addInputProfile()
145 profile->addSupportedDevice(devDesc); in addInputProfile()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.h62 status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc,
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h125 virtual status_t setDeviceConnectionState(const android::sp<android::DeviceDescriptor> devDesc,
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp71 status_t EngineBase::setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState() argument
74 audio_devices_t deviceType = devDesc->type(); in setDeviceConnectionState()
82 mLastRemovableMediaDevices.setRemovableMediaDevices(devDesc, state); in setDeviceConnectionState()
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.cpp673 if (const auto& devDesc = deviceExt.device; in initialize() local
674 (devDesc.type.type == AudioDeviceType::IN_SUBMIX || in initialize()
675 devDesc.type.type == AudioDeviceType::OUT_SUBMIX) && in initialize()
676 devDesc.type.connection == AudioDeviceDescription::CONNECTION_VIRTUAL) { in initialize()
677 if (devDesc.type.type == AudioDeviceType::IN_SUBMIX) { in initialize()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp493 sp<DeviceDescriptor> devDesc = in getDeviceConnectionState() local
498 if (devDesc == 0) { in getDeviceConnectionState()
537 sp<DeviceDescriptor> devDesc = deviceList.itemAt(0); in handleDeviceConfigChange() local
549 if (availablePrimaryOutputDevices().contains(devDesc) && in handleDeviceConfigChange()
564 devDesc->setEncodedFormat(encodedFormat); in handleDeviceConfigChange()
600 devDesc->getEncodedFormat()); in handleDeviceConfigChange()
791 const sp<DeviceDescriptor>& devDesc, const char *moduleId) const { in isDeviceOfModule() argument
795 .indexOf(devDesc) != NAME_NOT_FOUND in isDeviceOfModule()
797 .indexOf(devDesc) != NAME_NOT_FOUND; in isDeviceOfModule()
4100 sp<DeviceDescriptor> devDesc = mHwModules.getDeviceDescriptor( in areAllDevicesSupported() local
[all …]
DAudioPolicyManager.h911 bool isDeviceOfModule(const sp<DeviceDescriptor>& devDesc, const char *moduleId) const;
1093 void modifySurroundFormats(const sp<DeviceDescriptor>& devDesc, FormatVector *formatsPtr);
1097 void updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, audio_io_handle_t ioHandle,