Home
last modified time | relevance | path

Searched refs:DeviceVector (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp61 void DeviceVector::refreshTypes() in refreshTypes()
70 ssize_t DeviceVector::indexOf(const sp<DeviceDescriptor>& item) const in indexOf()
80 void DeviceVector::add(const DeviceVector &devices) in add()
93 ssize_t DeviceVector::add(const sp<DeviceDescriptor>& item) in add()
109 ssize_t DeviceVector::remove(const sp<DeviceDescriptor>& item) in remove()
124 audio_devices_t DeviceVector::getDevicesFromHwModule(audio_module_handle_t moduleHandle) const in getDevicesFromHwModule()
135 sp<DeviceDescriptor> DeviceVector::getDevice(audio_devices_t type, const String8& address) const in getDevice()
153 sp<DeviceDescriptor> DeviceVector::getDeviceFromId(audio_port_handle_t id) const in getDeviceFromId()
163 DeviceVector DeviceVector::getDevicesFromType(audio_devices_t type) const in getDevicesFromType()
165 DeviceVector devices; in getDevicesFromType()
[all …]
DHwModule.cpp137 void HwModule::setDeclaredDevices(const DeviceVector &devices) in setDeclaredDevices()
154 DeviceVector HwModule::getRouteSourceDevices(const sp<AudioRoute> &route) const in getRouteSourceDevices()
156 DeviceVector sourceDevices; in getRouteSourceDevices()
176 DeviceVector sourceDevices; in refreshSupportedDevices()
183 DeviceVector sourceDevicesForRoute = getRouteSourceDevices(route); in refreshSupportedDevices()
197 DeviceVector sinkDevices; in refreshSupportedDevices()
290 DeviceVector declaredDevices = hwModule->getDeclaredDevices(); in getDeviceDescriptor()
291 DeviceVector deviceList = declaredDevices.getDevicesFromTypeAddr(device, address); in getDeviceDescriptor()
DConfigParsingUtils.cpp101 status_t ConfigParsingUtils::loadHwModuleDevice(cnode *root, DeviceVector &devices) in loadHwModuleDevice()
177 DeviceVector devices; in loadHwModuleProfile()
228 DeviceVector devices; in loadHwModule()
288 void ConfigParsingUtils::loadDevicesFromTag(const char *tag, DeviceVector &devices, in loadDevicesFromTag()
289 const DeviceVector &declaredDevices) in loadDevicesFromTag()
328 DeviceVector declaredDevices; in loadModuleGlobalConfig()
336 DeviceVector availableOutputDevices; in loadModuleGlobalConfig()
352 DeviceVector availableInputDevices; in loadModuleGlobalConfig()
DSessionRoute.cpp123 const DeviceVector& availableDevices) in getActiveDeviceForStream()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h39 DeviceVector &availableOutputDevices,
40 DeviceVector &availableInputDevices,
72 void addAvailableInputDevices(const DeviceVector &availableInputDevices) in addAvailableInputDevices()
77 void addAvailableOutputDevices(const DeviceVector &availableOutputDevices) in addAvailableOutputDevices()
91 const DeviceVector &getAvailableInputDevices() const in getAvailableInputDevices()
96 const DeviceVector &getAvailableOutputDevices() const in getAvailableOutputDevices()
140 DeviceVector &mAvailableOutputDevices;
141 DeviceVector &mAvailableInputDevices;
DDeviceDescriptor.h64 friend class DeviceVector; variable
67 class DeviceVector : public SortedVector<sp<DeviceDescriptor> >
70 DeviceVector() : SortedVector(), mDeviceTypes(AUDIO_DEVICE_NONE) {} in DeviceVector() function
73 void add(const DeviceVector &devices);
80 DeviceVector getDevicesFromType(audio_devices_t types) const;
83 DeviceVector getDevicesFromTypeAddr(audio_devices_t type, const String8& address) const;
DConfigParsingUtils.h46 static status_t loadHwModuleDevice(cnode *root, DeviceVector &devices);
48 static void loadDevicesFromTag(const char *tag, DeviceVector &devices,
49 const DeviceVector &declaredDevices);
DHwModule.h47 const DeviceVector &getDeclaredDevices() const { return mDeclaredDevices; } in getDeclaredDevices()
48 void setDeclaredDevices(const DeviceVector &devices);
62 DeviceVector getRouteSourceDevices(const sp<AudioRoute> &route) const;
95 DeviceVector mDeclaredDevices; // devices declared in audio_policy configuration file.
DIOProfile.h114 void setSupportedDevices(const DeviceVector &devices) in setSupportedDevices()
124 const DeviceVector &getSupportedDevices() const { return mSupportedDevices; } in getSupportedDevices()
155 DeviceVector mSupportedDevices; // supported devices: this input/output can be routed from/to
DSessionRoute.h27 class DeviceVector; variable
103 const DeviceVector& availableDevices);
DSerializer.h125 typedef DeviceVector Collection;
/frameworks/av/services/audiopolicy/engine/interface/
DAudioPolicyManagerObserver.h50 virtual const DeviceVector &getAvailableOutputDevices() const = 0;
52 virtual const DeviceVector &getAvailableInputDevices() const = 0;
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.h129 DeviceVector availableOutputDevices,
130 DeviceVector availableInputDevices,
DEngine.cpp243 DeviceVector availableOutputDevices = mApmObserver->getAvailableOutputDevices(); in getDeviceForStrategy()
244 DeviceVector availableInputDevices = mApmObserver->getAvailableInputDevices(); in getDeviceForStrategy()
254 DeviceVector availableOutputDevices, in getDeviceForStrategyInt()
255 DeviceVector availableInputDevices, in getDeviceForStrategyInt()
616 const DeviceVector &availableOutputDevices = mApmObserver->getAvailableOutputDevices(); in getDeviceForInputSource()
617 const DeviceVector &availableInputDevices = mApmObserver->getAvailableInputDevices(); in getDeviceForInputSource()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h289 virtual const DeviceVector &getAvailableOutputDevices() const in getAvailableOutputDevices()
293 virtual const DeviceVector &getAvailableInputDevices() const in getAvailableInputDevices()
506 const DeviceVector& devices, audio_devices_t device, audio_port_config *config);
554 DeviceVector mAvailableOutputDevices; // all available output devices
555 DeviceVector mAvailableInputDevices; // all available input devices
DAudioPolicyManager.cpp351 DeviceVector *deviceVector; in getDeviceConnectionState()
540 const DeviceVector& devices, audio_devices_t device, audio_port_config *config) { in fillAudioPortConfigForDevice()
541 DeviceVector deviceList = devices.getDevicesFromType(device); in fillAudioPortConfigForDevice()
874 DeviceVector outputDevices = mAvailableOutputDevices.getDevicesFromType(device); in getOutputForAttr()
979 DeviceVector outputDevices = mAvailableOutputDevices.getDevicesFromType(device); in getOutputForDevice()
1492 DeviceVector inputDevices; in getInputForAttr()
1778 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(device); in getInputForDevice()
2914 DeviceVector devices; in createAudioPatch()
3613 DeviceVector hdmiOutputDevices = mAvailableOutputDevices.getDevicesFromType( in getSurroundFormats()
3739 DeviceVector hdmiOutputDevices = mAvailableOutputDevices.getDevicesFromType( in setSurroundFormatEnabled()
[all …]