Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp955 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats() argument
960 if (numSurroundFormats == NULL || (*numSurroundFormats != 0 && in getSurroundFormats()
966 unsigned int numSurroundFormatsReq = *numSurroundFormats; in getSurroundFormats()
971 *numSurroundFormats = reply.readUint32(); in getSurroundFormats()
974 if (numSurroundFormatsReq > *numSurroundFormats) { in getSurroundFormats()
975 numSurroundFormatsReq = *numSurroundFormats; in getSurroundFormats()
2072 unsigned int numSurroundFormats = numSurroundFormatsReq; in onTransact() local
2074 numSurroundFormats, sizeof(audio_format_t)); in onTransact()
2075 bool *surroundFormatsEnabled = (bool *)calloc(numSurroundFormats, sizeof(bool)); in onTransact()
2084 &numSurroundFormats, surroundFormats, surroundFormatsEnabled, reported); in onTransact()
[all …]
DAudioSystem.cpp1395 status_t AudioSystem::getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats() argument
1403 numSurroundFormats, surroundFormats, surroundFormatsEnabled, reported); in getSurroundFormats()
/frameworks/av/include/media/
DIAudioPolicyService.h204 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats,
DAudioSystem.h374 static status_t getSurroundFormats(unsigned int *numSurroundFormats,
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h204 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats,
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp2151 unsigned int numSurroundFormats = 0; in android_media_AudioSystem_getSurroundFormats() local
2155 &numSurroundFormats, surroundFormats, surroundFormatsEnabled, reported); in android_media_AudioSystem_getSurroundFormats()
2161 if (numSurroundFormats == 0) { in android_media_AudioSystem_getSurroundFormats()
2165 surroundFormats = (audio_format_t *)calloc(numSurroundFormats, sizeof(audio_format_t)); in android_media_AudioSystem_getSurroundFormats()
2166 surroundFormatsEnabled = (bool *)calloc(numSurroundFormats, sizeof(bool)); in android_media_AudioSystem_getSurroundFormats()
2168 &numSurroundFormats, surroundFormats, surroundFormatsEnabled, reported); in android_media_AudioSystem_getSurroundFormats()
2174 for (size_t i = 0; i < numSurroundFormats; i++) { in android_media_AudioSystem_getSurroundFormats()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h250 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1223 status_t AudioPolicyService::getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats() argument
1233 return mAudioPolicyManager->getSurroundFormats(numSurroundFormats, surroundFormats, in getSurroundFormats()
DAudioPolicyService.h237 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h273 virtual status_t getSurroundFormats(unsigned int *numSurroundFormats,
DAudioPolicyManager.cpp4005 status_t AudioPolicyManager::getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats() argument
4010 if (numSurroundFormats == NULL || (*numSurroundFormats != 0 && in getSurroundFormats()
4015 __func__, *numSurroundFormats, surroundFormats, surroundFormatsEnabled, reported); in getSurroundFormats()
4018 size_t formatsMax = *numSurroundFormats; in getSurroundFormats()
4045 *numSurroundFormats = formats.size(); in getSurroundFormats()