Home
last modified time | relevance | path

Searched refs:cmdSize (Results 1 – 24 of 24) 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()
154 uint32_t cmdSize = data.readInt32(); in onTransact() local
156 if (cmdSize) { in onTransact()
157 cmd = (char *)calloc(cmdSize, 1); in onTransact()
158 data.read(cmd, cmdSize); in onTransact()
166 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); in onTransact()
DAudioEffect.cpp233 uint32_t cmdSize, in command() argument
253 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); in command()
395 uint32_t cmdSize __unused, in commandExecuted()
/frameworks/av/include/media/
DAudioEffect.h383 uint32_t cmdSize,
424 uint32_t cmdSize,
453 uint32_t cmdSize, in commandExecuted() argument
460 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h35 uint32_t cmdSize,
DIEffect.h37 uint32_t cmdSize,
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c356 static int Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Downmix_Command() argument
369 ALOGV("Downmix_Command command %" PRIu32 " cmdSize %" PRIu32, cmdCode, cmdSize); in Downmix_Command()
380 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Downmix_Command()
395 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Downmix_Command()
411 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
412 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Downmix_Command()
456 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
465 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Downmix_Command()
477 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
DEffectDownmix.h81 uint32_t cmdSize,
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp626 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Equalizer_command() argument
638 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize); in Equalizer_command()
648 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Equalizer_command()
665 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
684 cmdSize, pCmdData, *replySize, pReplyData); in Equalizer_command()
685 if (pCmdData == NULL || cmdSize < (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/media/libeffects/proxy/
DEffectProxy.cpp202 uint32_t cmdSize, in Effect_command() argument
244 if (cmdSize == 0 || pCmdData == NULL) { in Effect_command()
267 pContext->eHandle[SUB_FX_OFFLOAD], cmdCode, cmdSize, in Effect_command()
327 pContext->eHandle[i], cmdCode, cmdSize, in Effect_command()
DEffectProxy.h48 uint32_t cmdSize,
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp310 int LE_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in LE_command() argument
329 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in LE_command()
370 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || in LE_command()
396 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || in LE_command()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1339 uint32_t cmdSize, in PreProcessingFx_Command() argument
1367 cmdSize != sizeof(effect_config_t)|| in PreProcessingFx_Command()
1409 cmdSize != sizeof(effect_config_t) || in PreProcessingFx_Command()
1442 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in PreProcessingFx_Command()
1443 cmdSize < (sizeof(effect_param_t) + p->psize) || in PreProcessingFx_Command()
1467 cmdSize < sizeof(effect_param_t) || in PreProcessingFx_Command()
1507 cmdSize != sizeof(uint32_t)) { in PreProcessingFx_Command()
1524 if (pCmdData == NULL|| cmdSize != sizeof(uint32_t) || in PreProcessingFx_Command()
1556 char *path = strndup((char *)pCmdData, cmdSize); in PreProcessingFx_Command()
1589 if (pCmdData == NULL|| cmdSize != 2 * sizeof(uint32_t) || in PreProcessingFx_Command()
[all …]
/frameworks/av/services/audioflinger/
DEffects.h65 uint32_t cmdSize,
180 uint32_t cmdSize,
199 uint32_t cmdSize,
DEffects.cpp547 uint32_t cmdSize, in command() argument
563 cmdSize, in command()
572 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1203 uint32_t cmdSize, in command() argument
1280 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
1296 uint32_t cmdSize, in commandExecuted() argument
1302 mEffectClient->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp413 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Visualizer_command() argument
433 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Visualizer_command()
474 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || in Visualizer_command()
512 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || in Visualizer_command()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp664 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument
677 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) { in android_media_AudioEffect_native_command()
682 if (cmdSize != 0) { in android_media_AudioEffect_native_command()
700 (uint32_t)cmdSize, in android_media_AudioEffect_native_command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1896 uint32_t cmdSize, in Reverb_command() argument
1929 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in Reverb_command()
1960 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in Reverb_command()
1961 cmdSize < (sizeof(effect_param_t) + p->psize) || in Reverb_command()
1998 if (pCmdData == NULL || (cmdSize < (sizeof(effect_param_t) + sizeof(int32_t))) || in Reverb_command()
2070 cmdSize != 2 * sizeof(uint32_t)) { in Reverb_command()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp2998 uint32_t cmdSize, in Effect_command() argument
3064 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in Effect_command()
3095 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in Effect_command()
3096 cmdSize < (sizeof(effect_param_t) + p->psize) || in Effect_command()
3174 cmdSize != (sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int16_t)) || in Effect_command()
3208 cmdSize > (sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int32_t)) || in Effect_command()
3209 cmdSize < (sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int16_t)) || in Effect_command()
3242 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
3262 cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
3393 if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t) || pReplyData == NULL || in Effect_command()
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c101 uint32_t cmdSize, in Effect_Command() argument
119 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1240 private native final int native_command(int cmdCode, int cmdSize, in native_command() argument