Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp53 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in addOutputProfile() local
54 devDesc->setAddress(address); in addOutputProfile()
55 addDynamicDevice(devDesc); in addOutputProfile()
57 devDesc->attach(this); in addOutputProfile()
58 profile->addSupportedDevice(devDesc); in addOutputProfile()
121 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in addInputProfile() local
122 devDesc->setAddress(address); in addInputProfile()
123 addDynamicDevice(devDesc); in addInputProfile()
125 devDesc->attach(this); in addInputProfile()
126 profile->addSupportedDevice(devDesc); in addInputProfile()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp256 status_t ParameterManagerWrapper::setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState() argument
259 std::string criterionName = audio_is_output_device(devDesc->type()) ? in setDeviceConnectionState()
262 ALOGV("%s: device with address %s %s", __FUNCTION__, devDesc->address().string(), in setDeviceConnectionState()
274 if (not criterionType->getNumericalValue(devDesc->address().string(), deviceAddressId)) { in setDeviceConnectionState()
275 ALOGW("%s: unknown device address reported (%s)", __FUNCTION__, devDesc->address().c_str()); in setDeviceConnectionState()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp162 status_t Engine::setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState() argument
165 mPolicyParameterMgr->setDeviceConnectionState(devDesc, state); in setDeviceConnectionState()
167 if (audio_is_output_device(devDesc->type())) { in setDeviceConnectionState()
170 } else if (audio_is_input_device(devDesc->type())) { in setDeviceConnectionState()
DEngine.h54 android::status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc,
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h121 status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc,
/frameworks/av/services/audiopolicy/engine/interface/
DAudioPolicyManagerInterface.h104 virtual status_t setDeviceConnectionState(const android::sp<android::DeviceDescriptor> devDesc,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp367 sp<DeviceDescriptor> devDesc = in getDeviceConnectionState() local
372 if (devDesc == 0) { in getDeviceConnectionState()
416 sp<DeviceDescriptor> devDesc = deviceList.itemAt(0); in handleDeviceConfigChange() local
428 if (availablePrimaryOutputDevices().contains(devDesc) && in handleDeviceConfigChange()
440 devDesc->setEncodedFormat(encodedFormat); in handleDeviceConfigChange()
451 devDesc->getEncodedFormat()); in handleDeviceConfigChange()
645 const sp<DeviceDescriptor>& devDesc, const char *moduleId) const { in isDeviceOfModule() argument
649 .indexOf(devDesc) != NAME_NOT_FOUND in isDeviceOfModule()
651 .indexOf(devDesc) != NAME_NOT_FOUND; in isDeviceOfModule()
3031 sp<DeviceDescriptor> devDesc = mHwModules.getDeviceDescriptor( in setUidDeviceAffinities() local
[all …]
DAudioPolicyManager.h659 bool isDeviceOfModule(const sp<DeviceDescriptor>& devDesc, const char *moduleId) const;
764 void modifySurroundFormats(const sp<DeviceDescriptor>& devDesc, FormatVector *formatsPtr);
779 void updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, audio_io_handle_t ioHandle,