Home
last modified time | relevance | path

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

/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/tools/aapt2/test/
DBuilders.h171 std::unique_ptr<Attribute> mAttr;
174 AttributeBuilder(bool weak = false) : mAttr(util::make_unique<Attribute>(weak)) { in mAttr() function
175 mAttr->typeMask = android::ResTable_map::TYPE_ANY; in mAttr()
179 mAttr->typeMask = typeMask; in setTypeMask()
184 mAttr->symbols.push_back(Attribute::Symbol{ in addItem()
191 return std::move(mAttr); in build()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp134 jfieldID mAttr; member
1624 … jobject jAttributes = env->GetObjectField(jCriterion, gAudioMixMatchCriterionFields.mAttr); in convertAudioMixToNative()
1894 gAudioMixMatchCriterionFields.mAttr = GetFieldIDOrDie(env, audioMixMatchCriterionClass, "mAttr", in register_android_media_AudioSystem()