Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h78 static int compareFormats(const audio_format_t *format1, const audio_format_t *format2) { in compareFormats() function
79 return compareFormats(*format1, *format2); in compareFormats()
81 static int compareFormats(audio_format_t format1, audio_format_t format2);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp208 mFormats.sort(compareFormats); in loadFormats()
675 int AudioPort::compareFormats(audio_format_t format1, in compareFormats() function in android::AudioPort
726 if ((compareFormats(mFormats[i], format) > 0) && in pickFormat()
727 (compareFormats(mFormats[i], bestFormat) <= 0)) { in pickFormat()