/frameworks/av/services/audiopolicy/engine/common/include/ |
D | ProductStrategy.h | 69 int matchesScore(const audio_attributes_t attributes) const; 87 audio_attributes_t getAttributesForStreamType(audio_stream_type_t stream) const; 125 const audio_attributes_t &attr, bool fallbackOnDefault = true) const; 129 audio_attributes_t getAttributesForStreamType(audio_stream_type_t stream) const; 131 audio_stream_type_t getStreamTypeForAttributes(const audio_attributes_t &attr) const; 143 audio_attributes_t getAttributesForProductStrategy(product_strategy_t strategy) const; 150 const audio_attributes_t &attr, bool fallbackOnDefault = true) const; 163 const audio_attributes_t &attr, bool fallbackOnDefault = true) const;
|
D | EngineBase.h | 59 const audio_attributes_t &attr, bool fallbackOnDefault = true) const override; 61 audio_stream_type_t getStreamTypeForAttributes(const audio_attributes_t &attr) const override; 63 audio_attributes_t getAttributesForStreamType(audio_stream_type_t stream) const override; 73 VolumeCurves *getVolumeCurvesForAttributes(const audio_attributes_t &attr) const override; 86 const audio_attributes_t &attr, bool fallbackOnDefault = true) const override;
|
/frameworks/av/media/libaudioclient/include/media/ |
D | VolumeGroupAttributes.h | 33 VolumeGroupAttributes(const audio_attributes_t &attributes) in VolumeGroupAttributes() 37 const audio_attributes_t &attributes) : in VolumeGroupAttributes() 44 int matchesScore(const audio_attributes_t &attributes) const; 46 audio_attributes_t getAttributes() const { return mAttributes; } in getAttributes() 55 audio_attributes_t mAttributes = AUDIO_ATTRIBUTES_INITIALIZER;
|
D | AudioProductStrategy.h | 61 static int attributesMatchesScore(audio_attributes_t refAttributes, 62 audio_attributes_t clientAttritubes); 64 static bool attributesMatches(audio_attributes_t refAttributes, in attributesMatches() 65 audio_attributes_t clientAttritubes) { in attributesMatches()
|
D | AudioSystem.h | 329 static status_t getOutputForAttr(audio_attributes_t *attr, 364 static status_t getInputForAttr(const audio_attributes_t *attr, 391 static status_t setVolumeIndexForAttributes(const audio_attributes_t &attr, 394 static status_t getVolumeIndexForAttributes(const audio_attributes_t &attr, 398 static status_t getMaxVolumeIndexForAttributes(const audio_attributes_t &attr, int &index); 400 static status_t getMinVolumeIndexForAttributes(const audio_attributes_t &attr, int &index); 403 static status_t getDevicesForAttributes(const audio_attributes_t &aa, 501 const audio_attributes_t *attributes, 541 const audio_attributes_t &aa, product_strategy_t &productStrategy, 544 static audio_attributes_t streamTypeToAttributes(audio_stream_type_t stream); [all …]
|
D | AudioCommonTypes.h | 95 using AttributesVector = std::vector<audio_attributes_t>; 101 constexpr bool operator==(const audio_attributes_t &lhs, const audio_attributes_t &rhs) 106 constexpr bool operator!=(const audio_attributes_t &lhs, const audio_attributes_t &rhs)
|
/frameworks/av/media/libaudiousecasevalidation/include/media/ |
D | UsecaseValidator.h | 46 const audio_attributes_t& attributes) = 0; 68 virtual error::Result<audio_attributes_t> startClient(audio_io_handle_t streamId, 71 const audio_attributes_t& attributes, 84 virtual error::Result<audio_attributes_t> verifyAudioAttributes(audio_io_handle_t streamId, 86 const audio_attributes_t& attributes) = 0;
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 138 virtual status_t getOutputForAttr(const audio_attributes_t *attr, 161 virtual status_t getInputForAttr(const audio_attributes_t *attr, 208 virtual status_t setVolumeIndexForAttributes(const audio_attributes_t &attr, 211 virtual status_t getVolumeIndexForAttributes(const audio_attributes_t &attr, 215 virtual status_t getMaxVolumeIndexForAttributes(const audio_attributes_t &attr, 218 virtual status_t getMinVolumeIndexForAttributes(const audio_attributes_t &attr, 225 virtual status_t getDevicesForAttributes(const audio_attributes_t &attr, 251 const audio_attributes_t& attributes) = 0; 295 const audio_attributes_t *attributes, 329 const audio_attributes_t &aa, product_strategy_t &productStrategy, [all …]
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 119 status_t getOutputForAttr(const audio_attributes_t *attr, 135 virtual status_t getInputForAttr(const audio_attributes_t *attr, 176 virtual status_t setVolumeIndexForAttributes(const audio_attributes_t &attr, 179 virtual status_t getVolumeIndexForAttributes(const audio_attributes_t &attr, 182 virtual status_t getMaxVolumeIndexForAttributes(const audio_attributes_t &attr, int &index); 184 virtual status_t getMinVolumeIndexForAttributes(const audio_attributes_t &attr, int &index); 232 const audio_attributes_t &attributes, 267 const audio_attributes_t& attributes); 346 const audio_attributes_t *attributes, 380 const audio_attributes_t &aa, product_strategy_t &productStrategy, in getProductStrategyFromAudioAttributes() [all …]
|
/frameworks/av/media/libaudiousecasevalidation/tests/ |
D | UsecaseValidator-test.h | 45 const audio_attributes_t& /*attributes*/) { in onAttributesChanged() argument 70 error::Result<audio_attributes_t> testStartClient(audio_io_handle_t streamId, 72 audio_attributes_t attributes); 73 error::Result<audio_attributes_t> testVerifyAudioAttributes(audio_io_handle_t streamId,
|
D | UsecaseValidator-test.cpp | 53 error::Result<audio_attributes_t> UsecaseValidatorTest::testStartClient(audio_io_handle_t streamId, in testStartClient() 55 audio_attributes_t attributes) { in testStartClient() 64 error::Result<audio_attributes_t> UsecaseValidatorTest::testVerifyAudioAttributes( in testVerifyAudioAttributes() 68 audio_attributes_t attributes = AUDIO_ATTRIBUTES_INITIALIZER; in testVerifyAudioAttributes() 142 audio_attributes_t attributes = AUDIO_ATTRIBUTES_INITIALIZER; in TEST_F() 179 audio_attributes_t attributes = AUDIO_ATTRIBUTES_INITIALIZER; in TEST_F() 224 audio_attributes_t attributes = AUDIO_ATTRIBUTES_INITIALIZER; in TEST_F() 256 audio_attributes_t attributes = AUDIO_ATTRIBUTES_INITIALIZER; in TEST_F() 287 audio_attributes_t attributes = AUDIO_ATTRIBUTES_INITIALIZER; in TEST_F()
|
/frameworks/av/services/audiopolicy/engine/interface/ |
D | EngineInterface.h | 137 const audio_attributes_t &attr, bool fallbackOnDefault = true) const = 0; 161 const audio_attributes_t &attributes, 194 const audio_attributes_t &attr, 207 const audio_attributes_t &attr) const = 0; 215 virtual audio_attributes_t getAttributesForStreamType(audio_stream_type_t stream) const = 0; 271 virtual IVolumeCurves *getVolumeCurvesForAttributes(const audio_attributes_t &attr) const = 0; 303 const audio_attributes_t &attr, bool fallbackOnDefault = true) const = 0;
|
/frameworks/base/core/jni/ |
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);
|
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()
|
/frameworks/av/media/libaudiousecasevalidation/ |
D | UsecaseValidator.cpp | 65 error::Result<audio_attributes_t> startClient(audio_io_handle_t streamId, in startClient() 67 const audio_attributes_t& attributes, in startClient() 93 error::Result<audio_attributes_t> verifyAudioAttributes(audio_io_handle_t streamId, in verifyAudioAttributes() 95 const audio_attributes_t& attributes) override { in verifyAudioAttributes() 100 audio_attributes_t attrRet = attributes; in verifyAudioAttributes()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyMix.h | 88 status_t getOutputForAttr(const audio_attributes_t& attributes, 99 sp<DeviceDescriptor> getDeviceAndMixForInputSource(const audio_attributes_t& attributes, 115 status_t getInputMixForAttr(audio_attributes_t attr, sp<AudioPolicyMix> *policyMix); 149 const audio_attributes_t& attributes, 162 std::optional<std::string> extractAddressFromAudioAttributes(const audio_attributes_t& attr);
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioRecordClient.h | 42 const audio_attributes_t& attr, 48 const audio_attributes_t &attr, 75 const audio_attributes_t mAttr; 85 AudioRecordClient(const audio_attributes_t attributes, in AudioRecordClient()
|
/frameworks/native/libs/vibrator/include/vibrator/ |
D | ExternalVibration.h | 35 ExternalVibration(int32_t uid, std::string pkg, const audio_attributes_t& attrs, 46 audio_attributes_t getAudioAttributes() const { return mAttrs; } in getAudioAttributes() 58 audio_attributes_t mAttrs;
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | ProductStrategy.cpp | 65 int ProductStrategy::matchesScore(const audio_attributes_t attr) const in matchesScore() 78 audio_attributes_t ProductStrategy::getAttributesForStreamType(audio_stream_type_t streamType) const in getAttributesForStreamType() 148 const audio_attributes_t &attributes, bool fallbackOnDefault) const in getProductStrategyForAttributes() 166 audio_attributes_t ProductStrategyMap::getAttributesForStreamType(audio_stream_type_t stream) const in getAttributesForStreamType() 194 audio_attributes_t ProductStrategyMap::getAttributesForProductStrategy( in getAttributesForProductStrategy() 244 const audio_attributes_t &attr, bool fallbackOnDefault) const in getVolumeGroupAttributesForAttributes() 265 const audio_attributes_t &attr) const in getStreamTypeForAttributes() 273 const audio_attributes_t &attr, bool fallbackOnDefault) const in getVolumeGroupForAttributes()
|
/frameworks/native/libs/vibrator/ |
D | ExternalVibration.cpp | 25 void writeAudioAttributes(const audio_attributes_t& attrs, android::Parcel* out) { in writeAudioAttributes() 32 void readAudioAttributes(audio_attributes_t* attrs, const android::Parcel* in) { in readAudioAttributes() 42 ExternalVibration::ExternalVibration(int32_t uid, std::string pkg, const audio_attributes_t& attrs, in ExternalVibration()
|
/frameworks/av/include/media/ |
D | MmapStreamInterface.h | 70 const audio_attributes_t *attr, 132 const audio_attributes_t *attr,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | AudioSource.h | 43 const audio_attributes_t *attr, 54 const audio_attributes_t *attr, 153 const audio_attributes_t *attr,
|
/frameworks/av/media/libaudioclient/tests/ |
D | audio_test_utils.h | 82 audio_attributes_t* attributes = nullptr, audio_offload_info_t* info = nullptr); 114 const audio_attributes_t* mAttributes; 145 const audio_attributes_t* attributes = nullptr); 190 const audio_attributes_t* mAttributes;
|
D | audioclient_serialization_tests.cpp | 101 void fillAudioAttributes(audio_attributes_t& attr); 106 void FillAudioAttributes::fillAudioAttributes(audio_attributes_t& attr) { in fillAudioAttributes() 130 audio_attributes_t attributes; in TEST_F() 162 std::vector<audio_attributes_t> attributesvector; in TEST_F() 164 audio_attributes_t attributes; in TEST_F() 300 audio_attributes_t attributes; in TEST_P()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamMMAP.h | 56 const audio_attributes_t *attr, 102 const audio_attributes_t *attr,
|