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