Lines Matching refs:profile
171 ssize_t AudioProfileVector::add(const sp<AudioProfile> &profile) in add() argument
174 push_back(profile); in add()
192 for (const auto &profile : *this) { in getFirstValidProfile()
193 if (profile->isValid()) { in getFirstValidProfile()
194 return profile; in getFirstValidProfile()
202 for (const auto &profile : *this) { in getFirstValidProfileFor()
203 if (profile->isValid() && profile->getFormat() == format) { in getFirstValidProfileFor()
204 return profile; in getFirstValidProfileFor()
213 for (const auto &profile : *this) { in getSupportedFormats()
214 if (profile->hasValidFormat()) { in getSupportedFormats()
215 supportedFormats.push_back(profile->getFormat()); in getSupportedFormats()
223 for (const auto &profile : *this) { in hasDynamicChannelsFor()
224 if (profile->getFormat() == format && profile->isDynamicChannels()) { in hasDynamicChannelsFor()
233 for (const auto &profile : *this) { in hasDynamicFormat()
234 if (profile->isDynamicFormat()) { in hasDynamicFormat()
243 for (const auto &profile : *this) { in hasDynamicProfile()
244 if (profile->isDynamic()) { in hasDynamicProfile()
253 for (const auto &profile : *this) { in hasDynamicRateFor()
254 if (profile->getFormat() == format && profile->isDynamicRate()) { in hasDynamicRateFor()