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.java100 final AudioAttributes mAttr; field in AudioMixingRule.AudioMixMatchCriterion
108 mAttr = attributes; in AudioMixMatchCriterion()
114 mAttr = null; in AudioMixMatchCriterion()
121 return Objects.hash(mAttr, mIntProp, mRule); in hashCode()
129 dest.writeInt(mAttr.getUsage()); in writeToParcel()
132 dest.writeInt(mAttr.getCapturePreset()); in writeToParcel()
144 public AudioAttributes getAudioAttributes() { return mAttr; } in getAudioAttributes()
152 && criterion.mAttr != null in isAffectingUsage()
153 && criterion.mAttr.getUsage() == usage) { in isAffectingUsage()
458 if (criterion.mAttr.getUsage() == attrToMatch.getUsage()) { in addRuleInternal()
[all …]
DAudioPolicyConfig.java178 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
182 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
186 textDump += criterion.mAttr.getCapturePreset(); in toLogFriendlyString()
190 textDump += criterion.mAttr.getCapturePreset(); in toLogFriendlyString()
/frameworks/av/services/audioflinger/
DTrackBase.h59 const audio_attributes_t& mAttr,
103 audio_attributes_t attributes() const { return mAttr; } in attributes()
287 const audio_attributes_t mAttr; variable
DTracks.cpp90 mAttr(attr), in TrackBase()
596 mUid, "" /* pkg */, mAttr, mAudioVibrationController); in Track()
753 mAttr.usage, in appendDump()
754 mAttr.content_type, in appendDump()
1236 .usage = mAttr.usage, in copyMetadataTo()
1237 .content_type = mAttr.content_type, in copyMetadataTo()
2261 mAttr.source, in appendDump()
2748 mAttr.flags); in appendDump()
2750 result.appendFormat("%3x %2x", mAttr.usage, mAttr.content_type); in appendDump()
2752 result.appendFormat("%6x", mAttr.source); in appendDump()
DThreads.cpp8560 mAttr = *attr; in configure()
8626 ret = AudioSystem::getOutputForAttr(&mAttr, &io, in start()
8644 ret = AudioSystem::getInputForAttr(&mAttr, &io, in start()
8688 sp<MmapTrack> track = new MmapTrack(this, mAttr, mSampleRate, mFormat, mChannelMask, mSessionId, in start()
9176 mAttr.content_type, mAttr.usage, mAttr.source); in dumpInternals_l()
DThreads.h1830 audio_attributes_t mAttr; variable
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp155 jfieldID mAttr; member
1910 … jobject jAttributes = env->GetObjectField(jCriterion, gAudioMixMatchCriterionFields.mAttr); in convertAudioMixToNative()
2507 gAudioMixMatchCriterionFields.mAttr = GetFieldIDOrDie(env, audioMixMatchCriterionClass, "mAttr", in register_android_media_AudioSystem()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt33942 Landroid/media/AudioFocusRequest$Builder;->mAttr:Landroid/media/AudioAttributes;
33956 Landroid/media/AudioFocusRequest;->mAttr:Landroid/media/AudioAttributes;