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 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, String8 address) const;
81 sp<DeviceDescriptor> getDeviceFromId(audio_port_handle_t id) const;
[all …]
DAudioPolicyConfig.h41 sp<DeviceDescriptor> &defaultOutputDevices,
64 void addAvailableDevice(const sp<DeviceDescriptor> &availableDevice) in addAvailableDevice()
100 void setDefaultOutputDevice(const sp<DeviceDescriptor> &defaultDevice) in setDefaultOutputDevice()
105 const sp<DeviceDescriptor> &getDefaultOutputDevice() const { return mDefaultOutputDevices; } in getDefaultOutputDevice()
109 mDefaultOutputDevices = new DeviceDescriptor(AUDIO_DEVICE_OUT_SPEAKER); in setDefault()
111 sp<DeviceDescriptor> defaultInputDevice = new DeviceDescriptor(AUDIO_DEVICE_IN_BUILTIN_MIC); in setDefault()
141 sp<DeviceDescriptor> &mDefaultOutputDevices;
DSessionRoute.h26 class DeviceDescriptor; variable
43 sp<DeviceDescriptor> deviceDescriptor, in SessionRoute()
63 sp<DeviceDescriptor> mDeviceDescriptor;
109 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.h89 void addSupportedDevice(const sp<DeviceDescriptor> &device) in addSupportedDevice()
99 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.h121 typedef DeviceDescriptor Element;
122 typedef sp<DeviceDescriptor> PtrElement;
DAudioRoute.h29 class DeviceDescriptor; variable
DConfigParsingUtils.h45 static void loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc);
DAudioOutputDescriptor.h32 class DeviceDescriptor; variable
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp27 DeviceDescriptor::DeviceDescriptor(audio_devices_t type, const String8 &tagName) : in DeviceDescriptor() function in android::DeviceDescriptor
38 audio_port_handle_t DeviceDescriptor::getId() const in getId()
43 void DeviceDescriptor::attach(const sp<HwModule>& module) in attach()
49 bool DeviceDescriptor::equals(const sp<DeviceDescriptor>& other) const in equals()
69 ssize_t DeviceVector::indexOf(const sp<DeviceDescriptor>& item) const in indexOf()
82 sp<DeviceDescriptor> device = devices.itemAt(i); in add()
89 ssize_t DeviceVector::add(const sp<DeviceDescriptor>& item) in add()
105 ssize_t DeviceVector::remove(const sp<DeviceDescriptor>& item) in remove()
132 sp<DeviceDescriptor> DeviceVector::getDevice(audio_devices_t type, String8 address) const in getDevice()
134 sp<DeviceDescriptor> device; in getDevice()
[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()
209 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(routes[j]); in refreshSupportedDevices()
293 sp<DeviceDescriptor> HwModuleCollection::getDeviceDescriptor(const audio_devices_t device, in getDeviceDescriptor()
322 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 sp<DeviceDescriptor> descriptor, in addRoute()
DSerializer.cpp459 sp<DeviceDescriptor> device = in deserialize()
473 sp<DeviceDescriptor> device = in deserialize()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h271 virtual const sp<DeviceDescriptor> &getDefaultOutputDevice() const in getDefaultOutputDevice()
365 status_t checkOutputsForDevice(const sp<DeviceDescriptor> devDesc,
370 status_t checkInputsForDevice(const sp<DeviceDescriptor> devDesc,
505 void cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc);
538 sp<DeviceDescriptor> mDefaultOutputDevice; // output device selected by default at boot time
DAudioPolicyManager.cpp75 sp<DeviceDescriptor> devDesc = in setDeviceConnectionStateInt()
294 sp<DeviceDescriptor> devDesc = in getDeviceConnectionState()
362 sp<DeviceDescriptor> rxSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
366 sp<DeviceDescriptor> rxSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
405 sp<DeviceDescriptor> txSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
410 sp<DeviceDescriptor> txSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
737 sp<DeviceDescriptor> deviceDesc; in getOutputForAttr()
1392 sp<DeviceDescriptor> deviceDesc; in getInputForAttr()
2477 sp<DeviceDescriptor> devDesc = in createAudioPatch()
2535 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