Searched refs:mCriteria (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 82 for (const auto &criterion : mMix.mCriteria) { in dump() 193 for (size_t j = 0; j < mix->mCriteria.size(); j++) { in getOutputForAttr() 195 i, j, mix->mCriteria.size()); in getOutputForAttr() 206 switch (mix->mCriteria[j].mRule) { in getOutputForAttr() 209 mix->mCriteria[j].mValue.mUsage); in getOutputForAttr() 211 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in getOutputForAttr() 218 mix->mCriteria[j].mValue.mUsage); in getOutputForAttr() 220 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) { in getOutputForAttr() 226 ALOGV("\tmix has RULE_MATCH_UID for uid %d", mix->mCriteria[j].mValue.mUid); in getOutputForAttr() 228 if (mix->mCriteria[j].mValue.mUid == uid) { 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/libaudioclient/ |
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/media/libaudioclient/include/media/ |
D | AudioPolicy.h | 84 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix() 90 Vector<AudioMixMatchCriterion> mCriteria; variable
|
/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 | 129 jfieldID mCriteria; member 1655 jobject jRuleCriteria = env->GetObjectField(jRule, gAudioMixingRuleFields.mCriteria); in convertAudioMixToNative() 1694 nAudioMix->mCriteria.add(nCriterion); in convertAudioMixToNative() 1947 gAudioMixingRuleFields.mCriteria = GetFieldIDOrDie(env, audioMixingRuleClass, "mCriteria", in register_android_media_AudioSystem()
|