Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DDeviceDescriptor.h29 class DeviceDescriptor : public AudioPort, public AudioPortConfig
33 explicit DeviceDescriptor(audio_devices_t type, const String8 &tagName = String8(""));
35 virtual ~DeviceDescriptor() {} in ~DeviceDescriptor()
41 bool equals(const sp<DeviceDescriptor>& other) const;
67 class DeviceVector : public SortedVector<sp<DeviceDescriptor> >
72 ssize_t add(const sp<DeviceDescriptor>& item);
74 ssize_t remove(const sp<DeviceDescriptor>& item);
75 ssize_t indexOf(const sp<DeviceDescriptor>& item) const;
79 sp<DeviceDescriptor> getDevice(audio_devices_t type, const String8& address) const;
81 sp<DeviceDescriptor> getDeviceFromId(audio_port_handle_t id) const;
[all …]
DAudioPolicyConfig.h41 sp<DeviceDescriptor> &defaultOutputDevices,
63 void addAvailableDevice(const sp<DeviceDescriptor> &availableDevice) in addAvailableDevice()
101 void setDefaultOutputDevice(const sp<DeviceDescriptor> &defaultDevice) in setDefaultOutputDevice()
106 const sp<DeviceDescriptor> &getDefaultOutputDevice() const { return mDefaultOutputDevices; } in getDefaultOutputDevice()
110 mDefaultOutputDevices = new DeviceDescriptor(AUDIO_DEVICE_OUT_SPEAKER); in setDefault()
112 sp<DeviceDescriptor> defaultInputDevice = new DeviceDescriptor(AUDIO_DEVICE_IN_BUILTIN_MIC); in setDefault()
142 sp<DeviceDescriptor> &mDefaultOutputDevices;
DSessionRoute.h26 class DeviceDescriptor; variable
44 sp<DeviceDescriptor> deviceDescriptor, in SessionRoute()
64 sp<DeviceDescriptor> mDeviceDescriptor;
111 const sp<DeviceDescriptor>& deviceDescriptor,
DAudioSourceDescriptor.h30 class DeviceDescriptor; variable
35 AudioSourceDescriptor(const sp<DeviceDescriptor> device, const audio_attributes_t *attributes, in AudioSourceDescriptor()
44 const sp<DeviceDescriptor> mDevice;
DIOProfile.h109 void addSupportedDevice(const sp<DeviceDescriptor> &device) in addSupportedDevice()
119 sp<DeviceDescriptor> getSupportedDeviceByAddress(audio_devices_t type, String8 address) const in getSupportedDeviceByAddress()
DHwModule.h61 sp<DeviceDescriptor> getRouteSinkDevice(const sp<AudioRoute> &route) const;
107 sp<DeviceDescriptor> getDeviceDescriptor(const audio_devices_t device,
DSerializer.h123 typedef DeviceDescriptor Element;
124 typedef sp<DeviceDescriptor> PtrElement;
DAudioRoute.h29 class DeviceDescriptor; variable
DConfigParsingUtils.h45 static void loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc);
DAudioOutputDescriptor.h34 class DeviceDescriptor; variable
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp28 DeviceDescriptor::DeviceDescriptor(audio_devices_t type, const String8 &tagName) : in DeviceDescriptor() function in android::DeviceDescriptor
39 audio_port_handle_t DeviceDescriptor::getId() const in getId()
44 void DeviceDescriptor::attach(const sp<HwModule>& module) in attach()
50 bool DeviceDescriptor::equals(const sp<DeviceDescriptor>& other) const in equals()
70 ssize_t DeviceVector::indexOf(const sp<DeviceDescriptor>& item) const in indexOf()
93 ssize_t DeviceVector::add(const sp<DeviceDescriptor>& item) in add()
109 ssize_t DeviceVector::remove(const sp<DeviceDescriptor>& item) in remove()
135 sp<DeviceDescriptor> DeviceVector::getDevice(audio_devices_t type, const String8& address) const in getDevice()
137 sp<DeviceDescriptor> device; in getDevice()
153 sp<DeviceDescriptor> DeviceVector::getDeviceFromId(audio_port_handle_t id) const in getDeviceFromId()
[all …]
DHwModule.cpp53 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in addOutputProfile()
115 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in addInputProfile()
145 sp<DeviceDescriptor> HwModule::getRouteSinkDevice(const sp<AudioRoute> &route) const in getRouteSinkDevice()
147 sp<DeviceDescriptor> sinkDevice = 0; in getRouteSinkDevice()
204 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(route); in refreshSupportedDevices()
278 sp<DeviceDescriptor> HwModuleCollection::getDeviceDescriptor(const audio_devices_t device, in getDeviceDescriptor()
303 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in getDeviceDescriptor()
DConfigParsingUtils.cpp92 void ConfigParsingUtils::loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc) in loadDeviceDescriptorGains()
118 sp<DeviceDescriptor> deviceDesc = new DeviceDescriptor(type, String8(root->name)); in loadHwModuleDevice()
303 sp<DeviceDescriptor> dev = new DeviceDescriptor(singleType); in loadDevicesFromTag()
307 sp<DeviceDescriptor> deviceDesc = in loadDevicesFromTag()
345 sp<DeviceDescriptor> defaultOutputDevice = new DeviceDescriptor(device); in loadModuleGlobalConfig()
DSessionRoute.cpp93 const sp<DeviceDescriptor>& descriptor, in addRoute()
DSerializer.cpp469 sp<DeviceDescriptor> device = in deserialize()
483 sp<DeviceDescriptor> device = in deserialize()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h298 virtual const sp<DeviceDescriptor> &getDefaultOutputDevice() const in getDefaultOutputDevice()
393 status_t checkOutputsForDevice(const sp<DeviceDescriptor>& devDesc,
398 status_t checkInputsForDevice(const sp<DeviceDescriptor>& devDesc,
505 sp<DeviceDescriptor> fillAudioPortConfigForDevice(
531 void cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc);
567 sp<DeviceDescriptor> mDefaultOutputDevice; // output device selected by default at boot time
DAudioPolicyManager.cpp119 sp<DeviceDescriptor> devDesc = in setDeviceConnectionStateInt()
341 sp<DeviceDescriptor> devDesc = in getDeviceConnectionState()
382 sp<DeviceDescriptor> devDesc = in handleDeviceConfigChange()
483 sp<DeviceDescriptor> txSourceDeviceDesc; in createTelephonyPatch()
539 sp<DeviceDescriptor> AudioPolicyManager::fillAudioPortConfigForDevice( in fillAudioPortConfigForDevice()
544 sp<DeviceDescriptor> deviceDesc = deviceList.itemAt(0); in fillAudioPortConfigForDevice()
851 sp<DeviceDescriptor> deviceDesc; in getOutputForAttr()
1499 sp<DeviceDescriptor> deviceDesc; in getInputForAttr()
2822 sp<DeviceDescriptor> dev = mAvailableOutputDevices.getDeviceFromId(port->id); in getAudioPort()
2922 sp<DeviceDescriptor> devDesc = in createAudioPatch()
[all …]
/frameworks/av/services/audiopolicy/engine/interface/
DAudioPolicyManagerObserver.h56 virtual const sp<DeviceDescriptor> &getDefaultOutputDevice() const = 0;
DAudioPolicyManagerInterface.h133 virtual status_t setDeviceConnectionState(const android::sp<android::DeviceDescriptor> devDesc,
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.h86 virtual android::status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState()
164 status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc,
DEngine.cpp222 status_t Engine::setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState()
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.mk6 src/DeviceDescriptor.cpp \
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.h90 virtual status_t setDeviceConnectionState(const sp<DeviceDescriptor> /*devDesc*/, in setDeviceConnectionState() argument