Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp76 for (size_t profileIndex = 0; profileIndex < mProfiles.size(); profileIndex++) { in toAudioPort() local
77 if (mProfiles[profileIndex]->isValid()) { in toAudioPort()
78 audio_format_t formatToExport = mProfiles[profileIndex]->getFormat(); in toAudioPort()
79 const SampleRateVector &ratesToExport = mProfiles[profileIndex]->getSampleRates(); in toAudioPort()
80 const ChannelsVector &channelsToExport = mProfiles[profileIndex]->getChannels(); in toAudioPort()
138 for (size_t profileIndex = 0; profileIndex < mProfiles.size(); profileIndex++) { in importAudioPort() local
139 if (*mProfiles[profileIndex] == *profileToImport) { in importAudioPort()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h174 for (size_t profileIndex = 0; profileIndex < size(); profileIndex++) { in addProfileFromHal() local
175 const sp<AudioProfile> &profile = itemAt(profileIndex); in addProfileFromHal()
178 return profileIndex; in addProfileFromHal()