Searched refs:availableOutputDevices (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.cpp | 158 bool Engine::isBtScoActive(DeviceVector& availableOutputDevices, in isBtScoActive() argument 160 if (availableOutputDevices.getDevicesFromTypes(getAudioDeviceOutAllScoSet()).isEmpty()) { in isBtScoActive() 166 getPreferredDeviceTypeForLegacyStrategy(availableOutputDevices, STRATEGY_PHONE))) { in isBtScoActive() 173 !getPreferredAvailableDevicesForProductStrategy(availableOutputDevices, ps) in isBtScoActive() 195 DeviceVector& availableOutputDevices, in filterOutputDevicesForStrategy() argument 202 if (isBtScoActive(availableOutputDevices, outputs)) { in filterOutputDevicesForStrategy() 203 availableOutputDevices.remove( in filterOutputDevicesForStrategy() 204 availableOutputDevices.getDevicesFromTypes(getAudioDeviceOutAllA2dpSet())); in filterOutputDevicesForStrategy() 205 availableOutputDevices.remove( in filterOutputDevicesForStrategy() 206 availableOutputDevices.getDevicesFromTypes(getAudioDeviceOutAllBleSet())); in filterOutputDevicesForStrategy() [all …]
|
D | Engine.h | 92 DeviceVector& availableOutputDevices, 99 DeviceVector availableOutputDevices, 106 const DeviceVector& availableOutputDevices, legacy_strategy legacyStrategy) const; 112 bool isBtScoActive(DeviceVector& availableOutputDevices,
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 179 DeviceVector availableOutputDevices = getApmObserver()->getAvailableOutputDevices(); in setOutputDevicesConnectionState() local 181 availableOutputDevices.remove(devices); in setOutputDevicesConnectionState() 183 availableOutputDevices.add(devices); in setOutputDevicesConnectionState() 185 return mPolicyParameterMgr->setAvailableOutputDevices(availableOutputDevices.types()); in setOutputDevicesConnectionState() 231 DeviceVector availableOutputDevices = getApmObserver()->getAvailableOutputDevices(); in setDevicesRoleForStrategy() local 233 getDisabledDevicesForProductStrategy(availableOutputDevices, strategy); in setDevicesRoleForStrategy() 239 getDisabledDevicesForProductStrategy(availableOutputDevices, strategy); in setDevicesRoleForStrategy() 264 DeviceVector availableOutputDevices = getApmObserver()->getAvailableOutputDevices(); in removeDevicesRoleForStrategy() local 266 getDisabledDevicesForProductStrategy(availableOutputDevices, strategy); in removeDevicesRoleForStrategy() 275 availableOutputDevices, strategy); in removeDevicesRoleForStrategy() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyMix.h | 93 const DeviceVector &availableOutputDevices, 113 const DeviceVector &availableOutputDevices); 159 const DeviceVector& availableOutputDevices);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 328 const DeviceVector &availableOutputDevices, in getOutputForAttr() argument 342 availableOutputDevices); in getOutputForAttr() 404 const DeviceVector& availableOutputDevices) { in getOutputDeviceForMix() argument 407 return availableOutputDevices.getDevice(mix->mDeviceType, mix->mDeviceAddress, in getOutputDeviceForMix() 479 const DeviceVector &availableOutputDevices) in getDeviceAndMixForOutput() argument 484 return getOutputDeviceForMix(itemAt(i).get(), availableOutputDevices); in getDeviceAndMixForOutput()
|
/frameworks/av/services/audiopolicy/engine/common/include/ |
D | EngineBase.h | 180 const DeviceVector& availableOutputDevices, product_strategy_t strategy) const; 182 const DeviceVector& availableOutputDevices, product_strategy_t strategy) const;
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | EngineBase.cpp | 751 const DeviceVector& availableOutputDevices, product_strategy_t strategy) const { in getPreferredAvailableDevicesForProductStrategy() argument 759 availableOutputDevices.getDevicesFromDeviceTypeAddrVec(preferredStrategyDevices); in getPreferredAvailableDevicesForProductStrategy() 770 const DeviceVector &availableOutputDevices, product_strategy_t strategy) const { in getDisabledDevicesForProductStrategy() argument 777 availableOutputDevices.getDevicesFromDeviceTypeAddrVec(disabledDevicesTypeAddr); in getDisabledDevicesForProductStrategy()
|