Home
last modified time | relevance | path

Searched refs:mCriteria (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp49 for (const auto &criterion : mCriteria) { in dump()
244 for (size_t j = 0; j < mix->mCriteria.size(); j++) { in mixMatch()
246 mixIndex, j, mix->mCriteria.size()); in mixMatch()
257 switch (mix->mCriteria[j].mRule) { in mixMatch()
260 mix->mCriteria[j].mValue.mUsage); in mixMatch()
262 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch()
269 mix->mCriteria[j].mValue.mUsage); in mixMatch()
271 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch()
277 ALOGV("\tmix has RULE_MATCH_UID for uid %d", mix->mCriteria[j].mValue.mUid); in mixMatch()
279 if (mix->mCriteria[j].mValue.mUid == uid) { in mixMatch()
[all …]
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java51 mCriteria = criteria; in AudioMixingRule()
150 for (AudioMixMatchCriterion criterion : mCriteria) { in isAffectingUsage()
172 private final ArrayList<AudioMixMatchCriterion> mCriteria; field in AudioMixingRule
174 public ArrayList<AudioMixMatchCriterion> getCriteria() { return mCriteria; } in getCriteria()
191 && (areCriteriaEquivalent(this.mCriteria, that.mCriteria) in equals()
197 return Objects.hash(mTargetMixType, mCriteria, mAllowPrivilegedPlaybackCapture); in hashCode()
259 private ArrayList<AudioMixMatchCriterion> mCriteria; field in AudioMixingRule.Builder
267 mCriteria = new ArrayList<AudioMixMatchCriterion>(); in Builder()
446 synchronized (mCriteria) { in addRuleInternal()
447 Iterator<AudioMixMatchCriterion> crIterator = mCriteria.iterator(); in addRuleInternal()
[all …]
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp108 mCriteria.add(criterion); in readFromParcel()
125 size_t size = mCriteria.size(); in writeToParcel()
134 if (mCriteria[i].writeToParcel(parcel) != NO_ERROR) { in writeToParcel()
152 mCriteria.add(crit); in setExcludeUid()
159 mCriteria.add(crit); in setMatchUid()
164 for (size_t i = 0; i < mCriteria.size(); i++) { in hasUidRule()
165 if (mCriteria[i].mRule == rule in hasUidRule()
166 && mCriteria[i].mValue.mUid == uid) { in hasUidRule()
174 for (size_t i = 0; i < mCriteria.size(); i++) { in hasMatchUidRule()
175 if (mCriteria[i].mRule == RULE_MATCH_UID) { in hasMatchUidRule()
/frameworks/av/include/media/
DAudioPolicy.h101 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix()
116 mutable Vector<AudioMixMatchCriterion> mCriteria; variable
/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h101 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix()
116 mutable Vector<AudioMixMatchCriterion> mCriteria; variable
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp277 mGraph.checkResults(outputs, mCriteria); in computeAndVerifyResultsForDevice()
300 mGraph.checkResults(outputs, mCriteria); in computeAndVerifyResults()
360 AccuracyCriteria mCriteria; member in android::nn::fuzzing_test::RandomGraphTest
386 mCriteria = (criteria); \
604 mCriteria = kSmallGraphCriteria; \
610 mCriteria = kLargeGraphCriteria; \
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp147 jfieldID mCriteria; member
1881 jobject jRuleCriteria = env->GetObjectField(jRule, gAudioMixingRuleFields.mCriteria); in convertAudioMixToNative()
1926 nAudioMix->mCriteria.add(nCriterion); in convertAudioMixToNative()
2482 gAudioMixingRuleFields.mCriteria = GetFieldIDOrDie(env, audioMixingRuleClass, "mCriteria", in register_android_media_AudioSystem()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt37053 Landroid/media/audiopolicy/AudioMixingRule$Builder;->mCriteria:Ljava/util/ArrayList;