Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp35 void sortAudioProfiles(AudioProfileVector &audioProfileVector) { in sortAudioProfiles() argument
36 std::sort(audioProfileVector.begin(), audioProfileVector.end(), in sortAudioProfiles()
43 ssize_t addAudioProfileAndSort(AudioProfileVector &audioProfileVector, in addAudioProfileAndSort() argument
46 ssize_t ret = audioProfileVector.add(profile); in addAudioProfileAndSort()
48 sortAudioProfiles(audioProfileVector); in addAudioProfileAndSort()
52 sp<AudioProfile> getAudioProfileForFormat(const AudioProfileVector &audioProfileVector, in getAudioProfileForFormat() argument
55 for (const auto &profile : audioProfileVector) { in getAudioProfileForFormat()
63 void setSampleRatesForAudioProfiles(AudioProfileVector &audioProfileVector, in setSampleRatesForAudioProfiles() argument
67 for (const auto &profile : audioProfileVector) { in setSampleRatesForAudioProfiles()
74 addAudioProfileAndSort(audioProfileVector, profileToAdd); in setSampleRatesForAudioProfiles()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfileVectorHelper.h24 void sortAudioProfiles(AudioProfileVector &audioProfileVector);
26 ssize_t addAudioProfileAndSort(AudioProfileVector &audioProfileVector,
30 void addProfilesForFormats(AudioProfileVector &audioProfileVector,
35 void addDynamicAudioProfileAndSort(AudioProfileVector &audioProfileVector,
38 void appendAudioProfiles(AudioProfileVector &audioProfileVector,
41 status_t checkExactProfile(const AudioProfileVector &audioProfileVector,
46 status_t checkCompatibleProfile(const AudioProfileVector &audioProfileVector,
59 const AudioProfileVector &audioProfileVector,