Searched refs:refAttributes (Results 1 – 2 of 2) sorted by relevance
66 bool AudioProductStrategy::attributesMatches(const audio_attributes_t refAttributes, in attributesMatches() argument69 if (refAttributes == AUDIO_ATTRIBUTES_INITIALIZER) { in attributesMatches()76 return ((refAttributes.usage == AUDIO_USAGE_UNKNOWN) || in attributesMatches()77 (clientAttritubes.usage == refAttributes.usage)) && in attributesMatches()78 ((refAttributes.content_type == AUDIO_CONTENT_TYPE_UNKNOWN) || in attributesMatches()79 (clientAttritubes.content_type == refAttributes.content_type)) && in attributesMatches()80 ((refAttributes.flags == AUDIO_FLAG_NONE) || in attributesMatches()82 (clientAttritubes.flags & refAttributes.flags) == refAttributes.flags)) && in attributesMatches()83 ((strlen(refAttributes.tags) == 0) || in attributesMatches()84 (std::strcmp(clientAttritubes.tags, refAttributes.tags) == 0)); in attributesMatches()
57 static bool attributesMatches(const audio_attributes_t refAttributes,