Home
last modified time | relevance | path

Searched refs:numSurroundFormats (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp959 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats() argument
964 if (numSurroundFormats == NULL || (*numSurroundFormats != 0 && in getSurroundFormats()
970 unsigned int numSurroundFormatsReq = *numSurroundFormats; in getSurroundFormats()
975 *numSurroundFormats = reply.readUint32(); in getSurroundFormats()
978 if (numSurroundFormatsReq > *numSurroundFormats) { in getSurroundFormats()
979 numSurroundFormatsReq = *numSurroundFormats; in getSurroundFormats()
2137 unsigned int numSurroundFormats = numSurroundFormatsReq; in onTransact() local
2139 numSurroundFormats, sizeof(audio_format_t)); in onTransact()
2140 bool *surroundFormatsEnabled = (bool *)calloc(numSurroundFormats, sizeof(bool)); in onTransact()
2149 &numSurroundFormats, surroundFormats, surroundFormatsEnabled, reported); in onTransact()
[all …]
DAudioSystem.cpp1409 status_t AudioSystem::getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats() argument
1417 numSurroundFormats, surroundFormats, surroundFormatsEnabled, reported); in getSurroundFormats()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp2153 unsigned int numSurroundFormats = 0; in android_media_AudioSystem_getSurroundFormats() local
2157 &numSurroundFormats, surroundFormats, surroundFormatsEnabled, reported); in android_media_AudioSystem_getSurroundFormats()
2163 if (numSurroundFormats == 0) { in android_media_AudioSystem_getSurroundFormats()
2167 surroundFormats = (audio_format_t *)calloc(numSurroundFormats, sizeof(audio_format_t)); in android_media_AudioSystem_getSurroundFormats()
2168 surroundFormatsEnabled = (bool *)calloc(numSurroundFormats, sizeof(bool)); in android_media_AudioSystem_getSurroundFormats()
2170 &numSurroundFormats, surroundFormats, surroundFormatsEnabled, reported); in android_media_AudioSystem_getSurroundFormats()
2176 for (size_t i = 0; i < numSurroundFormats; i++) { in android_media_AudioSystem_getSurroundFormats()
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h206 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats,
DAudioSystem.h376 static status_t getSurroundFormats(unsigned int *numSurroundFormats,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h256 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1231 status_t AudioPolicyService::getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats() argument
1241 return mAudioPolicyManager->getSurroundFormats(numSurroundFormats, surroundFormats, in getSurroundFormats()
DAudioPolicyService.h248 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h281 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats,
DAudioPolicyManager.cpp4098 status_t AudioPolicyManager::getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats() argument
4103 if (numSurroundFormats == NULL || (*numSurroundFormats != 0 && in getSurroundFormats()
4108 __func__, *numSurroundFormats, surroundFormats, surroundFormatsEnabled, reported); in getSurroundFormats()
4111 size_t formatsMax = *numSurroundFormats; in getSurroundFormats()
4138 *numSurroundFormats = formats.size(); in getSurroundFormats()