Searched refs:mCriteria (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 97 mCriteria.add(criterion); in readFromParcel() 115 size_t size = mCriteria.size(); in writeToParcel() 124 if (mCriteria[i].writeToParcel(parcel) != NO_ERROR) { in writeToParcel() 142 mCriteria.add(crit); in setExcludeUid() 149 mCriteria.add(crit); in setMatchUid() 154 for (size_t i = 0; i < mCriteria.size(); i++) { in hasUidRule() 155 if (mCriteria[i].mRule == rule in hasUidRule() 156 && mCriteria[i].mValue.mUid == uid) { in hasUidRule() 164 for (size_t i = 0; i < mCriteria.size(); i++) { in hasMatchUidRule() 165 if (mCriteria[i].mRule == RULE_MATCH_UID) { in hasMatchUidRule() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 51 for (const auto &criterion : mCriteria) { in dump() 254 for (size_t j = 0; j < mix->mCriteria.size(); j++) { in mixMatch() 256 mixIndex, j, mix->mCriteria.size()); in mixMatch() 267 switch (mix->mCriteria[j].mRule) { in mixMatch() 270 mix->mCriteria[j].mValue.mUsage); in mixMatch() 272 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch() 279 mix->mCriteria[j].mValue.mUsage); in mixMatch() 281 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch() 287 ALOGV("\tmix has RULE_MATCH_UID for uid %d", mix->mCriteria[j].mValue.mUid); in mixMatch() 289 if (mix->mCriteria[j].mValue.mUid == uid) { in mixMatch() [all …]
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMixingRule.java | 52 mCriteria = criteria; in AudioMixingRule() 166 for (AudioMixMatchCriterion criterion : mCriteria) { in isAffectingUsage() 183 for (AudioMixMatchCriterion criterion : mCriteria) { in containsMatchAttributeRuleForUsage() 205 private final ArrayList<AudioMixMatchCriterion> mCriteria; field in AudioMixingRule 207 public ArrayList<AudioMixMatchCriterion> getCriteria() { return mCriteria; } in getCriteria() 236 && (areCriteriaEquivalent(this.mCriteria, that.mCriteria) in equals() 246 mCriteria, in hashCode() 313 private ArrayList<AudioMixMatchCriterion> mCriteria; field in AudioMixingRule.Builder 323 mCriteria = new ArrayList<AudioMixMatchCriterion>(); in Builder() 523 synchronized (mCriteria) { in addRuleInternal() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioPolicy.h | 93 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix() 115 mutable Vector<AudioMixMatchCriterion> mCriteria; variable
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 332 checkResults(mTestModel, outputs, mCriteria); in computeAndVerifyResultsForDevice() 359 checkResults(mTestModel, outputs, mCriteria); in computeAndVerifyResults() 431 AccuracyCriteria mCriteria; member in android::nn::fuzzing_test::RandomGraphTest 461 mCriteria = (criteria); \ 778 mCriteria = kSmallGraphCriteria; \ 784 mCriteria = kLargeGraphCriteria; \
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 148 jfieldID mCriteria; member 1948 jobject jRuleCriteria = env->GetObjectField(jRule, gAudioMixingRuleFields.mCriteria); in convertAudioMixToNative() 1999 nAudioMix->mCriteria.add(nCriterion); in convertAudioMixToNative() 2719 gAudioMixingRuleFields.mCriteria = GetFieldIDOrDie(env, audioMixingRuleClass, "mCriteria", in register_android_media_AudioSystem()
|