Searched refs:devDesc (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | HwModule.cpp | 53 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/ |
D | AudioPolicyManager.cpp | 91 sp<DeviceDescriptor> devDesc = in setDeviceConnectionStateInt() local 98 ssize_t index = mAvailableOutputDevices.indexOf(devDesc); in setDeviceConnectionStateInt() 114 index = mAvailableOutputDevices.add(devDesc); in setDeviceConnectionStateInt() 120 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt() 130 broadcastDeviceConnectionState(device, state, devDesc->mAddress); in setDeviceConnectionStateInt() 132 if (checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress) != NO_ERROR) { in setDeviceConnectionStateInt() 133 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt() 136 devDesc->mAddress); in setDeviceConnectionStateInt() 140 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt() 159 broadcastDeviceConnectionState(device, state, devDesc->mAddress); in setDeviceConnectionStateInt() [all …]
|
D | AudioPolicyManager.h | 366 status_t checkOutputsForDevice(const sp<DeviceDescriptor>& devDesc, 371 status_t checkInputsForDevice(const sp<DeviceDescriptor>& devDesc,
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 222 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()
|
D | Engine.h | 86 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/ |
D | AudioPolicyManagerInterface.h | 133 virtual status_t setDeviceConnectionState(const android::sp<android::DeviceDescriptor> devDesc,
|