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.cpp49 uint32_t cmdSize; in commandReceiveTask() local
63 if (stream->receive(&cmdSize, sizeof(uint32_t)) < 0) { in commandReceiveTask()
66 cmdSize = ntohl(cmdSize); in commandReceiveTask()
69 if (cmdBufSize < cmdSize) { in commandReceiveTask()
71 cmdBufSize = cmdSize; in commandReceiveTask()
72 cmdBuf = malloc(cmdSize); in commandReceiveTask()
78 if (stream->receive(cmdBuf, cmdSize) < 0) { in commandReceiveTask()
82 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.cpp227 uint32_t cmdSize, in command() argument
247 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.c389 static int Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Downmix_Command() argument
402 ALOGV("Downmix_Command command %d cmdSize %d",cmdCode, cmdSize); in Downmix_Command()
413 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Downmix_Command()
428 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Downmix_Command()
444 "pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
445 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Downmix_Command()
489 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
498 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Downmix_Command()
510 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
DEffectDownmix.h84 uint32_t cmdSize,
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp644 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Equalizer_command() argument
656 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize); in Equalizer_command()
666 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Equalizer_command()
683 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
702 cmdSize, pCmdData, *replySize, pReplyData); in Equalizer_command()
703 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
DEffectReverb.c296 static int Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Reverb_Command() argument
309 ALOGV("Reverb_Command command %d cmdSize %d",cmdCode, cmdSize); in Reverb_Command()
322 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Reverb_Command()
341 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Reverb_Command()
354 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command()
355 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Reverb_Command()
386 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
393 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Reverb_Command()
402 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
DEffectReverb.h319 uint32_t cmdSize,
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp356 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Visualizer_command() argument
376 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Visualizer_command()
417 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || in Visualizer_command()
449 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || in Visualizer_command()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1333 uint32_t cmdSize, in PreProcessingFx_Command() argument
1361 cmdSize != sizeof(effect_config_t)|| in PreProcessingFx_Command()
1403 cmdSize != sizeof(effect_config_t) || in PreProcessingFx_Command()
1435 cmdSize < (int)sizeof(effect_param_t) || in PreProcessingFx_Command()
1460 cmdSize < (int)sizeof(effect_param_t) || in PreProcessingFx_Command()
1500 cmdSize != sizeof(uint32_t)) { in PreProcessingFx_Command()
1517 if (pCmdData == NULL|| cmdSize != sizeof(uint32_t) || in PreProcessingFx_Command()
1549 char *path = strndup((char *)pCmdData, cmdSize); in PreProcessingFx_Command()
1582 if (pCmdData == NULL|| cmdSize != 2 * sizeof(uint32_t) || in PreProcessingFx_Command()
1624 if (pCmdData == NULL|| cmdSize != sizeof(uint32_t) || in PreProcessingFx_Command()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp2737 uint32_t cmdSize, in Effect_command() argument
2804 cmdSize != sizeof(effect_config_t)|| in Effect_command()
2837 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
2868 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
2900 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
2932 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
2971 cmdSize != (int)(sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int16_t))|| in Effect_command()
3004 cmdSize != (int)(sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int16_t))|| in Effect_command()
3038 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
3058 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.cpp1917 uint32_t cmdSize, in Reverb_command() argument
1951 cmdSize != sizeof(effect_config_t) || in Reverb_command()
1983 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Reverb_command()
2021 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Reverb_command()
2093 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/av/services/audioflinger/
DAudioFlinger.h1495 uint32_t cmdSize,
1596 uint32_t cmdSize,
1615 uint32_t cmdSize,
DAudioFlinger.cpp8435 uint32_t cmdSize, in command() argument
8448 cmdSize, in command()
8457 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
8870 uint32_t cmdSize, in command() argument
8942 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
8958 uint32_t cmdSize, in commandExecuted() argument
8964 mEffectClient->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1211 private native final int native_command(int cmdCode, int cmdSize, in native_command() argument