Searched refs:profileIndex (Results 1 – 2 of 2) sorted by relevance
76 for (size_t profileIndex = 0; profileIndex < mProfiles.size(); profileIndex++) { in toAudioPort() local77 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() local139 if (*mProfiles[profileIndex] == *profileToImport) { in importAudioPort()
174 for (size_t profileIndex = 0; profileIndex < size(); profileIndex++) { in addProfileFromHal() local175 const sp<AudioProfile> &profile = itemAt(profileIndex); in addProfileFromHal()178 return profileIndex; in addProfileFromHal()