Home
last modified time | relevance | path

Searched refs:criterion (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java638 String getString(int criterion) { in getString() argument
639 return (String) mSelectorAttributes.get(criterion, null); in getString()
642 boolean getBoolean(int criterion) { in getBoolean() argument
643 return (Boolean) mSelectorAttributes.get(criterion, false); in getBoolean()
646 int getInt(int criterion) { in getInt() argument
647 return (Integer) mSelectorAttributes.get(criterion, 0); in getInt()
650 Pattern getPattern(int criterion) { in getPattern() argument
651 return (Pattern) mSelectorAttributes.get(criterion, null); in getPattern()
658 int criterion = mSelectorAttributes.keyAt(x); in isMatchFor() local
659 switch(criterion) { in isMatchFor()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp263 ISelectionCriterionInterface *criterion = in addCriterion() local
266 mPolicyCriteria[name] = criterion; in addCriterion()
272 criterion->setCriterionState(numericalValue); in addCriterion()
338 ISelectionCriterionInterface *criterion = mPolicyCriteria[gPhoneStateCriterionTag]; in setPhoneState() local
339 if (!isValueValidForCriterion(criterion, static_cast<int>(mode))) { in setPhoneState()
342 criterion->setCriterionState((int)(mode)); in setPhoneState()
349 const ISelectionCriterionInterface *criterion = in getPhoneState() local
351 return static_cast<audio_mode_t>(criterion->getCriterionState()); in getPhoneState()
362 ISelectionCriterionInterface *criterion = mPolicyCriteria[gForceUseCriterionTag[usage]]; in setForceUse() local
363 if (!isValueValidForCriterion(criterion, static_cast<int>(config))) { in setForceUse()
[all …]
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java91 for (AttributeMatchCriterion criterion : criteria) { in writeToParcel()
92 criterion.writeToParcel(dest); in writeToParcel()
154 for (AttributeMatchCriterion criterion : criteria) { in toLogFriendlyString()
155 switch(criterion.mRule) { in toLogFriendlyString()
158 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
162 textDump += criterion.mAttr.usageToString(); in toLogFriendlyString()
166 textDump += criterion.mAttr.getCapturePreset(); in toLogFriendlyString()
170 textDump += criterion.mAttr.getCapturePreset(); in toLogFriendlyString()
DAudioMixingRule.java235 final AttributeMatchCriterion criterion = crIterator.next(); in addRuleInt() local
239 if (criterion.mAttr.getUsage() == attrToMatch.getUsage()) { in addRuleInt()
240 if (criterion.mRule == rule) { in addRuleInt()
252 if (criterion.mAttr.getCapturePreset() == attrToMatch.getCapturePreset()) { in addRuleInt()
253 if (criterion.mRule == rule) { in addRuleInt()
/frameworks/av/media/libmedia/
DAudioPolicy.cpp77 AttributeMatchCriterion criterion; in readFromParcel() local
78 if (criterion.readFromParcel(parcel) == NO_ERROR) { in readFromParcel()
79 mCriteria.add(criterion); in readFromParcel()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h263 bool isValueValidForCriterion(ISelectionCriterionInterface *criterion, int valueToCheck);
/frameworks/base/docs/html/tools/help/uiautomator/
DUiSelector.jd1055 <ul class="nolist"><li>UiSelector with this added search criterion</li></ul>
1618 <ul class="nolist"><li>UiSelector with this added search criterion</li></ul>