Searched refs:refAttributes (Results 1 – 2 of 2) sorted by relevance
74 bool AudioProductStrategy::attributesMatches(const audio_attributes_t refAttributes, in attributesMatches() argument77 if (refAttributes == AUDIO_ATTRIBUTES_INITIALIZER) { in attributesMatches()84 return ((refAttributes.usage == AUDIO_USAGE_UNKNOWN) || in attributesMatches()85 (clientAttritubes.usage == refAttributes.usage)) && in attributesMatches()86 ((refAttributes.content_type == AUDIO_CONTENT_TYPE_UNKNOWN) || in attributesMatches()87 (clientAttritubes.content_type == refAttributes.content_type)) && in attributesMatches()88 ((refAttributes.flags == AUDIO_FLAG_NONE) || in attributesMatches()90 (clientAttritubes.flags & refAttributes.flags) == refAttributes.flags)) && in attributesMatches()91 ((strlen(refAttributes.tags) == 0) || in attributesMatches()92 (std::strcmp(clientAttritubes.tags, refAttributes.tags) == 0)); in attributesMatches()
55 static bool attributesMatches(const audio_attributes_t refAttributes,