/frameworks/av/media/libaudioclient/ |
D | IEffectClient.cpp | 60 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()
|
D | IEffect.cpp | 66 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()
|
D | AudioEffect.cpp | 249 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/ |
D | AudioEffect.h | 522 uint32_t cmdSize, 564 uint32_t cmdSize, 603 uint32_t cmdSize, in commandExecuted() argument 615 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
|
D | IEffectClient.h | 35 uint32_t cmdSize,
|
D | IEffect.h | 37 uint32_t cmdSize,
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectHalHidl.cpp | 233 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()
|
D | EffectHalHidl.h | 52 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/ |
D | EffectEqualizer.cpp | 629 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()
|
D | EffectReverb.c | 282 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()
|
D | EffectReverb.h | 316 uint32_t cmdSize,
|
/frameworks/av/media/libeffects/proxy/ |
D | EffectProxy.cpp | 200 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()
|
D | EffectProxy.h | 48 uint32_t cmdSize,
|
/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.c | 508 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()
|
D | EffectDownmix.h | 83 uint32_t cmdSize,
|
/frameworks/av/media/libeffects/loudness/ |
D | EffectLoudnessEnhancer.cpp | 350 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/ |
D | PreProcessing.cpp | 1398 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/ |
D | EffectHalInterface.h | 46 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
|
/frameworks/av/media/libeffects/dynamicsproc/ |
D | EffectDynamicsProcessing.cpp | 437 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/ |
D | EffectVisualizer.cpp | 484 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/ |
D | android_media_AudioEffect.cpp | 628 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/ |
D | Effects.h | 136 uint32_t cmdSize __unused, in command() 217 uint32_t cmdSize, 333 uint32_t cmdSize, 352 uint32_t cmdSize,
|
D | Effects.cpp | 1164 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/ |
D | EffectReverb.cpp | 1848 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/ |
D | EffectBundle.cpp | 3295 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()
|