Home
last modified time | relevance | path

Searched refs:cmdSize (Results 1 – 25 of 29) 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.cpp240 uint32_t cmdSize, in command() argument
260 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); in command()
402 uint32_t cmdSize __unused, in commandExecuted()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h516 uint32_t cmdSize,
558 uint32_t cmdSize,
597 uint32_t cmdSize, in commandExecuted() argument
609 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h35 uint32_t cmdSize,
DIEffect.h37 uint32_t cmdSize,
/frameworks/av/include/media/
DAudioEffect.h516 uint32_t cmdSize,
558 uint32_t cmdSize,
597 uint32_t cmdSize, in commandExecuted() argument
609 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/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/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()
/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/libaudiohal/include/media/audiohal/
DEffectHalInterface.h46 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
/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/services/audioflinger/
DEffects.h67 uint32_t cmdSize,
241 uint32_t cmdSize,
260 uint32_t cmdSize,
DEffects.cpp917 uint32_t cmdSize, in command() argument
932 (sizeof(effect_param_t) > cmdSize || in command()
933 ((effect_param_t *)pCmdData)->psize > cmdSize in command()
963 (sizeof(effect_param_t) > cmdSize in command()
964 || ((effect_param_t *)pCmdData)->psize > cmdSize in command()
966 || ((effect_param_t *)pCmdData)->vsize > cmdSize in command()
970 cmdSize in command()
978 cmdSize, in command()
987 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1752 uint32_t cmdSize, in command() argument
[all …]
/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.cpp619 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument
632 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) { in android_media_AudioEffect_native_command()
637 if (cmdSize != 0) { in android_media_AudioEffect_native_command()
656 (uint32_t)cmdSize, in android_media_AudioEffect_native_command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1981 uint32_t cmdSize, in Reverb_command() argument
2013 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in Reverb_command()
2047 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in Reverb_command()
2048 cmdSize < (sizeof(effect_param_t) + p->psize) || in Reverb_command()
2085 if (pCmdData == NULL || (cmdSize < (sizeof(effect_param_t) + sizeof(int32_t))) || in Reverb_command()
2158 cmdSize != 2 * sizeof(uint32_t)) { in Reverb_command()

12