Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h85 bool isValid() const { return hasValidFormat() && hasValidRates() && hasValidChannels(); } in isValid()
102 bool hasValidChannels() const { return !mChannelMasks.isEmpty(); } in hasValidChannels() function
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp311 if (!profileToAdd->hasValidChannels() && !profileToAdd->hasValidRates()) { in addProfileFromHal()
317 if (!profileToAdd->hasValidChannels() && profileToAdd->hasValidRates()) { in addProfileFromHal()
321 if (profileToAdd->hasValidChannels() && !profileToAdd->hasValidRates()) { in addProfileFromHal()
600 if (profile->hasValidChannels()) { in setChannelsFor()