Lines Matching refs:numSurroundFormats

1999     unsigned int numSurroundFormats = VALUE_OR_RETURN_BINDER_STATUS(  in getSurroundFormats()  local
2001 if (numSurroundFormats > MAX_ITEMS_PER_LIST) { in getSurroundFormats()
2002 numSurroundFormats = MAX_ITEMS_PER_LIST; in getSurroundFormats()
2004 unsigned int numSurroundFormatsReq = numSurroundFormats; in getSurroundFormats()
2005 std::unique_ptr<audio_format_t[]>surroundFormats(new audio_format_t[numSurroundFormats]); in getSurroundFormats()
2006 std::unique_ptr<bool[]>surroundFormatsEnabled(new bool[numSurroundFormats]); in getSurroundFormats()
2014 mAudioPolicyManager->getSurroundFormats(&numSurroundFormats, surroundFormats.get(), in getSurroundFormats()
2016 numSurroundFormatsReq = std::min(numSurroundFormats, numSurroundFormatsReq); in getSurroundFormats()
2025 count->value = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<uint32_t>(numSurroundFormats)); in getSurroundFormats()
2031 unsigned int numSurroundFormats = VALUE_OR_RETURN_BINDER_STATUS( in getReportedSurroundFormats() local
2033 if (numSurroundFormats > MAX_ITEMS_PER_LIST) { in getReportedSurroundFormats()
2034 numSurroundFormats = MAX_ITEMS_PER_LIST; in getReportedSurroundFormats()
2036 unsigned int numSurroundFormatsReq = numSurroundFormats; in getReportedSurroundFormats()
2037 std::unique_ptr<audio_format_t[]>surroundFormats(new audio_format_t[numSurroundFormats]); in getReportedSurroundFormats()
2046 &numSurroundFormats, surroundFormats.get()))); in getReportedSurroundFormats()
2047 numSurroundFormatsReq = std::min(numSurroundFormats, numSurroundFormatsReq); in getReportedSurroundFormats()
2052 count->value = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<uint32_t>(numSurroundFormats)); in getReportedSurroundFormats()