Home
last modified time | relevance | path

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

12

/frameworks/av/media/libaudioclient/
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.cpp66 uint32_t cmdSize, in command() argument
75 int size = cmdSize; in command()
159 uint32_t cmdSize = data.readInt32(); in onTransact() local
161 if (cmdSize) { in onTransact()
162 if (cmdSize > EFFECT_PARAM_SIZE_MAX) { in onTransact()
166 cmd = (char *)calloc(cmdSize, 1); in onTransact()
171 data.read(cmd, cmdSize); in onTransact()
189 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); in onTransact()
DAudioEffect.cpp249 uint32_t cmdSize, in command() argument
269 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); in command()
411 uint32_t cmdSize __unused, in commandExecuted()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h522 uint32_t cmdSize,
564 uint32_t cmdSize,
603 uint32_t cmdSize, in commandExecuted() argument
615 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h35 uint32_t cmdSize,
DIEffect.h37 uint32_t cmdSize,
/frameworks/av/media/libaudiohal/impl/
DEffectHalHidl.cpp233 status_t EffectHalHidl::command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, in command() argument
239 return setConfigImpl(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
246 if (pCmdData != nullptr && cmdSize > 0) { in command()
247 hidlData.setToExternal(reinterpret_cast<uint8_t*>(pCmdData), cmdSize); in command()
322 uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) { in setConfigImpl() argument
323 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in setConfigImpl()
DEffectHalHidl.h52 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
102 uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp629 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Equalizer_command() argument
641 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize); in Equalizer_command()
651 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Equalizer_command()
668 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
687 cmdSize, pCmdData, *replySize, pReplyData); in Equalizer_command()
688 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
DEffectReverb.c282 static int Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Reverb_Command() argument
295 ALOGV("Reverb_Command command %d cmdSize %d",cmdCode, cmdSize); in Reverb_Command()
308 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Reverb_Command()
327 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Reverb_Command()
340 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command()
341 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Reverb_Command()
372 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
379 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Reverb_Command()
388 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
DEffectReverb.h316 uint32_t cmdSize,
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp200 uint32_t cmdSize, in Effect_command() argument
247 if (cmdSize == 0 || pCmdData == NULL) { in Effect_command()
270 pContext->eHandle[SUB_FX_OFFLOAD], cmdCode, cmdSize, in Effect_command()
330 pContext->eHandle[i], cmdCode, cmdSize, in Effect_command()
DEffectProxy.h48 uint32_t cmdSize,
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c508 static int Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Downmix_Command() argument
520 ALOGV("Downmix_Command command %" PRIu32 " cmdSize %" PRIu32, cmdCode, cmdSize); in Downmix_Command()
531 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Downmix_Command()
546 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Downmix_Command()
562 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
563 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Downmix_Command()
611 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
620 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Downmix_Command()
632 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
DEffectDownmix.h83 uint32_t cmdSize,
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp350 int LE_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in LE_command() argument
368 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in LE_command()
409 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || in LE_command()
435 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || in LE_command()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1398 uint32_t cmdSize, in PreProcessingFx_Command() argument
1424 cmdSize != sizeof(effect_config_t)|| in PreProcessingFx_Command()
1466 cmdSize != sizeof(effect_config_t) || in PreProcessingFx_Command()
1499 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in PreProcessingFx_Command()
1500 cmdSize < (sizeof(effect_param_t) + p->psize) || in PreProcessingFx_Command()
1524 cmdSize < sizeof(effect_param_t) || in PreProcessingFx_Command()
1564 cmdSize != sizeof(uint32_t)) { in PreProcessingFx_Command()
1581 if (pCmdData == NULL|| cmdSize != sizeof(uint32_t) || in PreProcessingFx_Command()
1613 char *path = strndup((char *)pCmdData, cmdSize); in PreProcessingFx_Command()
1646 if (pCmdData == NULL|| cmdSize != 2 * sizeof(uint32_t) || in PreProcessingFx_Command()
[all …]
/frameworks/av/media/libaudiohal/include/media/audiohal/
DEffectHalInterface.h46 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp437 int DP_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in DP_command() argument
447 ALOGV("DP_command command %d cmdSize %d",cmdCode, cmdSize); in DP_command()
457 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in DP_command()
512 if (cmdSize != expectedCmdSize || *replySize < expectedCmdSize) { in DP_command()
514 cmdSize, expectedCmdSize, *replySize); in DP_command()
536 cmdSize < (sizeof(effect_param_t) + sizeof(int32_t) + sizeof(int32_t)) || in DP_command()
560 if (pCmdData == NULL || cmdSize < ((int)sizeof(uint32_t) * 2)) { in DP_command()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp484 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Visualizer_command() argument
503 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Visualizer_command()
544 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t)) || in Visualizer_command()
582 cmdSize != (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)) || in Visualizer_command()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp628 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument
641 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) { in android_media_AudioEffect_native_command()
646 if (cmdSize != 0) { in android_media_AudioEffect_native_command()
665 (uint32_t)cmdSize, in android_media_AudioEffect_native_command()
/frameworks/av/services/audioflinger/
DEffects.h136 uint32_t cmdSize __unused, in command()
217 uint32_t cmdSize,
333 uint32_t cmdSize,
352 uint32_t cmdSize,
DEffects.cpp1164 uint32_t cmdSize, in command() argument
1179 (sizeof(effect_param_t) > cmdSize || in command()
1180 ((effect_param_t *)pCmdData)->psize > cmdSize in command()
1210 (sizeof(effect_param_t) > cmdSize in command()
1211 || ((effect_param_t *)pCmdData)->psize > cmdSize in command()
1213 || ((effect_param_t *)pCmdData)->vsize > cmdSize in command()
1217 cmdSize in command()
1225 cmdSize, in command()
1234 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1741 uint32_t cmdSize, in command() argument
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1848 uint32_t cmdSize, in Reverb_command() argument
1879 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in Reverb_command()
1917 if (cmdSize < sizeof(effect_param_t) || in Reverb_command()
1918 cmdSize < (sizeof(effect_param_t) + p->psize) || in Reverb_command()
1955 if (pCmdData == NULL || (cmdSize < (sizeof(effect_param_t) + sizeof(int32_t))) || in Reverb_command()
2028 cmdSize != 2 * sizeof(uint32_t)) { in Reverb_command()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp3295 uint32_t cmdSize, in Effect_command() argument
3360 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in Effect_command()
3390 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in Effect_command()
3391 cmdSize < (sizeof(effect_param_t) + p->psize) || in Effect_command()
3491 cmdSize != (sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int16_t)) || in Effect_command()
3523 cmdSize > (sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int32_t)) || in Effect_command()
3524 cmdSize < (sizeof(effect_param_t) + sizeof(int32_t) +sizeof(int16_t)) || in Effect_command()
3555 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
3579 cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
3713 if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t) || pReplyData == NULL || in Effect_command()

12