Home
last modified time | relevance | path

Searched refs:cmdSize (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_eglapi.cpp52 uint32_t cmdSize; in commandReceiveTask() local
66 if (stream->receive(&cmdSize, sizeof(uint32_t)) < 0) { in commandReceiveTask()
69 cmdSize = ntohl(cmdSize); in commandReceiveTask()
72 if (cmdBufSize < cmdSize) { in commandReceiveTask()
74 cmdBufSize = cmdSize; in commandReceiveTask()
75 cmdBuf = malloc(cmdSize); in commandReceiveTask()
81 if (stream->receive(cmdBuf, cmdSize) < 0) { in commandReceiveTask()
85 if (cmdSize != sizeof(uint32_t)) { in commandReceiveTask()
/frameworks/av/media/libmedia/
DIEffectClient.cpp60 uint32_t cmdSize, in commandExecuted() argument
69 int size = cmdSize; in commandExecuted()
116 uint32_t cmdSize = data.readInt32(); in onTransact() local
118 if (cmdSize) { in onTransact()
119 cmd = (char *)malloc(cmdSize); in onTransact()
120 data.read(cmd, cmdSize); in onTransact()
128 commandExecuted(cmdCode, cmdSize, cmd, replySize, resp); in onTransact()
DIEffect.cpp63 uint32_t cmdSize, in command() argument
72 int size = cmdSize; in command()
151 uint32_t cmdSize = data.readInt32(); in onTransact() local
153 if (cmdSize) { in onTransact()
154 cmd = (char *)malloc(cmdSize); in onTransact()
155 data.read(cmd, cmdSize); in onTransact()
163 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); in onTransact()
DAudioEffect.cpp221 uint32_t cmdSize, in command() argument
241 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); in command()
383 uint32_t cmdSize, in commandExecuted() argument
/frameworks/av/include/media/
DAudioEffect.h374 uint32_t cmdSize,
409 uint32_t cmdSize,
431 uint32_t cmdSize, in commandExecuted() argument
435 mEffect->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h35 uint32_t cmdSize,
DIEffect.h37 uint32_t cmdSize,
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c370 static int Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Downmix_Command() argument
383 ALOGV("Downmix_Command command %d cmdSize %d",cmdCode, cmdSize); in Downmix_Command()
394 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Downmix_Command()
409 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Downmix_Command()
425 "pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
426 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Downmix_Command()
470 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
479 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Downmix_Command()
491 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
DEffectDownmix.h81 uint32_t cmdSize,
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp627 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Equalizer_command() argument
639 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize); in Equalizer_command()
649 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Equalizer_command()
666 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
685 cmdSize, pCmdData, *replySize, pReplyData); in Equalizer_command()
686 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
DEffectReverb.c279 static int Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Reverb_Command() argument
292 ALOGV("Reverb_Command command %d cmdSize %d",cmdCode, cmdSize); in Reverb_Command()
305 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Reverb_Command()
324 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Reverb_Command()
337 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command()
338 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Reverb_Command()
369 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
376 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Reverb_Command()
385 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
DEffectReverb.h316 uint32_t cmdSize,
/frameworks/av/services/audioflinger/
DEffects.h61 uint32_t cmdSize,
167 uint32_t cmdSize,
186 uint32_t cmdSize,
DEffects.cpp516 uint32_t cmdSize, in command() argument
532 cmdSize, in command()
541 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1002 uint32_t cmdSize, in command() argument
1079 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
1095 uint32_t cmdSize, in commandExecuted() argument
1101 mEffectClient->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp339 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Visualizer_command() argument
359 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Visualizer_command()
400 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || in Visualizer_command()
432 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || in Visualizer_command()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1337 uint32_t cmdSize, in PreProcessingFx_Command() argument
1365 cmdSize != sizeof(effect_config_t)|| in PreProcessingFx_Command()
1407 cmdSize != sizeof(effect_config_t) || in PreProcessingFx_Command()
1439 cmdSize < (int)sizeof(effect_param_t) || in PreProcessingFx_Command()
1464 cmdSize < (int)sizeof(effect_param_t) || in PreProcessingFx_Command()
1504 cmdSize != sizeof(uint32_t)) { in PreProcessingFx_Command()
1521 if (pCmdData == NULL|| cmdSize != sizeof(uint32_t) || in PreProcessingFx_Command()
1553 char *path = strndup((char *)pCmdData, cmdSize); in PreProcessingFx_Command()
1586 if (pCmdData == NULL|| cmdSize != 2 * sizeof(uint32_t) || in PreProcessingFx_Command()
1628 if (pCmdData == NULL|| cmdSize != sizeof(uint32_t) || in PreProcessingFx_Command()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp2716 uint32_t cmdSize, in Effect_command() argument
2783 cmdSize != sizeof(effect_config_t)|| in Effect_command()
2816 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
2847 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
2879 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
2911 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
2950 cmdSize != (int)(sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int16_t))|| in Effect_command()
2983 cmdSize != (int)(sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int16_t))|| in Effect_command()
3017 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
3037 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))|| in Effect_command()
[all …]
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp644 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument
660 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) { in android_media_AudioEffect_native_command()
665 if (cmdSize != 0) { in android_media_AudioEffect_native_command()
683 (uint32_t)cmdSize, in android_media_AudioEffect_native_command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1893 uint32_t cmdSize, in Reverb_command() argument
1927 cmdSize != sizeof(effect_config_t) || in Reverb_command()
1959 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Reverb_command()
1997 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Reverb_command()
2069 cmdSize != 2 * sizeof(uint32_t)) { in Reverb_command()
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c90 uint32_t cmdSize, in Effect_Command() argument
108 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1211 private native final int native_command(int cmdCode, int cmdSize, in native_command() argument