Home
last modified time | relevance | path

Searched refs:DeviceDescriptor (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/
DAudioPolicyManager.h323 class DeviceDescriptor: public AudioPort, public AudioPortConfig
326 DeviceDescriptor(const String8& name, audio_devices_t type);
328 virtual ~DeviceDescriptor() {} in ~DeviceDescriptor()
330 bool equals(const sp<DeviceDescriptor>& other) const;
344 class DeviceVector : public SortedVector< sp<DeviceDescriptor> >
349 ssize_t add(const sp<DeviceDescriptor>& item);
350 ssize_t remove(const sp<DeviceDescriptor>& item);
351 ssize_t indexOf(const sp<DeviceDescriptor>& item) const;
358 sp<DeviceDescriptor> getDevice(audio_devices_t type, String8 address) const;
360 sp<DeviceDescriptor> getDeviceFromId(audio_port_handle_t id) const;
[all …]
DAudioPolicyManager.cpp230 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(String8(""), device); in setDeviceConnectionState()
347 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(String8(""), device); in setDeviceConnectionState()
420 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(String8(""), device); in getDeviceConnectionState()
482 sp<DeviceDescriptor> rxSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
486 sp<DeviceDescriptor> rxSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
525 sp<DeviceDescriptor> txSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
530 sp<DeviceDescriptor> txSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
2229 sp<DeviceDescriptor> devDesc = in createAudioPatch()
2284 sp<DeviceDescriptor> devDesc = in createAudioPatch()
2324 sp<DeviceDescriptor> srcDeviceDesc = in createAudioPatch()
[all …]