Searched refs:mCriteria (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 132 for (size_t j = 0; j < mix->mCriteria.size(); j++) { in getOutputForAttr() 134 i, j, mix->mCriteria.size()); in getOutputForAttr() 145 switch (mix->mCriteria[j].mRule) { in getOutputForAttr() 148 mix->mCriteria[j].mValue.mUsage); in getOutputForAttr() 150 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in getOutputForAttr() 157 mix->mCriteria[j].mValue.mUsage); in getOutputForAttr() 159 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in getOutputForAttr() 165 ALOGV("\tmix has RULE_MATCH_UID for uid %d", mix->mCriteria[j].mValue.mUid); in getOutputForAttr() 167 if (mix->mCriteria[j].mValue.mUid == uid) { in getOutputForAttr() 173 ALOGV("\tmix has RULE_EXCLUDE_UID for uid %d", mix->mCriteria[j].mValue.mUid); in getOutputForAttr() [all …]
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMixingRule.java | 46 mCriteria = criteria; in AudioMixingRule() 140 private final ArrayList<AudioMixMatchCriterion> mCriteria; field in AudioMixingRule 141 ArrayList<AudioMixMatchCriterion> getCriteria() { return mCriteria; } in getCriteria() 145 return Objects.hash(mTargetMixType, mCriteria); in hashCode() 208 private ArrayList<AudioMixMatchCriterion> mCriteria; field in AudioMixingRule.Builder 216 mCriteria = new ArrayList<AudioMixMatchCriterion>(); in Builder() 380 synchronized (mCriteria) { in addRuleInternal() 381 Iterator<AudioMixMatchCriterion> crIterator = mCriteria.iterator(); in addRuleInternal() 434 mCriteria.add(new AudioMixMatchCriterion(attrToMatch, rule)); in addRuleInternal() 437 mCriteria.add(new AudioMixMatchCriterion(intProp, rule)); in addRuleInternal() [all …]
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | LocationStatsAggregator.java | 66 private Criteria mCriteria = new Criteria(); field in LocationStatsAggregator 84 mCriteria.setAccuracy(Criteria.ACCURACY_COARSE); in LocationStatsAggregator() 85 mCriteria.setPowerRequirement(Criteria.POWER_LOW); in LocationStatsAggregator() 91 mCriteria.setCostAllowed(true); in LocationStatsAggregator() 190 String provider = mLocationManager.getBestProvider(mCriteria, true); in onReceive()
|
/frameworks/av/media/libmedia/ |
D | AudioPolicy.cpp | 80 mCriteria.add(criterion); in readFromParcel() 96 size_t size = mCriteria.size(); in writeToParcel() 105 if (mCriteria[i].writeToParcel(parcel) != NO_ERROR) { in writeToParcel()
|
/frameworks/av/include/media/ |
D | AudioPolicy.h | 84 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix() 90 Vector<AudioMixMatchCriterion> mCriteria; variable
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 128 jfieldID mCriteria; member 1598 jobject jRuleCriteria = env->GetObjectField(jRule, gAudioMixingRuleFields.mCriteria); in convertAudioMixToNative() 1637 nAudioMix->mCriteria.add(nCriterion); in convertAudioMixToNative() 1888 gAudioMixingRuleFields.mCriteria = GetFieldIDOrDie(env, audioMixingRuleClass, "mCriteria", in register_android_media_AudioSystem()
|