Home
last modified time | relevance | path

Searched refs:getDeviceFromId (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioIODescriptorInterface.h60 return devices.getDeviceFromId(matchingClients[0]->preferredDeviceId()); in findPreferredDevice()
65 return devices.getDeviceFromId(activeClientsWithRoute[0]->preferredDeviceId()); in findPreferredDevice()
DDeviceDescriptor.h147 sp<DeviceDescriptor> getDeviceFromId(audio_port_handle_t id) const;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1214 mAvailableOutputDevices.getDeviceFromId(requestedPortId); in getOutputForAttrInt()
1459 mAvailableOutputDevices.getDeviceFromId(requestedPortId); in getOutputForAttr()
1819 if (getMsdAudioOutDevices().contains(mAvailableOutputDevices.getDeviceFromId(sink->id))) { in isMsdPatch()
2432 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId())); in startSource()
2852 mAvailableInputDevices.getDeviceFromId(*selectedDeviceId); in getInputForAttr()
4753 sp<DeviceDescriptor> deviceDescriptor = mAvailableOutputDevices.getDeviceFromId(portId); in getSupportedMixerAttributes()
4787 sp<DeviceDescriptor> deviceDescriptor = mAvailableOutputDevices.getDeviceFromId(portId); in setPreferredMixerAttributes()
5036 sp<DeviceDescriptor> dev = mAvailableOutputDevices.getDeviceFromId(port->id); in getAudioPort()
5041 dev = mAvailableInputDevices.getDeviceFromId(port->id); in getAudioPort()
5084 sp<DeviceDescriptor> srcDevice = mAvailableInputDevices.getDeviceFromId(patch->sources[0].id); in createAudioPatch()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp369 sp<DeviceDescriptor> DeviceVector::getDeviceFromId(audio_port_handle_t id) const in getDeviceFromId() function in android::DeviceVector
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp3333 auto selectedDevice = availableDevices.getDeviceFromId(selectedDeviceId); in TEST_F()
3354 ASSERT_EQ(preferredDevice, availableDevices.getDeviceFromId(selectedDeviceId)); in TEST_F()
3365 ASSERT_EQ(selectedDevice, availableDevices.getDeviceFromId(selectedDeviceId)); in TEST_F()
3391 auto selectedDevice = availableDevices.getDeviceFromId(selectedDeviceId); in TEST_F()
3404 ASSERT_NE(selectedDevice, availableDevices.getDeviceFromId(selectedDeviceId)); in TEST_F()
3415 ASSERT_EQ(selectedDevice, availableDevices.getDeviceFromId(selectedDeviceId)); in TEST_F()
3490 auto selectedDevice = availableDevices.getDeviceFromId(routedPortId); in TEST_F()