Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp60 void DeviceVector::refreshTypes() in refreshTypes()
69 ssize_t DeviceVector::indexOf(const sp<DeviceDescriptor>& item) const in indexOf()
79 void DeviceVector::add(const DeviceVector &devices) in add()
89 ssize_t DeviceVector::add(const sp<DeviceDescriptor>& item) in add()
105 ssize_t DeviceVector::remove(const sp<DeviceDescriptor>& item) in remove()
121 audio_devices_t DeviceVector::getDevicesFromHwModule(audio_module_handle_t moduleHandle) const in getDevicesFromHwModule()
132 sp<DeviceDescriptor> DeviceVector::getDevice(audio_devices_t type, String8 address) const in getDevice()
150 sp<DeviceDescriptor> DeviceVector::getDeviceFromId(audio_port_handle_t id) const in getDeviceFromId()
162 DeviceVector DeviceVector::getDevicesFromType(audio_devices_t type) const in getDevicesFromType()
164 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()
178 DeviceVector sourceDevices; in refreshSupportedDevices()
186 DeviceVector sourceDevicesForRoute = getRouteSourceDevices(routes[j]); in refreshSupportedDevices()
201 DeviceVector sinkDevices; in refreshSupportedDevices()
309 DeviceVector declaredDevices = hwModule->getDeclaredDevices(); in getDeviceDescriptor()
310 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()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h39 DeviceVector &availableOutputDevices,
40 DeviceVector &availableInputDevices,
73 void addAvailableInputDevices(const DeviceVector &availableInputDevices) in addAvailableInputDevices()
78 void addAvailableOutputDevices(const DeviceVector &availableOutputDevices) in addAvailableOutputDevices()
90 const DeviceVector &getAvailableInputDevices() const in getAvailableInputDevices()
95 const DeviceVector &getAvailableOutputDevices() const in getAvailableOutputDevices()
139 DeviceVector &mAvailableOutputDevices;
140 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, String8 address) const;
DHwModule.h49 const DeviceVector &getDeclaredDevices() const { return mDeclaredDevices; } in getDeclaredDevices()
50 void setDeclaredDevices(const DeviceVector &devices);
62 DeviceVector getRouteSourceDevices(const sp<AudioRoute> &route) const;
95 DeviceVector mDeclaredDevices; // devices declared in audio_policy configuration file.
DConfigParsingUtils.h46 static status_t loadHwModuleDevice(cnode *root, DeviceVector &devices);
48 static void loadDevicesFromTag(const char *tag, DeviceVector &devices,
49 const DeviceVector &declaredDevices);
DIOProfile.h94 void setSupportedDevices(const DeviceVector &devices) in setSupportedDevices()
104 const DeviceVector &getSupportedDevices() const { return mSupportedDevices; } in getSupportedDevices()
107 DeviceVector mSupportedDevices; // supported devices: this input/output can be routed from/to
DSerializer.h123 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.cpp234 DeviceVector availableOutputDevices = mApmObserver->getAvailableOutputDevices(); in getDeviceForStrategy()
235 DeviceVector availableInputDevices = mApmObserver->getAvailableInputDevices(); in getDeviceForStrategy()
246 DeviceVector availableOutputDevices, in getDeviceForStrategyInt()
247 DeviceVector availableInputDevices, in getDeviceForStrategyInt()
551 const DeviceVector &availableOutputDevices = mApmObserver->getAvailableOutputDevices(); in getDeviceForInputSource()
552 const DeviceVector &availableInputDevices = mApmObserver->getAvailableInputDevices(); in getDeviceForInputSource()
DEngine.h129 DeviceVector availableOutputDevices,
130 DeviceVector availableInputDevices,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h262 virtual const DeviceVector &getAvailableOutputDevices() const in getAvailableOutputDevices()
266 virtual const DeviceVector &getAvailableInputDevices() const in getAvailableInputDevices()
524 DeviceVector mAvailableOutputDevices; // all available output devices
525 DeviceVector mAvailableInputDevices; // all available input devices
DAudioPolicyManager.cpp304 DeviceVector *deviceVector; in getDeviceConnectionState()
324 DeviceVector deviceList; in updateCallRouting()
2469 DeviceVector devices; in createAudioPatch()
3232 const DeviceVector &supportedDevices = outProfile->getSupportedDevices(); in AudioPolicyManager()
3233 const DeviceVector &devicesForType = supportedDevices.getDevicesFromType(profileType); in AudioPolicyManager()
3303 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(profileType); in AudioPolicyManager()
3324 const DeviceVector &supportedDevices = inProfile->getSupportedDevices(); in AudioPolicyManager()
4652 DeviceVector deviceList; in AudioPolicyManager()
4759 DeviceVector deviceList = mAvailableInputDevices.getDevicesFromType(device); in AudioPolicyManager()