Searched defs:cmdSize (Results 1 - 16 of 16) sorted by relevance

/frameworks/av/media/libmedia/
H A DIEffectClient.cpp60 uint32_t cmdSize,
69 int size = cmdSize;
116 uint32_t cmdSize = data.readInt32(); local
118 if (cmdSize) {
119 cmd = (char *)malloc(cmdSize);
120 data.read(cmd, cmdSize);
128 commandExecuted(cmdCode, cmdSize, cmd, replySize, resp);
59 commandExecuted(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t replySize, void *pReplyData) argument
H A DIEffect.cpp63 uint32_t cmdSize,
72 int size = cmdSize;
151 uint32_t cmdSize = data.readInt32(); local
153 if (cmdSize) {
154 cmd = (char *)malloc(cmdSize);
155 data.read(cmd, cmdSize);
163 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp);
62 command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *pReplySize, void *pReplyData) argument
H A DAudioEffect.cpp221 uint32_t cmdSize,
241 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData);
383 uint32_t cmdSize,
220 command(uint32_t cmdCode, uint32_t cmdSize, void *cmdData, uint32_t *replySize, void *replyData) argument
382 commandExecuted(uint32_t cmdCode, uint32_t cmdSize, void *cmdData, uint32_t replySize, void *replyData) argument
/frameworks/av/include/media/
H A DAudioEffect.h374 uint32_t cmdSize,
409 uint32_t cmdSize,
431 uint32_t cmdSize,
435 mEffect->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData);
430 commandExecuted(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t replySize, void *pReplyData) argument
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_eglapi.cpp52 uint32_t cmdSize; local
66 if (stream->receive(&cmdSize, sizeof(uint32_t)) < 0) {
69 cmdSize = ntohl(cmdSize);
72 if (cmdBufSize < cmdSize) {
74 cmdBufSize = cmdSize;
75 cmdBuf = malloc(cmdSize);
81 if (stream->receive(cmdBuf, cmdSize) < 0) {
85 if (cmdSize != sizeof(uint32_t)) {
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c90 uint32_t cmdSize,
108 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData);
88 Effect_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp627 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
639 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize);
649 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
666 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
684 ALOGV("Equalizer_command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, pReplyData %p",
685 cmdSize, pCmdData, *replySize, pReplyData);
686 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
H A DEffectReverb.c279 static int Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
292 ALOGV("Reverb_Command command %d cmdSize %d",cmdCode, cmdSize);
305 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
324 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
336 ALOGV("Reverb_Command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, pReplyData %p",
337 cmdSize, pCmdData, *replySize, pReplyData);
338 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)))
369 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) {
376 if (pCmdData == NULL || cmdSize !
[all...]
/frameworks/av/media/libeffects/visualizer/
H A DEffectVisualizer.cpp339 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
349 // ALOGV("Visualizer_command command %d cmdSize %d",cmdCode, cmdSize);
359 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
400 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) ||
432 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) ||
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c370 static int Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
383 ALOGV("Downmix_Command command %d cmdSize %d",cmdCode, cmdSize);
394 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
409 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
424 ALOGV("Downmix_Command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, " \
425 "pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData);
426 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)))
470 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) {
479 if (pCmdData == NULL || cmdSize !
[all...]
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp644 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize,
660 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) {
665 if (cmdSize != 0) {
683 (uint32_t)cmdSize,
643 android_media_AudioEffect_native_command(JNIEnv *env, jobject thiz, jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, jbyteArray jReplyData) argument
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp2716 uint32_t cmdSize,
2743 //ALOGV("\tEffect_command INPUTS are: command %d cmdSize %d",cmdCode, cmdSize);
2783 cmdSize != sizeof(effect_config_t)||
2816 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
2847 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
2879 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
2911 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
2950 cmdSize != (int)(sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int16_t))||
2965 //ALOGV("\tnBassBoost_command cmdSize i
2714 Effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp1893 uint32_t cmdSize,
1908 //ALOGV("\tReverb_command INPUTS are: command %d cmdSize %d",cmdCode, cmdSize);
1927 cmdSize != sizeof(effect_config_t) ||
1959 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
1997 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)))
2012 //ALOGV("\tn5Reverb_command cmdSize is %d\n"
2017 // cmdSize, sizeof(effect_param_t), p->psize, p->vsize );
2069 cmdSize != 2 * sizeof(uint32_t)) {
1891 Reverb_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument
/frameworks/av/services/audioflinger/
H A DEffects.cpp516 uint32_t cmdSize,
532 cmdSize,
541 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData);
1002 uint32_t cmdSize,
1079 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData);
1095 uint32_t cmdSize,
1101 mEffectClient->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData);
515 command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument
1001 command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument
1094 commandExecuted(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t replySize, void *pReplyData) argument
/frameworks/base/media/java/android/media/audiofx/
H A DAudioEffect.java1229 private native final int native_command(int cmdCode, int cmdSize, argument
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp1337 uint32_t cmdSize,
1350 //ALOGV("PreProcessingFx_Command: command %d cmdSize %d",cmdCode, cmdSize);
1365 cmdSize != sizeof(effect_config_t)||
1407 cmdSize != sizeof(effect_config_t) ||
1439 cmdSize < (int)sizeof(effect_param_t) ||
1464 cmdSize < (int)sizeof(effect_param_t) ||
1504 cmdSize != sizeof(uint32_t)) {
1521 if (pCmdData == NULL|| cmdSize != sizeof(uint32_t) ||
1553 char *path = strndup((char *)pCmdData, cmdSize);
1335 PreProcessingFx_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument
[all...]

Completed in 2773 milliseconds