/aosp12/frameworks/av/services/audiopolicy/engine/common/include/ |
H A D | ProductStrategy.h | 49 audio_attributes_t mAttributes = AUDIO_ATTRIBUTES_INITIALIZER; 74 bool matches(const audio_attributes_t attributes) const; 92 audio_attributes_t getAttributesForStreamType(audio_stream_type_t stream) const; 93 audio_stream_type_t getStreamTypeForAttributes(const audio_attributes_t &attr) const; 95 volume_group_t getVolumeGroupForAttributes(const audio_attributes_t &attr) const; 133 const audio_attributes_t &attr, bool fallbackOnDefault = true) const; 137 audio_attributes_t getAttributesForStreamType(audio_stream_type_t stream) const; 139 audio_stream_type_t getStreamTypeForAttributes(const audio_attributes_t &attr) const; 151 audio_attributes_t getAttributesForProductStrategy(product_strategy_t strategy) const; 158 const audio_attributes_t &attr, bool fallbackOnDefault = true) const;
|
H A D | EngineBase.h | 56 const audio_attributes_t &attr, bool fallbackOnDefault = true) const override; 58 audio_stream_type_t getStreamTypeForAttributes(const audio_attributes_t &attr) const override; 60 audio_attributes_t getAttributesForStreamType(audio_stream_type_t stream) const override; 70 VolumeCurves *getVolumeCurvesForAttributes(const audio_attributes_t &attr) const override; 83 const audio_attributes_t &attr, bool fallbackOnDefault = true) const override;
|
/aosp12/frameworks/av/services/audiopolicy/tests/ |
H A D | audiopolicymanager_tests.cpp | 128 audio_attributes_t attr = {}); 130 const audio_attributes_t &attr, 206 audio_attributes_t attr) { in getOutputForAttr() 231 const audio_attributes_t &attr, in getInputForAttr() 1056 audio_attributes_t attr = { in SetUp() 1083 const audio_attributes_t attr = GetParam(); in TEST_P() 1121 (audio_attributes_t){AUDIO_CONTENT_TYPE_MUSIC, 1128 (audio_attributes_t){AUDIO_CONTENT_TYPE_MUSIC, 1131 (audio_attributes_t){AUDIO_CONTENT_TYPE_MUSIC, 1242 audio_attributes_t attr = in SetUp() [all …]
|
/aosp12/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.h | 117 status_t getOutputForAttr(const audio_attributes_t *attr, 199 const audio_attributes_t &attributes, 359 virtual bool canBeSpatialized(const audio_attributes_t *attr, 611 bool followsSameRouting(const audio_attributes_t &lAttr, 928 status_t getAudioAttributes(audio_attributes_t *dstAttr, 929 const audio_attributes_t *srcAttr, 932 status_t getOutputForAttrInt(audio_attributes_t *resultAttr, 935 const audio_attributes_t *attr, 948 const audio_attributes_t *attr, 985 const audio_attributes_t &attributes, [all …]
|
/aosp12/frameworks/av/services/audiopolicy/engine/interface/ |
H A D | EngineInterface.h | 120 const audio_attributes_t &attr, bool fallbackOnDefault = true) const = 0; 144 const audio_attributes_t &attributes, 176 virtual sp<DeviceDescriptor> getInputDeviceForAttributes(const audio_attributes_t &attr, 189 const audio_attributes_t &attr) const = 0; 197 virtual audio_attributes_t getAttributesForStreamType(audio_stream_type_t stream) const = 0; 253 virtual IVolumeCurves *getVolumeCurvesForAttributes(const audio_attributes_t &attr) const = 0; 285 const audio_attributes_t &attr, bool fallbackOnDefault = true) const = 0;
|
/aosp12/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioAttributes.h | 33 AudioAttributes(const audio_attributes_t &attributes) : mAttributes(attributes) {} // NOLINT in AudioAttributes() 36 const audio_attributes_t &attributes) : in AudioAttributes() 39 audio_attributes_t getAttributes() const { return mAttributes; } in getAttributes() 48 audio_attributes_t mAttributes = AUDIO_ATTRIBUTES_INITIALIZER;
|
H A D | AudioCommonTypes.h | 29 using AttributesVector = std::vector<audio_attributes_t>; 34 constexpr bool operator==(const audio_attributes_t &lhs, const audio_attributes_t &rhs) 39 constexpr bool operator!=(const audio_attributes_t &lhs, const audio_attributes_t &rhs)
|
H A D | AudioSystem.h | 275 static status_t getOutputForAttr(audio_attributes_t *attr, 291 static status_t getInputForAttr(const audio_attributes_t *attr, 314 static status_t setVolumeIndexForAttributes(const audio_attributes_t &attr, 317 static status_t getVolumeIndexForAttributes(const audio_attributes_t &attr, 321 static status_t getMaxVolumeIndexForAttributes(const audio_attributes_t &attr, int &index); 323 static status_t getMinVolumeIndexForAttributes(const audio_attributes_t &attr, int &index); 408 const audio_attributes_t *attributes, 448 static audio_attributes_t streamTypeToAttributes(audio_stream_type_t stream); 449 static audio_stream_type_t attributesToStreamType(const audio_attributes_t &attr); 530 static status_t canBeSpatialized(const audio_attributes_t *attr,
|
H A D | AudioProductStrategy.h | 57 static bool attributesMatches(const audio_attributes_t refAttributes, 58 const audio_attributes_t clientAttritubes);
|
H A D | AudioTrack.h | 170 const audio_attributes_t& attributes); 268 const audio_attributes_t* pAttributes = NULL, 299 const audio_attributes_t* pAttributes = NULL, 347 const audio_attributes_t* pAttributes = NULL, 368 const audio_attributes_t* pAttributes = NULL, 1186 audio_attributes_t mAttributes;
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_media_AudioAttributes.cpp | 67 JNIEnv* env, jobject jAudioAttributes, audio_attributes_t *aa) in nativeAudioAttributesFromJavaAudioAttributes() 108 JNIEnv* env, jobject *jAudioAttributes, const audio_attributes_t &attributes) in nativeAudioAttributesToJavaAudioAttributes() 147 audio_attributes_t *aa = new (calloc(1, sizeof(audio_attributes_t))) in makeUnique() 148 audio_attributes_t{AUDIO_ATTRIBUTES_INITIALIZER}; in makeUnique() 153 audio_attributes_t *paa) in nativeFromJava() 159 JNIEnv* env, jobject *jAudioAttributes, const audio_attributes_t &attributes) in nativeToJava()
|
H A D | android_media_AudioAttributes.h | 34 using UniqueAaPtr = std::unique_ptr<audio_attributes_t, FreeDeleter>; 51 JNIEnv* env, jobject jAudioAttributes, audio_attributes_t *attributes); 61 JNIEnv* env, jobject *jAudioAttributes, const audio_attributes_t &attributes);
|
/aosp12/frameworks/av/services/audiopolicy/engine/common/src/ |
H A D | ProductStrategy.cpp | 65 bool ProductStrategy::matches(const audio_attributes_t attr) const in matches() 74 const audio_attributes_t &attr) const in getStreamTypeForAttributes() 90 audio_attributes_t ProductStrategy::getAttributesForStreamType(audio_stream_type_t streamType) const in getAttributesForStreamType() 123 volume_group_t ProductStrategy::getVolumeGroupForAttributes(const audio_attributes_t &attr) const in getVolumeGroupForAttributes() 172 const audio_attributes_t &attr, bool fallbackOnDefault) const in getProductStrategyForAttributes() 184 audio_attributes_t ProductStrategyMap::getAttributesForStreamType(audio_stream_type_t stream) const in getAttributesForStreamType() 198 const audio_attributes_t &attr) const in getStreamTypeForAttributes() 226 audio_attributes_t ProductStrategyMap::getAttributesForProductStrategy( in getAttributesForProductStrategy() 276 const audio_attributes_t &attr, bool fallbackOnDefault) const in getVolumeGroupForAttributes()
|
/aosp12/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterface.h | 125 virtual status_t getOutputForAttr(const audio_attributes_t *attr, 144 virtual status_t getInputForAttr(const audio_attributes_t *attr, 184 virtual status_t setVolumeIndexForAttributes(const audio_attributes_t &attr, 187 virtual status_t getVolumeIndexForAttributes(const audio_attributes_t &attr, 191 virtual status_t getMaxVolumeIndexForAttributes(const audio_attributes_t &attr, 194 virtual status_t getMinVolumeIndexForAttributes(const audio_attributes_t &attr, 204 virtual status_t getDevicesForAttributes(const audio_attributes_t &attr, 229 const audio_attributes_t& attributes) = 0; 266 const audio_attributes_t *attributes, 353 virtual bool canBeSpatialized(const audio_attributes_t *attr, [all …]
|
/aosp12/frameworks/native/libs/vibrator/include/vibrator/ |
H A D | ExternalVibration.h | 33 ExternalVibration(int32_t uid, std::string pkg, const audio_attributes_t& attrs, 45 audio_attributes_t getAudioAttributes() const { return mAttrs; } in getAudioAttributes() 52 audio_attributes_t mAttrs;
|
/aosp12/frameworks/native/libs/vibrator/ |
H A D | ExternalVibration.cpp | 23 void writeAudioAttributes(const audio_attributes_t& attrs, android::Parcel* out) { in writeAudioAttributes() 30 void readAudioAttributes(audio_attributes_t* attrs, const android::Parcel* in) { in readAudioAttributes() 40 ExternalVibration::ExternalVibration(int32_t uid, std::string pkg, const audio_attributes_t& attrs, in ExternalVibration()
|
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioPolicyMix.h | 73 status_t getOutputForAttr(const audio_attributes_t& attributes, uid_t uid, 93 status_t getInputMixForAttr(audio_attributes_t attr, sp<AudioPolicyMix> *policyMix); 128 const audio_attributes_t& attributes,
|
H A D | ClientDescriptor.h | 47 audio_attributes_t attributes, audio_config_base_t config, 61 audio_attributes_t attributes() const { return mAttributes; } in attributes() 78 const audio_attributes_t mAttributes; // usage... 89 audio_attributes_t attributes, audio_config_base_t config, in TrackClientDescriptor() 162 audio_session_t sessionId, audio_attributes_t attributes, in RecordClientDescriptor() 196 SourceClientDescriptor(audio_port_handle_t portId, uid_t uid, audio_attributes_t attributes,
|
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | AudioSource.h | 42 const audio_attributes_t *attr, 53 const audio_attributes_t *attr, 149 const audio_attributes_t *attr,
|
/aosp12/frameworks/av/include/media/ |
H A D | MmapStreamInterface.h | 70 const audio_attributes_t *attr, 132 const audio_attributes_t *attr,
|
/aosp12/frameworks/av/media/libaudioclient/ |
H A D | AudioProductStrategy.cpp | 66 bool AudioProductStrategy::attributesMatches(const audio_attributes_t refAttributes, in attributesMatches() 67 const audio_attributes_t clientAttritubes) in attributesMatches()
|
/aosp12/frameworks/av/services/audiopolicy/enginedefault/src/ |
H A D | Engine.h | 58 DeviceVector getOutputDevicesForAttributes(const audio_attributes_t &attr, 65 sp<DeviceDescriptor> getInputDeviceForAttributes(const audio_attributes_t &attr,
|
/aosp12/frameworks/av/services/oboeservice/ |
H A D | AAudioServiceEndpoint.h | 69 const audio_attributes_t *attr, in startClient() 118 static audio_attributes_t getAudioAttributesFrom(const AAudioStreamParameters *params);
|
H A D | AAudioService.h | 87 const audio_attributes_t *attr, 114 const audio_attributes_t *attr, in startClient()
|
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Engine.h | 57 DeviceVector getOutputDevicesForAttributes(const audio_attributes_t &attr, 64 sp<DeviceDescriptor> getInputDeviceForAttributes(const audio_attributes_t &attr,
|