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.cpp53 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in addOutputProfile() local
54 devDesc->mAddress = address; in addOutputProfile()
55 profile->addSupportedDevice(devDesc); in addOutputProfile()
115 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in addInputProfile() local
116 devDesc->mAddress = address; in addInputProfile()
117 profile->addSupportedDevice(devDesc); in addInputProfile()
322 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in getDeviceDescriptor() local
323 devDesc->setName(String8(device_name)); in getDeviceDescriptor()
324 devDesc->mAddress = address; in getDeviceDescriptor()
325 return devDesc; in getDeviceDescriptor()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp75 sp<DeviceDescriptor> devDesc = in setDeviceConnectionStateInt() local
82 ssize_t index = mAvailableOutputDevices.indexOf(devDesc); in setDeviceConnectionStateInt()
98 index = mAvailableOutputDevices.add(devDesc); in setDeviceConnectionStateInt()
104 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt()
112 if (checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress) != NO_ERROR) { in setDeviceConnectionStateInt()
113 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt()
117 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt()
126 AudioParameter param = AudioParameter(devDesc->mAddress); in setDeviceConnectionStateInt()
141 AudioParameter param = AudioParameter(devDesc->mAddress); in setDeviceConnectionStateInt()
146 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt()
[all …]
DAudioPolicyManager.h365 status_t checkOutputsForDevice(const sp<DeviceDescriptor> devDesc,
370 status_t checkInputsForDevice(const sp<DeviceDescriptor> devDesc,
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp222 status_t Engine::setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState() argument
225 if (audio_is_output_device(devDesc->type())) { in setDeviceConnectionState()
228 } else if (audio_is_input_device(devDesc->type())) { in setDeviceConnectionState()
DEngine.h86 virtual android::status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState() argument
89 return mPolicyEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionState()
164 status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc,
/frameworks/av/services/audiopolicy/engine/interface/
DAudioPolicyManagerInterface.h133 virtual status_t setDeviceConnectionState(const android::sp<android::DeviceDescriptor> devDesc,