Home
last modified time | relevance | path

Searched refs:hasValidRates (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()
101 bool hasValidRates() const { return !mSamplingRates.isEmpty(); } in hasValidRates() 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()
581 if (profile->hasValidRates()) { in setSampleRatesFor()