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.cpp220 uint32_t cmdSize,
240 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData);
376 uint32_t cmdSize,
219 command(uint32_t cmdCode, uint32_t cmdSize, void *cmdData, uint32_t *replySize, void *replyData) argument
375 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.cpp49 uint32_t cmdSize; local
63 if (stream->receive(&cmdSize, sizeof(uint32_t)) < 0) {
66 cmdSize = ntohl(cmdSize);
69 if (cmdBufSize < cmdSize) {
71 cmdBufSize = cmdSize;
72 cmdBuf = malloc(cmdSize);
78 if (stream->receive(cmdBuf, cmdSize) < 0) {
82 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.cpp644 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
656 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize);
666 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
683 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
701 ALOGV("Equalizer_command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, pReplyData %p",
702 cmdSize, pCmdData, *replySize, pReplyData);
703 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
H A DEffectReverb.c296 static int Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
309 ALOGV("Reverb_Command command %d cmdSize %d",cmdCode, cmdSize);
322 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
341 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
353 ALOGV("Reverb_Command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, pReplyData %p",
354 cmdSize, pCmdData, *replySize, pReplyData);
355 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)))
386 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) {
393 if (pCmdData == NULL || cmdSize !
[all...]
/frameworks/av/media/libeffects/visualizer/
H A DEffectVisualizer.cpp356 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
366 // ALOGV("Visualizer_command command %d cmdSize %d",cmdCode, cmdSize);
376 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
417 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) ||
449 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) ||
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c389 static int Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, argument
402 ALOGV("Downmix_Command command %d cmdSize %d",cmdCode, cmdSize);
413 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
428 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
443 ALOGV("Downmix_Command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, " \
444 "pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData);
445 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)))
489 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) {
498 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.cpp2751 uint32_t cmdSize,
2778 //ALOGV("\tEffect_command INPUTS are: command %d cmdSize %d",cmdCode, cmdSize);
2818 cmdSize != sizeof(effect_config_t)||
2851 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
2882 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
2914 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
2946 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
2985 cmdSize != (int)(sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int16_t))||
3000 //ALOGV("\tnBassBoost_command cmdSize i
2749 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.cpp1917 uint32_t cmdSize,
1932 //ALOGV("\tReverb_command INPUTS are: command %d cmdSize %d",cmdCode, cmdSize);
1951 cmdSize != sizeof(effect_config_t) ||
1983 cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
2021 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)))
2036 //ALOGV("\tn5Reverb_command cmdSize is %d\n"
2041 // cmdSize, sizeof(effect_param_t), p->psize, p->vsize );
2093 cmdSize != 2 * sizeof(uint32_t)) {
1915 Reverb_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument
/frameworks/base/media/java/android/media/audiofx/
H A DAudioEffect.java1211 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...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp8591 uint32_t cmdSize,
8604 cmdSize,
8613 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData);
9047 uint32_t cmdSize,
9119 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData);
9135 uint32_t cmdSize,
9141 mEffectClient->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData);
8590 command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument
9046 command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) argument
9134 commandExecuted(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t replySize, void *pReplyData) argument

Completed in 133 milliseconds