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 | 75 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 …]
|
D | AudioPolicyManager.h | 365 status_t checkOutputsForDevice(const sp<DeviceDescriptor> devDesc, 370 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,
|