Home
last modified time | relevance | path

Searched refs:DeviceTypeSet (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/media/libaudiofoundation/
DAudioContainers.cpp24 const DeviceTypeSet& getAudioDeviceOutAllSet() { in getAudioDeviceOutAllSet()
25 static const DeviceTypeSet audioDeviceOutAllSet = DeviceTypeSet( in getAudioDeviceOutAllSet()
31 const DeviceTypeSet& getAudioDeviceOutAllA2dpSet() { in getAudioDeviceOutAllA2dpSet()
32 static const DeviceTypeSet audioDeviceOutAllA2dpSet = DeviceTypeSet( in getAudioDeviceOutAllA2dpSet()
38 const DeviceTypeSet& getAudioDeviceOutAllScoSet() { in getAudioDeviceOutAllScoSet()
39 static const DeviceTypeSet audioDeviceOutAllScoSet = DeviceTypeSet( in getAudioDeviceOutAllScoSet()
45 const DeviceTypeSet& getAudioDeviceOutAllUsbSet() { in getAudioDeviceOutAllUsbSet()
46 static const DeviceTypeSet audioDeviceOutAllUsbSet = DeviceTypeSet( in getAudioDeviceOutAllUsbSet()
52 const DeviceTypeSet& getAudioDeviceInAllSet() { in getAudioDeviceInAllSet()
53 static const DeviceTypeSet audioDeviceInAllSet = DeviceTypeSet( in getAudioDeviceInAllSet()
[all …]
DAudioDeviceTypeAddr.cpp131 DeviceTypeSet getAudioDeviceTypes(const AudioDeviceTypeAddrVector& deviceTypeAddrs) { in getAudioDeviceTypes()
132 DeviceTypeSet deviceTypes; in getAudioDeviceTypes()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioContainers.h31 using DeviceTypeSet = std::set<audio_devices_t>; variable
37 const DeviceTypeSet& getAudioDeviceOutAllSet();
38 const DeviceTypeSet& getAudioDeviceOutAllA2dpSet();
39 const DeviceTypeSet& getAudioDeviceOutAllScoSet();
40 const DeviceTypeSet& getAudioDeviceOutAllUsbSet();
41 const DeviceTypeSet& getAudioDeviceInAllSet();
42 const DeviceTypeSet& getAudioDeviceInAllUsbSet();
43 const DeviceTypeSet& getAudioDeviceOutAllBleSet();
44 const DeviceTypeSet& getAudioDeviceOutLeAudioUnicastSet();
84 static inline bool isSingleDeviceType(const DeviceTypeSet& deviceTypes, in isSingleDeviceType()
[all …]
DAudioDeviceTypeAddr.h77 DeviceTypeSet getAudioDeviceTypes(const AudioDeviceTypeAddrVector& deviceTypeAddrs);
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h110 status_t setAvailableInputDevices(const DeviceTypeSet &inputDeviceTypes);
119 status_t setAvailableOutputDevices(const DeviceTypeSet &outputDeviceTypes);
145 uint64_t convertDeviceTypesToCriterionValue(const DeviceTypeSet &types) const;
147 DeviceTypeSet convertDeviceCriterionValueToDeviceTypes(
/frameworks/av/services/audiopolicy/engine/common/include/
DProductStrategy.h85 void setDeviceTypes(const DeviceTypeSet& devices) in setDeviceTypes()
90 DeviceTypeSet getDeviceTypes() const { return mApplicableDevices; } in getDeviceTypes()
117 DeviceTypeSet mApplicableDevices;
153 DeviceTypeSet getDeviceTypesForProductStrategy(product_strategy_t strategy) const;
DVolumeCurve.h94 virtual int getVolumeIndex(const DeviceTypeSet& deviceTypes) const in getVolumeIndex()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h105 bool supportsDeviceTypes(const DeviceTypeSet& deviceTypes) const in supportsDeviceTypes()
118 std::string getTag(const DeviceTypeSet& deviceTypes) const in getTag()
138 return supportsDeviceTypes(DeviceTypeSet({device->type()}));
143 bool devicesSupportEncodedFormats(DeviceTypeSet deviceTypes) const in devicesSupportEncodedFormats()
DAudioOutputDescriptor.h160 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes);
163 const DeviceTypeSet& deviceTypes,
350 virtual bool devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes);
355 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes);
378 const DeviceTypeSet& device, uint32_t delayMs);
382 const DeviceTypeSet& device,
471 const DeviceTypeSet& deviceTypes,
580 bool isAnyDeviceTypeActive(const DeviceTypeSet& deviceTypes) const;
DDeviceDescriptor.h125 DeviceTypeSet types() const { return mDeviceTypes; } in types()
131 DeviceVector getDevicesFromTypes(const DeviceTypeSet& types) const;
174 bool containsDeviceAmongTypes(const DeviceTypeSet& deviceTypes) const { in containsDeviceAmongTypes()
287 DeviceTypeSet mDeviceTypes;
DIVolumeCurves.h37 virtual int getVolumeIndex(const DeviceTypeSet& device) const = 0;
/frameworks/av/services/audiopolicy/common/include/
DVolume.h88 static audio_devices_t getDeviceForVolume(const android::DeviceTypeSet& deviceTypes) in getDeviceForVolume()
117 static device_category getDeviceCategory(const android::DeviceTypeSet& deviceTypes) in getDeviceCategory()
Dpolicy.h214 const android::DeviceTypeSet& deviceTypes) { in apm_extract_one_audio_device()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp314 status_t ParameterManagerWrapper::setAvailableInputDevices(const DeviceTypeSet &types) in setAvailableInputDevices()
327 status_t ParameterManagerWrapper::setAvailableOutputDevices(const DeviceTypeSet &types) in setAvailableOutputDevices()
365 const DeviceTypeSet &types) const { in convertDeviceTypesToCriterionValue()
373 DeviceTypeSet ParameterManagerWrapper::convertDeviceCriterionValueToDeviceTypes( in convertDeviceCriterionValueToDeviceTypes()
375 DeviceTypeSet deviceTypes; in convertDeviceCriterionValueToDeviceTypes()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp38 static const DeviceTypeSet& getAllOutRemoteDevices() { in getAllOutRemoteDevices()
39 static const DeviceTypeSet allOutRemoteDevices = {AUDIO_DEVICE_OUT_REMOTE_SUBMIX}; in getAllOutRemoteDevices()
155 bool AudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes __unused) in isFixedVolume()
163 const DeviceTypeSet& deviceTypes, in setVolume()
399 bool SwAudioOutputDescriptor::devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes) in devicesSupportEncodedFormats()
438 bool SwAudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes) in isFixedVolume()
479 const DeviceTypeSet& deviceTypes, uint32_t delayMs) { in setSwMute()
500 const DeviceTypeSet& deviceTypes, in setVolume()
782 const DeviceTypeSet& deviceTypes, in setVolume()
944 bool SwAudioOutputCollection::isAnyDeviceTypeActive(const DeviceTypeSet& deviceTypes) const { in isAnyDeviceTypeActive()
DDeviceDescriptor.cpp344 DeviceVector DeviceVector::getDevicesFromTypes(const DeviceTypeSet& types) const in getDevicesFromTypes()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h181 const DeviceTypeSet& deviceTypes) const;
550 const DeviceTypeSet& deviceTypes);
560 DeviceTypeSet deviceTypes,
565 const DeviceTypeSet& deviceTypes,
581 DeviceTypeSet deviceTypes = DeviceTypeSet());
596 DeviceTypeSet deviceTypes = DeviceTypeSet());
901 bool isAnyDeviceTypeActive(const DeviceTypeSet& deviceTypes) const;
DAudioPolicyManager.cpp598 DeviceTypeSet audioDeviceSet; in getHwOffloadFormatsSupportedForBluetoothMedia()
2023 bool AudioPolicyManager::isAnyDeviceTypeActive(const DeviceTypeSet& deviceTypes) const { in isAnyDeviceTypeActive()
2999 DeviceTypeSet deviceTypes = {device}; in getStreamVolumeIndex()
3033 DeviceTypeSet curSrcDevices; in setVolumeIndexForAttributes()
3058 DeviceTypeSet curDevices = desc->devices().types(); in setVolumeIndexForAttributes()
3169 DeviceTypeSet deviceTypes = {device}; in getVolumeIndexForAttributes()
3171 DeviceTypeSet deviceTypes = mEngine->getOutputDevicesForAttributes( in getVolumeIndexForAttributes()
3179 const DeviceTypeSet& deviceTypes) const in getVolumeIndex()
5852 applyStreamVolumes(outputDesc, DeviceTypeSet(), 0 /* delayMs */, true /* force */); in addOutput()
6844 setVolumeSourceMute(ttsVolumeSource, mute/*on*/, desc, 0 /*delay*/, DeviceTypeSet()); in setBeaconMute()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp217 DeviceTypeSet availableOutputDevicesTypes = availableOutputDevices.types(); in getDevicesForProductStrategy()
229 DeviceTypeSet deviceTypes; in getDevicesForProductStrategy()
383 DeviceTypeSet types = in setDeviceTypesForProductStrategy()
391 DeviceTypeSet types = mPolicyParameterMgr->convertDeviceCriterionValueToDeviceTypes( in setDeviceForInputSource()
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp244 DeviceTypeSet ProductStrategyMap::getDeviceTypesForProductStrategy( in getDeviceTypesForProductStrategy()
/frameworks/av/services/audioflinger/
DThreads.h383 const DeviceTypeSet outDeviceTypes() const { in outDeviceTypes()
387 DeviceTypeSet getDeviceTypes() const { in getDeviceTypes()
388 return isOutput() ? outDeviceTypes() : DeviceTypeSet({inDeviceType()}); in getDeviceTypes()
DAudioFlinger.h799 DeviceTypeSet primaryOutputDevice_l() const;
DThreads.cpp805 const DeviceTypeSet oldDevices = getDeviceTypes(); in processConfigEvents_l()
809 const DeviceTypeSet newDevices = getDeviceTypes(); in processConfigEvents_l()
815 const DeviceTypeSet oldDevices = getDeviceTypes(); in processConfigEvents_l()
819 const DeviceTypeSet newDevices = getDeviceTypes(); in processConfigEvents_l()
DAudioFlinger.cpp3654 DeviceTypeSet AudioFlinger::primaryOutputDevice_l() const in primaryOutputDevice_l()
3659 return DeviceTypeSet(); in primaryOutputDevice_l()