Searched refs:mCriteria (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 48 for (const auto &criterion : mCriteria) { in dump() 243 for (size_t j = 0; j < mix->mCriteria.size(); j++) { in mixMatch() 245 mixIndex, j, mix->mCriteria.size()); in mixMatch() 256 switch (mix->mCriteria[j].mRule) { in mixMatch() 259 mix->mCriteria[j].mValue.mUsage); in mixMatch() 261 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch() 268 mix->mCriteria[j].mValue.mUsage); in mixMatch() 270 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in mixMatch() 276 ALOGV("\tmix has RULE_MATCH_UID for uid %d", mix->mCriteria[j].mValue.mUid); in mixMatch() 278 if (mix->mCriteria[j].mValue.mUid == uid) { in mixMatch() [all …]
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 92 mCriteria.add(criterion); in readFromParcel() 109 size_t size = mCriteria.size(); in writeToParcel() 118 if (mCriteria[i].writeToParcel(parcel) != NO_ERROR) { in writeToParcel() 136 mCriteria.add(crit); in setExcludeUid() 143 mCriteria.add(crit); in setMatchUid() 148 for (size_t i = 0; i < mCriteria.size(); i++) { in hasUidRule() 149 if (mCriteria[i].mRule == rule in hasUidRule() 150 && mCriteria[i].mValue.mUid == uid) { in hasUidRule() 158 for (size_t i = 0; i < mCriteria.size(); i++) { in hasMatchUidRule() 159 if (mCriteria[i].mRule == RULE_MATCH_UID) { in hasMatchUidRule()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMixingRule.java | 51 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/include/media/ |
D | AudioPolicy.h | 89 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix() 104 mutable Vector<AudioMixMatchCriterion> mCriteria; variable
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 338 checkResults(mTestModel, outputs, mCriteria); in computeAndVerifyResultsForDevice() 365 checkResults(mTestModel, outputs, mCriteria); in computeAndVerifyResults() 437 AccuracyCriteria mCriteria; member in android::nn::fuzzing_test::RandomGraphTest 469 mCriteria = (criteria); \ 786 mCriteria = kSmallGraphCriteria; \ 792 mCriteria = kLargeGraphCriteria; \
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 148 jfieldID mCriteria; member 1882 jobject jRuleCriteria = env->GetObjectField(jRule, gAudioMixingRuleFields.mCriteria); in convertAudioMixToNative() 1927 nAudioMix->mCriteria.add(nCriterion); in convertAudioMixToNative() 2499 gAudioMixingRuleFields.mCriteria = GetFieldIDOrDie(env, audioMixingRuleClass, "mCriteria", in register_android_media_AudioSystem()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 34578 Landroid/media/audiopolicy/AudioMixingRule$Builder;->mCriteria:Ljava/util/ArrayList;
|