Lines Matching refs:attrToMatch
155 * @param attrToMatch a non-null AudioAttributes instance for which a contradictory
163 public Builder addRule(AudioAttributes attrToMatch, int rule)
168 return addRuleInt(attrToMatch, rule);
183 * @param attrToMatch a non-null AudioAttributes instance for which a contradictory
191 public Builder excludeRule(AudioAttributes attrToMatch, int rule)
196 return addRuleInt(attrToMatch, rule | RULE_EXCLUSION_MASK);
201 * @param attrToMatch a non-null AudioAttributes instance for which a contradictory
210 Builder addRuleInt(AudioAttributes attrToMatch, int rule)
212 if (attrToMatch == null) {
239 if (criterion.mAttr.getUsage() == attrToMatch.getUsage()) {
246 + attrToMatch);
252 if (criterion.mAttr.getCapturePreset() == attrToMatch.getCapturePreset()) {
259 + attrToMatch);
265 mCriteria.add(new AttributeMatchCriterion(attrToMatch, rule));