Home
last modified time | relevance | path

Searched refs:mAttr (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioFocusRequest.java230 private final @NonNull AudioAttributes mAttr; field in AudioFocusRequest
239 mAttr = attr; in AudioFocusRequest()
288 return mAttr; in getAudioAttributes()
353 private AudioAttributes mAttr = FOCUS_DEFAULT_ATTR; field in AudioFocusRequest.Builder
387 mAttr = requestToCopy.mAttr; in Builder()
487 mAttr = attributes; in setAudioAttributes()
567 if (mAttr.getBundle() == null) { in build()
570 extraInfo = mAttr.getBundle(); in build()
574 mAttr = new AudioAttributes.Builder(mAttr).addBundle(extraInfo).build(); in build()
581 mAttr, mFocusGain, flags); in build()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java119 final AudioAttributes mAttr; field in AudioMixingRule.AudioMixMatchCriterion
127 mAttr = attributes; in AudioMixMatchCriterion()
133 mAttr = null; in AudioMixMatchCriterion()
140 return Objects.hash(mAttr, mIntProp, mRule); in hashCode()
149 mAttr.writeToParcel(dest, AudioAttributes.FLATTEN_TAGS/*flags*/); in writeToParcel()
162 public AudioAttributes getAudioAttributes() { return mAttr; } in getAudioAttributes()
170 && criterion.mAttr != null in isAffectingUsage()
171 && criterion.mAttr.getSystemUsage() == usage) { in isAffectingUsage()
187 && criterion.mAttr != null in containsMatchAttributeRuleForUsage()
188 && criterion.mAttr.getSystemUsage() == usage) { in containsMatchAttributeRuleForUsage()
[all …]
DAudioPolicyConfig.java190 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
194 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
198 textDump += criterion.mAttr.getCapturePreset(); in toLogFriendlyString()
202 textDump += criterion.mAttr.getCapturePreset(); in toLogFriendlyString()
/frameworks/av/services/audioflinger/
DTrackBase.h59 const audio_attributes_t& mAttr,
108 audio_attributes_t attributes() const { return mAttr; } in attributes()
362 const audio_attributes_t mAttr; variable
DTracks.cpp103 mAttr(attr), in TrackBase()
730 mUid, packageName, mAttr, mAudioVibrationController); in Track()
891 mAttr.usage, in appendDump()
892 mAttr.content_type, in appendDump()
1423 .usage = mAttr.usage, in copyMetadataTo()
1424 .content_type = mAttr.content_type, in copyMetadataTo()
1430 if (mAttr.usage == AUDIO_USAGE_UNKNOWN) { in copyMetadataTo()
1482 strncpy(metadata.tags, mAttr.tags, AUDIO_ATTRIBUTES_TAGS_MAX_SIZE); in copyMetadataTo()
2602 mAttr.source, in appendDump()
2754 if (mAttr.source == AUDIO_SOURCE_DEFAULT) { in copyMetadataTo()
[all …]
DThreads.cpp9614 mAttr = *attr; in configure()
9689 ret = AudioSystem::getOutputForAttr(&mAttr, &io, in start()
9707 ret = AudioSystem::getInputForAttr(&mAttr, &io, in start()
9756 sp<MmapTrack> track = new MmapTrack(this, attr == nullptr ? mAttr : *attr, mSampleRate, mFormat, in start()
10269 mAttr.content_type, mAttr.usage, mAttr.source); in dumpInternals_l()
DThreads.h2163 audio_attributes_t mAttr; variable
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp165 jfieldID mAttr; member
2165 … jobject jAttributes = env->GetObjectField(jCriterion, gAudioMixMatchCriterionFields.mAttr); in convertAudioMixToNative()
3287 gAudioMixMatchCriterionFields.mAttr = GetFieldIDOrDie(env, audioMixMatchCriterionClass, "mAttr", in register_android_media_AudioSystem()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt23813 Landroid/media/AudioFocusRequest$Builder;->mAttr:Landroid/media/AudioAttributes;
23827 Landroid/media/AudioFocusRequest;->mAttr:Landroid/media/AudioAttributes;