/aosp12/frameworks/av/media/libaudiofoundation/ |
H A D | AudioContainers.cpp | 24 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() 46 static const DeviceTypeSet audioDeviceOutAllUsbSet = DeviceTypeSet( in getAudioDeviceOutAllUsbSet() 52 const DeviceTypeSet& getAudioDeviceInAllSet() { in getAudioDeviceInAllSet() 53 static const DeviceTypeSet audioDeviceInAllSet = DeviceTypeSet( in getAudioDeviceInAllSet() 59 const DeviceTypeSet& getAudioDeviceInAllUsbSet() { in getAudioDeviceInAllUsbSet() [all …]
|
H A D | AudioDeviceTypeAddr.cpp | 125 DeviceTypeSet getAudioDeviceTypes(const AudioDeviceTypeAddrVector& deviceTypeAddrs) { in getAudioDeviceTypes() 126 DeviceTypeSet deviceTypes; in getAudioDeviceTypes()
|
/aosp12/frameworks/av/media/libaudiofoundation/include/media/ |
H A D | AudioContainers.h | 31 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(); 82 static inline bool isSingleDeviceType(const DeviceTypeSet& deviceTypes, in isSingleDeviceType() 116 DeviceTypeSet deviceTypes; in deviceTypesFromBitMask() 135 std::string dumpDeviceTypes(const DeviceTypeSet& deviceTypes); [all …]
|
H A D | AudioDeviceTypeAddr.h | 76 DeviceTypeSet getAudioDeviceTypes(const AudioDeviceTypeAddrVector& deviceTypeAddrs);
|
/aosp12/frameworks/av/services/audiopolicy/engine/common/include/ |
H A D | ProductStrategy.h | 85 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;
|
H A D | VolumeCurve.h | 94 virtual int getVolumeIndex(const DeviceTypeSet& deviceTypes) const in getVolumeIndex()
|
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | IOProfile.h | 106 bool supportsDeviceTypes(const DeviceTypeSet& deviceTypes) const in supportsDeviceTypes() 119 std::string getTag(const DeviceTypeSet& deviceTypes) const in getTag() 139 return supportsDeviceTypes(DeviceTypeSet({device->type()})); 144 bool devicesSupportEncodedFormats(DeviceTypeSet deviceTypes) const in devicesSupportEncodedFormats()
|
H A D | DeviceDescriptor.h | 130 DeviceTypeSet types() const { return mDeviceTypes; } 136 DeviceVector getDevicesFromTypes(const DeviceTypeSet& types) const; 179 bool containsDeviceAmongTypes(const DeviceTypeSet& deviceTypes) const { 292 DeviceTypeSet mDeviceTypes;
|
H A D | AudioOutputDescriptor.h | 160 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes); 163 const DeviceTypeSet& deviceTypes, 340 virtual bool devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes); 345 virtual bool isFixedVolume(const DeviceTypeSet& deviceTypes); 357 const DeviceTypeSet& device, 442 const DeviceTypeSet& deviceTypes,
|
H A D | IVolumeCurves.h | 37 virtual int getVolumeIndex(const DeviceTypeSet& device) const = 0;
|
/aosp12/frameworks/av/services/audiopolicy/common/include/ |
H A D | Volume.h | 88 static audio_devices_t getDeviceForVolume(const android::DeviceTypeSet& deviceTypes) in getDeviceForVolume() 117 static device_category getDeviceCategory(const android::DeviceTypeSet& deviceTypes) in getDeviceCategory()
|
H A D | policy.h | 211 const android::DeviceTypeSet& deviceTypes) { in apm_extract_one_audio_device()
|
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioOutputDescriptor.cpp | 36 static const DeviceTypeSet& getAllOutRemoteDevices() { in getAllOutRemoteDevices() 37 static const DeviceTypeSet allOutRemoteDevices = {AUDIO_DEVICE_OUT_REMOTE_SUBMIX}; in getAllOutRemoteDevices() 153 bool AudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes __unused) in isFixedVolume() 161 const DeviceTypeSet& deviceTypes, in setVolume() 360 bool SwAudioOutputDescriptor::devicesSupportEncodedFormats(const DeviceTypeSet& deviceTypes) in devicesSupportEncodedFormats() 399 bool SwAudioOutputDescriptor::isFixedVolume(const DeviceTypeSet& deviceTypes) in isFixedVolume() 440 const DeviceTypeSet& deviceTypes, in setVolume() 703 const DeviceTypeSet& deviceTypes, in setVolume()
|
H A D | DeviceDescriptor.cpp | 369 DeviceVector DeviceVector::getDevicesFromTypes(const DeviceTypeSet& types) const in getDevicesFromTypes()
|
/aosp12/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.h | 182 const DeviceTypeSet& deviceTypes) const; 489 const DeviceTypeSet& deviceTypes); 499 DeviceTypeSet deviceTypes, 504 const DeviceTypeSet& deviceTypes, 520 DeviceTypeSet deviceTypes = DeviceTypeSet()); 535 DeviceTypeSet deviceTypes = DeviceTypeSet());
|
H A D | AudioPolicyManager.cpp | 2730 DeviceTypeSet deviceTypes = {device}; in getStreamVolumeIndex() 2760 DeviceTypeSet curSrcDevices; in setVolumeIndexForAttributes() 2785 DeviceTypeSet curDevices = desc->devices().types(); in setVolumeIndexForAttributes() 2893 DeviceTypeSet deviceTypes = {device}; in getVolumeIndexForAttributes() 2895 DeviceTypeSet deviceTypes = mEngine->getOutputDevicesForAttributes( in getVolumeIndexForAttributes() 6601 const DeviceTypeSet& deviceTypes) in computeVolume() 6681 DeviceTypeSet musicDevice = in computeVolume() 6747 DeviceTypeSet deviceTypes, in checkAndSetVolume() 6805 const DeviceTypeSet& deviceTypes, in applyStreamVolumes() 6822 DeviceTypeSet deviceTypes) in setStrategyMute() [all …]
|
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Engine.cpp | 218 DeviceTypeSet availableOutputDevicesTypes = availableOutputDevices.types(); in getDevicesForProductStrategy() 230 DeviceTypeSet deviceTypes; in getDevicesForProductStrategy()
|
/aosp12/frameworks/av/services/audiopolicy/engine/common/src/ |
H A D | ProductStrategy.cpp | 248 DeviceTypeSet ProductStrategyMap::getDeviceTypesForProductStrategy( in getDeviceTypesForProductStrategy()
|
/aosp12/frameworks/av/services/audioflinger/ |
H A D | Threads.h | 372 const DeviceTypeSet outDeviceTypes() const { in outDeviceTypes() 376 DeviceTypeSet getDeviceTypes() const { in getDeviceTypes() 377 return isOutput() ? outDeviceTypes() : DeviceTypeSet({inDeviceType()}); in getDeviceTypes()
|
H A D | AudioFlinger.h | 780 DeviceTypeSet primaryOutputDevice_l() const;
|
H A D | AudioFlinger.cpp | 3371 DeviceTypeSet AudioFlinger::primaryOutputDevice_l() const in primaryOutputDevice_l() 3376 return DeviceTypeSet(); in primaryOutputDevice_l()
|
H A D | Threads.cpp | 775 const DeviceTypeSet oldDevices = getDeviceTypes(); in processConfigEvents_l() 779 const DeviceTypeSet newDevices = getDeviceTypes(); in processConfigEvents_l() 785 const DeviceTypeSet oldDevices = getDeviceTypes(); in processConfigEvents_l() 789 const DeviceTypeSet newDevices = getDeviceTypes(); in processConfigEvents_l()
|