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()
303 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in getDeviceDescriptor() local
304 devDesc->setName(String8(device_name)); in getDeviceDescriptor()
305 devDesc->mAddress = address; in getDeviceDescriptor()
306 return devDesc; in getDeviceDescriptor()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp119 sp<DeviceDescriptor> devDesc = in setDeviceConnectionStateInt() local
126 ssize_t index = mAvailableOutputDevices.indexOf(devDesc); in setDeviceConnectionStateInt()
142 index = mAvailableOutputDevices.add(devDesc); in setDeviceConnectionStateInt()
148 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt()
158 broadcastDeviceConnectionState(device, state, devDesc->mAddress); in setDeviceConnectionStateInt()
160 if (checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress) != NO_ERROR) { in setDeviceConnectionStateInt()
161 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt()
164 devDesc->mAddress); in setDeviceConnectionStateInt()
168 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt()
187 broadcastDeviceConnectionState(device, state, devDesc->mAddress); in setDeviceConnectionStateInt()
[all …]
DAudioPolicyManager.h393 status_t checkOutputsForDevice(const sp<DeviceDescriptor>& devDesc,
398 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,