Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/downmix/
DEffectDownmix.cpp66 uint32_t cmdSize,
388 static int32_t Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Downmix_Command() argument
400 ALOGV("Downmix_Command command %u cmdSize %u", cmdCode, cmdSize); in Downmix_Command()
411 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Downmix_Command()
426 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Downmix_Command()
442 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
443 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Downmix_Command()
492 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
501 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Downmix_Command()
513 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
/frameworks/av/media/libaudiohal/impl/
DEffectHalHidl.cpp203 status_t EffectHalHidl::command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, in command() argument
211 return setConfigImpl(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
218 if (pCmdData != nullptr && cmdSize > 0) { in command()
219 hidlData.setToExternal(reinterpret_cast<uint8_t*>(pCmdData), cmdSize); in command()
314 uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) { in setConfigImpl() argument
315 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || in setConfigImpl()
DEffectHalHidl.h53 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
98 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
640 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize); in Equalizer_command()
650 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Equalizer_command()
667 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
686 cmdSize, pCmdData, *replySize, pReplyData); in Equalizer_command()
687 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Equalizer_command()
DEffectReverb.c284 static int Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Reverb_Command() argument
296 ALOGV("Reverb_Command command %d cmdSize %d",cmdCode, cmdSize); in Reverb_Command()
309 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Reverb_Command()
328 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Reverb_Command()
341 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command()
342 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Reverb_Command()
373 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
380 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Reverb_Command()
389 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
DEffectReverb.h316 uint32_t cmdSize,
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp210 uint32_t cmdSize, in Effect_command() argument
257 if (cmdSize == 0 || pCmdData == NULL) { in Effect_command()
280 pContext->eHandle[SUB_FX_OFFLOAD], cmdCode, cmdSize, in Effect_command()
340 pContext->eHandle[i], cmdCode, cmdSize, in Effect_command()
DEffectProxy.h48 uint32_t cmdSize,
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1099 int PreProcessingFx_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in PreProcessingFx_Command() argument
1121 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || pReplyData == NULL || in PreProcessingFx_Command()
1160 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || pReplyData == NULL || in PreProcessingFx_Command()
1191 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in PreProcessingFx_Command()
1192 cmdSize < (sizeof(effect_param_t) + p->psize) || pReplyData == NULL || in PreProcessingFx_Command()
1213 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || pReplyData == NULL || in PreProcessingFx_Command()
1250 if (pCmdData == NULL || cmdSize != sizeof(uint32_t)) { in PreProcessingFx_Command()
1267 if (pCmdData == NULL || cmdSize != sizeof(uint32_t) || pReplyData == NULL || in PreProcessingFx_Command()
1299 char* path = strndup((char*)pCmdData, cmdSize); in PreProcessingFx_Command()
1331 if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t) || pReplyData == NULL || in PreProcessingFx_Command()
[all …]
/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/libaudiohal/include/media/audiohal/
DEffectHalInterface.h46 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp484 int32_t HapticGenerator_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in HapticGenerator_Command() argument
492 ALOGV("HapticGenerator_Command command %u cmdSize %u", cmdCode, cmdSize); in HapticGenerator_Command()
503 if (cmdData == nullptr || cmdSize != sizeof(effect_config_t) in HapticGenerator_Command()
523 "*replySize %u, replyData %p", cmdSize, cmdData, in HapticGenerator_Command()
525 if (cmdData == nullptr || (cmdSize < (int) (sizeof(effect_param_t) + sizeof(int32_t))) in HapticGenerator_Command()
DEffectHapticGenerator.h125 uint32_t cmdSize,
/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.cpp660 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument
673 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) { in android_media_AudioEffect_native_command()
678 if (cmdSize != 0) { in android_media_AudioEffect_native_command()
697 (uint32_t)cmdSize, in android_media_AudioEffect_native_command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1770 int Reverb_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void* pCmdData, in Reverb_command() argument
1799 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || pReplyData == NULL || in Reverb_command()
1836 if (cmdSize < sizeof(effect_param_t) || cmdSize < (sizeof(effect_param_t) + p->psize) || in Reverb_command()
1870 if (pCmdData == NULL || (cmdSize < (sizeof(effect_param_t) + sizeof(int32_t))) || in Reverb_command()
1940 if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t)) { in Reverb_command()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp3064 int Effect_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, void* pCmdData, in Effect_command() argument
3127 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) || pReplyData == NULL || in Effect_command()
3157 if (pCmdData == NULL || cmdSize < sizeof(effect_param_t) || in Effect_command()
3158 cmdSize < (sizeof(effect_param_t) + p->psize) || pReplyData == NULL || in Effect_command()
3245 cmdSize != (sizeof(effect_param_t) + sizeof(int32_t) + sizeof(int16_t)) || in Effect_command()
3276 cmdSize > (sizeof(effect_param_t) + sizeof(int32_t) + sizeof(int32_t)) || in Effect_command()
3277 cmdSize < (sizeof(effect_param_t) + sizeof(int32_t) + sizeof(int16_t)) || in Effect_command()
3307 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
3327 if (pCmdData == NULL || cmdSize < (sizeof(effect_param_t) + sizeof(int32_t)) || in Effect_command()
3455 if (pCmdData == NULL || cmdSize != 2 * sizeof(uint32_t) || pReplyData == NULL || in Effect_command()
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c87 uint32_t cmdSize, in Effect_Command() argument
105 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h575 uint32_t cmdSize,
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp356 uint32_t cmdSize, in command() argument
380 appendToBuffer(cmdData, cmdSize, &data); in command()
/frameworks/av/services/audioflinger/
DEffects.cpp1232 size_t cmdSize = cmdData.size(); in command() local
1233 const effect_param_t* param = cmdSize >= sizeof(effect_param_t) in command()
1237 (param == nullptr || param->psize > cmdSize - sizeof(effect_param_t))) { in command()
1266 || param->psize > cmdSize - sizeof(effect_param_t) in command()
1267 || param->vsize > cmdSize - sizeof(effect_param_t) in command()
1271 cmdSize in command()
1281 cmdSize, in command()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1416 private native final int native_command(int cmdCode, int cmdSize, in native_command() argument