/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
D | ParameterManagerWrapper.cpp | 124 auto criterion = mPfwConnector->createSelectionCriterion(name, criterionType); in addCriterion() local 125 mPolicyCriteria[name] = criterion; in addCriterion() 133 criterion->setCriterionState(numericalValue); in addCriterion() 186 ISelectionCriterionInterface *criterion = in setPhoneState() local 188 if (criterion == NULL) { in setPhoneState() 192 if (!isValueValidForCriterion(criterion, static_cast<int>(mode))) { in setPhoneState() 195 criterion->setCriterionState((int)(mode)); in setPhoneState() 202 const ISelectionCriterionInterface *criterion = in getPhoneState() local 204 if (criterion == NULL) { in getPhoneState() 208 return static_cast<audio_mode_t>(criterion->getCriterionState()); in getPhoneState() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiSelector.java | 641 String getString(int criterion) { in getString() argument 642 return (String) mSelectorAttributes.get(criterion, null); in getString() 645 boolean getBoolean(int criterion) { in getBoolean() argument 646 return (Boolean) mSelectorAttributes.get(criterion, false); in getBoolean() 649 int getInt(int criterion) { in getInt() argument 650 return (Integer) mSelectorAttributes.get(criterion, 0); in getInt() 653 Pattern getPattern(int criterion) { in getPattern() argument 654 return (Pattern) mSelectorAttributes.get(criterion, null); in getPattern() 661 int criterion = mSelectorAttributes.keyAt(x); in isMatchFor() local 662 switch(criterion) { in isMatchFor() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackCaptureConfiguration.java | 96 criterion -> criterion.getAudioAttributes().getUsage()); in getMatchingUsages() 102 criterion -> criterion.getIntProp()); in getMatchingUids() 109 criterion -> criterion.getAudioAttributes().getUsage()); in getExcludeUsages() 115 criterion -> criterion.getIntProp()); in getExcludeUids() 121 .filter(criterion -> criterion.getRule() == rule) in getIntPredicates()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMixingRule.java | 150 for (AudioMixMatchCriterion criterion : mCriteria) { in isAffectingUsage() 151 if ((criterion.mRule & RULE_MATCH_ATTRIBUTE_USAGE) != 0 in isAffectingUsage() 152 && criterion.mAttr != null in isAffectingUsage() 153 && criterion.mAttr.getUsage() == usage) { in isAffectingUsage() 450 final AudioMixMatchCriterion criterion = crIterator.next(); in addRuleInternal() local 452 if ((criterion.mRule & ~RULE_EXCLUSION_MASK) != match_rule) { in addRuleInternal() 458 if (criterion.mAttr.getUsage() == attrToMatch.getUsage()) { in addRuleInternal() 459 if (criterion.mRule == rule) { in addRuleInternal() 472 … if (criterion.mAttr.getCapturePreset() == attrToMatch.getCapturePreset()) { in addRuleInternal() 473 if (criterion.mRule == rule) { in addRuleInternal() [all …]
|
D | AudioPolicyConfig.java | 104 for (AudioMixMatchCriterion criterion : criteria) { in writeToParcel() 105 criterion.writeToParcel(dest); in writeToParcel() 174 for (AudioMixMatchCriterion criterion : criteria) { in toLogFriendlyString() 175 switch(criterion.mRule) { in toLogFriendlyString() 178 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString() 182 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString() 186 textDump += criterion.mAttr.getCapturePreset(); in toLogFriendlyString() 190 textDump += criterion.mAttr.getCapturePreset(); in toLogFriendlyString() 194 textDump += criterion.mIntProp; in toLogFriendlyString() 198 textDump += criterion.mIntProp; in toLogFriendlyString()
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | domainGeneratorPolicy.py | 51 <criterion name="" type=""/> \ 118 for criterion in criteria_root.findall('criterion'): 119 criterion_name = criterion.get('name') 120 type_name = criterion.get('type') 185 for criterion in all_criteria: 186 yield ["createSelectionCriterion", criterion['inclusive'], 187 criterion['name']] + criterion['values']
|
D | buildPolicyCriterionTypes.py | 52 audio criterion type file generator.\n\
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 183 for (auto& criterion : configCriteria) { in loadAudioPolicyEngineConfig() local 186 if (configCriterionType.name == criterion.typeName) { in loadAudioPolicyEngineConfig() 192 criterion.name.c_str()); in loadAudioPolicyEngineConfig() 193 mPolicyParameterMgr->addCriterion(criterion.name, criterionType.isInclusive, in loadAudioPolicyEngineConfig() 195 criterion.defaultLiteralValue); in loadAudioPolicyEngineConfig()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 49 for (const auto &criterion : mCriteria) { in dump() local 53 bool unknownRule = !RuleTypeConverter::toString(criterion.mRule, ruleType); in dump() 54 switch (criterion.mRule & ~RULE_EXCLUSION_MASK) { // no need to match RULE_EXCLUDE_... in dump() 56 UsageTypeConverter::toString(criterion.mValue.mUsage, ruleValue); in dump() 59 SourceTypeConverter::toString(criterion.mValue.mSource, ruleValue); in dump() 62 ruleValue = std::to_string(criterion.mValue.mUid); in dump() 71 dst->appendFormat("Unknown rule type value 0x%x\n", criterion.mRule); in dump()
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 106 AudioMixMatchCriterion criterion; in readFromParcel() local 107 if (criterion.readFromParcel(parcel) == NO_ERROR) { in readFromParcel() 108 mCriteria.add(criterion); in readFromParcel()
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGenerator.cpp | 279 const AccuracyCriterion& criterion) { in expectNear() argument 292 double tolerableRange = criterion.atol + criterion.rtol * std::fabs(expected); in expectNear() 319 EXPECT_LE(std::fabs(bias), criterion.bias); in expectNear() 320 EXPECT_LE(mse, criterion.mse); in expectNear()
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/ |
D | ParameterManagerWrapper.h | 190 bool isValueValidForCriterion(ISelectionCriterionInterface *criterion, int valueToCheck);
|