Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioFocusRequest.java225 private final AudioAttributes mAttr; // never null field in AudioFocusRequest
234 mAttr = attr; in AudioFocusRequest()
282 return mAttr; in getAudioAttributes()
347 private AudioAttributes mAttr = FOCUS_DEFAULT_ATTR; field in AudioFocusRequest.Builder
380 mAttr = requestToCopy.mAttr; in Builder()
478 mAttr = attributes; in setAudioAttributes()
546 mAttr, mFocusGain, flags); in build()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java95 final AudioAttributes mAttr; field in AudioMixingRule.AudioMixMatchCriterion
101 mAttr = attributes; in AudioMixMatchCriterion()
107 mAttr = null; in AudioMixMatchCriterion()
114 return Objects.hash(mAttr, mIntProp, mRule); in hashCode()
122 dest.writeInt(mAttr.getUsage()); in writeToParcel()
125 dest.writeInt(mAttr.getCapturePreset()); in writeToParcel()
388 if (criterion.mAttr.getUsage() == attrToMatch.getUsage()) { in addRuleInternal()
402 … if (criterion.mAttr.getCapturePreset() == attrToMatch.getCapturePreset()) { in addRuleInternal()
DAudioPolicyConfig.java165 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
169 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
173 textDump += criterion.mAttr.getCapturePreset(); in toLogFriendlyString()
177 textDump += criterion.mAttr.getCapturePreset(); in toLogFriendlyString()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp135 jfieldID mAttr; member
1681 … jobject jAttributes = env->GetObjectField(jCriterion, gAudioMixMatchCriterionFields.mAttr); in convertAudioMixToNative()
1953 gAudioMixMatchCriterionFields.mAttr = GetFieldIDOrDie(env, audioMixMatchCriterionClass, "mAttr", in register_android_media_AudioSystem()
/frameworks/av/services/audioflinger/
DThreads.cpp7583 mAttr = *attr; in configure()
7642 ret = AudioSystem::getOutputForAttr(&mAttr, &io, in start()
7655 ret = AudioSystem::getInputForAttr(&mAttr, &io, in start()
8173 mAttr.content_type, mAttr.usage, mAttr.source); in dumpInternals()
DThreads.h1533 audio_attributes_t mAttr;