Home
last modified time | relevance | path

Searched refs:requestedDevice (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h94 const sp<DeviceDescriptor>& requestedDevice,
154 const sp<DeviceDescriptor>& requestedDevice,
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp329 const sp<DeviceDescriptor>& requestedDevice, in getOutputForAttr() argument
343 if (mixDisallowsRequestedDevice(policyMix.get(), requestedDevice, mixDevice, uid)) { in getOutputForAttr()
379 if (mixDevice != nullptr && mixDevice->equals(requestedDevice)) { in getOutputForAttr()
398 (mixesDisallowsRequestedDevice || requestedDevice == nullptr) && primaryMix != nullptr; in getOutputForAttr()
412 const sp<DeviceDescriptor>& requestedDevice, in mixDisallowsRequestedDevice() argument
415 if (requestedDevice == nullptr || mixDevice == nullptr) { in mixDisallowsRequestedDevice()
420 && requestedDevice->equals(mixDevice) in mixDisallowsRequestedDevice()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1213 const sp<DeviceDescriptor> requestedDevice = in getOutputForAttrInt() local
1242 mAvailableOutputDevices, requestedDevice, primaryMix, in getOutputForAttrInt()
1317 outputDevices = mEngine->getOutputDevicesForAttributes(*resultAttr, requestedDevice, false); in getOutputForAttrInt()
1458 const sp<DeviceDescriptor> requestedDevice = in getOutputForAttr() local
1463 requestedDevice != nullptr ? requestedPortId : AUDIO_PORT_HANDLE_NONE; in getOutputForAttr()