Searched refs:criterion (Results 1 – 7 of 7) sorted by relevance
638 String getString(int criterion) { in getString() argument639 return (String) mSelectorAttributes.get(criterion, null); in getString()642 boolean getBoolean(int criterion) { in getBoolean() argument643 return (Boolean) mSelectorAttributes.get(criterion, false); in getBoolean()646 int getInt(int criterion) { in getInt() argument647 return (Integer) mSelectorAttributes.get(criterion, 0); in getInt()650 Pattern getPattern(int criterion) { in getPattern() argument651 return (Pattern) mSelectorAttributes.get(criterion, null); in getPattern()658 int criterion = mSelectorAttributes.keyAt(x); in isMatchFor() local659 switch(criterion) { in isMatchFor()[all …]
263 ISelectionCriterionInterface *criterion = in addCriterion() local266 mPolicyCriteria[name] = criterion; in addCriterion()272 criterion->setCriterionState(numericalValue); in addCriterion()338 ISelectionCriterionInterface *criterion = mPolicyCriteria[gPhoneStateCriterionTag]; in setPhoneState() local339 if (!isValueValidForCriterion(criterion, static_cast<int>(mode))) { in setPhoneState()342 criterion->setCriterionState((int)(mode)); in setPhoneState()349 const ISelectionCriterionInterface *criterion = in getPhoneState() local351 return static_cast<audio_mode_t>(criterion->getCriterionState()); in getPhoneState()362 ISelectionCriterionInterface *criterion = mPolicyCriteria[gForceUseCriterionTag[usage]]; in setForceUse() local363 if (!isValueValidForCriterion(criterion, static_cast<int>(config))) { in setForceUse()[all …]
91 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()
235 final AttributeMatchCriterion criterion = crIterator.next(); in addRuleInt() local239 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()
77 AttributeMatchCriterion criterion; in readFromParcel() local78 if (criterion.readFromParcel(parcel) == NO_ERROR) { in readFromParcel()79 mCriteria.add(criterion); in readFromParcel()
263 bool isValueValidForCriterion(ISelectionCriterionInterface *criterion, int valueToCheck);
1055 <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>