Searched refs:refAttr (Results 1 – 2 of 2) sorted by relevance
329 private static boolean attributesMatches(@NonNull AudioAttributes refAttr, in attributesMatches() argument331 Preconditions.checkNotNull(refAttr, "refAttr must not be null"); in attributesMatches()333 String refFormattedTags = TextUtils.join(";", refAttr.getTags()); in attributesMatches()335 if (refAttr.equals(sDefaultAttributes)) { in attributesMatches()338 return ((refAttr.getUsage() == AudioAttributes.USAGE_UNKNOWN) in attributesMatches()339 || (attr.getUsage() == refAttr.getUsage())) in attributesMatches()340 && ((refAttr.getContentType() == AudioAttributes.CONTENT_TYPE_UNKNOWN) in attributesMatches()341 || (attr.getContentType() == refAttr.getContentType())) in attributesMatches()342 && ((refAttr.getAllFlags() == 0) in attributesMatches()344 && (attr.getAllFlags() & refAttr.getAllFlags()) == refAttr.getAllFlags())) in attributesMatches()
1480 auto iter = std::find_if(begin(attrVect), end(attrVect), [&attr](const auto &refAttr) { in attributesToStreamType() argument1482 refAttr.getAttributes(), attr); }); in attributesToStreamType()