Lines Matching refs:numSurroundFormats
1833 unsigned int numSurroundFormats = VALUE_OR_RETURN_BINDER_STATUS( in getSurroundFormats() local
1835 if (numSurroundFormats > MAX_ITEMS_PER_LIST) { in getSurroundFormats()
1836 numSurroundFormats = MAX_ITEMS_PER_LIST; in getSurroundFormats()
1838 unsigned int numSurroundFormatsReq = numSurroundFormats; in getSurroundFormats()
1839 std::unique_ptr<audio_format_t[]>surroundFormats(new audio_format_t[numSurroundFormats]); in getSurroundFormats()
1840 std::unique_ptr<bool[]>surroundFormatsEnabled(new bool[numSurroundFormats]); in getSurroundFormats()
1848 mAudioPolicyManager->getSurroundFormats(&numSurroundFormats, surroundFormats.get(), in getSurroundFormats()
1850 numSurroundFormatsReq = std::min(numSurroundFormats, numSurroundFormatsReq); in getSurroundFormats()
1858 count->value = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<uint32_t>(numSurroundFormats)); in getSurroundFormats()
1864 unsigned int numSurroundFormats = VALUE_OR_RETURN_BINDER_STATUS( in getReportedSurroundFormats() local
1866 if (numSurroundFormats > MAX_ITEMS_PER_LIST) { in getReportedSurroundFormats()
1867 numSurroundFormats = MAX_ITEMS_PER_LIST; in getReportedSurroundFormats()
1869 unsigned int numSurroundFormatsReq = numSurroundFormats; in getReportedSurroundFormats()
1870 std::unique_ptr<audio_format_t[]>surroundFormats(new audio_format_t[numSurroundFormats]); in getReportedSurroundFormats()
1879 &numSurroundFormats, surroundFormats.get()))); in getReportedSurroundFormats()
1880 numSurroundFormatsReq = std::min(numSurroundFormats, numSurroundFormatsReq); in getReportedSurroundFormats()
1884 count->value = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<uint32_t>(numSurroundFormats)); in getReportedSurroundFormats()