Home
last modified time | relevance | path

Searched refs:refAttributes (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioclient/
DAudioProductStrategy.cpp66 bool AudioProductStrategy::attributesMatches(const audio_attributes_t refAttributes, in attributesMatches() argument
69 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()
/frameworks/av/media/libaudioclient/include/media/
DAudioProductStrategy.h57 static bool attributesMatches(const audio_attributes_t refAttributes,