Home
last modified time | relevance | path

Searched refs:pReplyData (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp485 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Visualizer_command() argument
497 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
500 *(int *) pReplyData = Visualizer_init(pContext); in Visualizer_command()
504 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
507 *(int *) pReplyData = Visualizer_setConfig(pContext, in Visualizer_command()
511 if (pReplyData == NULL || replySize == NULL || in Visualizer_command()
515 Visualizer_getConfig(pContext, (effect_config_t *)pReplyData); in Visualizer_command()
521 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
529 *(int *)pReplyData = 0; in Visualizer_command()
532 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command()
[all …]
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp351 void *pCmdData, uint32_t *replySize, void *pReplyData) { in LE_command() argument
362 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
365 *(int *) pReplyData = LE_init(pContext); in LE_command()
369 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in LE_command()
372 *(int *) pReplyData = LE_setConfig(pContext, in LE_command()
376 if (pReplyData == NULL || in LE_command()
380 LE_getConfig(pContext, (effect_config_t *)pReplyData); in LE_command()
386 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in LE_command()
394 *(int *)pReplyData = 0; in LE_command()
397 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
[all …]
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp630 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Equalizer_command() argument
645 if (pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command()
648 *(int *) pReplyData = Equalizer_init(pContext); in Equalizer_command()
652 || pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command()
655 *(int *) pReplyData = Equalizer_setConfig(pContext, in Equalizer_command()
659 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { in Equalizer_command()
669 pReplyData == NULL || *replySize < (sizeof(effect_param_t) + sizeof(int32_t))) { in Equalizer_command()
673 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Equalizer_command()
674 p = (effect_param_t *)pReplyData; in Equalizer_command()
681 *(int32_t *)((char *)pReplyData + sizeof(effect_param_t) + voffset), in Equalizer_command()
[all …]
/frameworks/av/media/libaudiohal/impl/
DEffectHalHidl.cpp234 uint32_t *replySize, void *pReplyData) { in command() argument
239 return setConfigImpl(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
241 return getConfigImpl(cmdCode, replySize, pReplyData); in command()
251 if (replySize == nullptr || pReplyData == nullptr) replySize = &replySizeStub; in command()
257 if (pReplyData != nullptr && *replySize > 0) { in command()
258 memcpy(pReplyData, &result[0], *replySize); in command()
294 uint32_t cmdCode, uint32_t *replySize, void *pReplyData) { in getConfigImpl() argument
295 if (replySize == NULL || *replySize != sizeof(effect_config_t) || pReplyData == NULL) { in getConfigImpl()
304 effectConfigToHal(hidlConfig, static_cast<effect_config_t*>(pReplyData)); in getConfigImpl()
311 effectConfigToHal(hidlConfig, static_cast<effect_config_t*>(pReplyData)); in getConfigImpl()
[all …]
DEffectHalHidl.h53 uint32_t *replySize, void *pReplyData);
97 status_t getConfigImpl(uint32_t cmdCode, uint32_t *replySize, void *pReplyData);
103 uint32_t *replySize, void *pReplyData);
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1401 void *pReplyData) in PreProcessingFx_Command() argument
1413 if (pReplyData == NULL || *replySize != sizeof(int)){ in PreProcessingFx_Command()
1419 *(int *)pReplyData = 0; in PreProcessingFx_Command()
1425 pReplyData == NULL|| in PreProcessingFx_Command()
1439 *(int *)pReplyData = Session_SetConfig(effect->session, (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1445 if (*(int *)pReplyData != 0) { in PreProcessingFx_Command()
1449 *(int *)pReplyData = Effect_SetState(effect, PREPROC_EFFECT_STATE_CONFIG); in PreProcessingFx_Command()
1454 if (pReplyData == NULL || in PreProcessingFx_Command()
1461 Session_GetConfig(effect->session, (effect_config_t *)pReplyData); in PreProcessingFx_Command()
1467 pReplyData == NULL || in PreProcessingFx_Command()
[all …]
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp203 void *pReplyData) { in Effect_command() argument
249 *(int*)pReplyData = FAILED_TRANSACTION; in Effect_command()
259 *(int*)pReplyData = FAILED_TRANSACTION; in Effect_command()
271 pCmdData, replySize, pReplyData); in Effect_command()
273 *(int*)pReplyData = NO_ERROR; in Effect_command()
275 *(int*)pReplyData); in Effect_command()
323 subReplyData[i] = pReplyData; in Effect_command()
327 subReplyData[i] = pReplyData == NULL ? NULL : pContext->replyData; in Effect_command()
DEffectProxy.h51 void *pReplyData);
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp438 void *pCmdData, uint32_t *replySize, void *pReplyData) { in DP_command() argument
450 if (pReplyData == NULL || *replySize != sizeof(int)) { in DP_command()
454 *(int *) pReplyData = DP_init(pContext); in DP_command()
458 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in DP_command()
462 *(int *) pReplyData = DP_setConfig(pContext, in DP_command()
466 if (pReplyData == NULL || in DP_command()
471 DP_getConfig(pContext, (effect_config_t *)pReplyData); in DP_command()
477 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in DP_command()
483 *(int *)pReplyData = -ENOSYS; in DP_command()
487 *(int *)pReplyData = 0; in DP_command()
[all …]
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c509 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
524 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Downmix_Command()
527 *(int *) pReplyData = Downmix_Init(pDwmModule); in Downmix_Command()
532 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Downmix_Command()
535 *(int *) pReplyData = Downmix_Configure(pDwmModule, in Downmix_Command()
545 pCmdData, *replySize, pReplyData); in Downmix_Command()
547 pReplyData == NULL || replySize == NULL || in Downmix_Command()
551 effect_param_t *rep = (effect_param_t *) pReplyData; in Downmix_Command()
552 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Downmix_Command()
562 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
[all …]
DEffectDownmix.h86 void *pReplyData);
/frameworks/av/media/libaudioclient/
DIEffectClient.cpp63 void *pReplyData) in commandExecuted() argument
78 if (pReplyData == NULL) { in commandExecuted()
83 data.write(pReplyData, size); in commandExecuted()
DIEffect.cpp69 void *pReplyData) in command() argument
101 if (size != 0 && pReplyData != NULL && pReplySize != NULL) { in command()
102 reply.read(pReplyData, size); in command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1984 void *pReplyData){ in Reverb_command() argument
2002 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)){ in Reverb_command()
2007 *(int *) pReplyData = 0; in Reverb_command()
2014 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Reverb_command()
2019 *(int *) pReplyData = android::Reverb_setConfig(pContext, in Reverb_command()
2024 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(effect_config_t)) { in Reverb_command()
2030 android::Reverb_getConfig(pContext, (effect_config_t *)pReplyData); in Reverb_command()
2049 pReplyData == NULL || replySize == NULL || in Reverb_command()
2056 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Reverb_command()
2058 p = (effect_param_t *)pReplyData; in Reverb_command()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h561 void *pReplyData);
600 void *pReplyData) { in commandExecuted() argument
609 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h38 void *pReplyData) = 0;
DIEffect.h40 void *pReplyData) = 0;
/frameworks/av/include/media/
DAudioEffect.h561 void *pReplyData);
600 void *pReplyData) { in commandExecuted() argument
609 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h38 void *pReplyData) = 0;
DIEffect.h40 void *pReplyData) = 0;
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp3406 void *pReplyData){ in Effect_command() argument
3441 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)){ in Effect_command()
3446 *(int *) pReplyData = 0; in Effect_command()
3462 *(int *) pReplyData = android::VolumeSetVolumeLevel(pContext, 0); in Effect_command()
3469 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Effect_command()
3474 *(int *) pReplyData = android::Effect_setConfig(pContext, (effect_config_t *) pCmdData); in Effect_command()
3479 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(effect_config_t)) { in Effect_command()
3485 android::Effect_getConfig(pContext, (effect_config_t *)pReplyData); in Effect_command()
3500 pReplyData == NULL || replySize == NULL || in Effect_command()
3525 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Effect_command()
[all …]
/frameworks/av/media/libaudiohal/include/media/audiohal/
DEffectHalInterface.h47 uint32_t *replySize, void *pReplyData) = 0;
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp622 jbyte* pReplyData = NULL; in android_media_AudioEffect_native_command() local
647 pReplyData = (jbyte *) env->GetPrimitiveArrayCritical(jReplyData, NULL); in android_media_AudioEffect_native_command()
648 if (pReplyData == NULL) { in android_media_AudioEffect_native_command()
659 pReplyData)); in android_media_AudioEffect_native_command()
666 if (pReplyData != NULL) { in android_media_AudioEffect_native_command()
667 env->ReleasePrimitiveArrayCritical(jReplyData, pReplyData, 0); in android_media_AudioEffect_native_command()
/frameworks/av/services/audioflinger/
DEffects.h70 void *pReplyData);
244 void *pReplyData);
263 void *pReplyData);
DEffects.cpp920 void *pReplyData) in command() argument
981 pReplyData); in command()
987 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1755 void *pReplyData) in command() argument
1783 *(int *)pReplyData = NO_ERROR; in command()
1791 *(int *)pReplyData = NO_ERROR; in command()
1815 *(int *)pReplyData = NO_ERROR; in command()
1872 *(int *)pReplyData = reply; in command()
1875 *(int *)pReplyData = reply; in command()
1886 return effect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
[all …]

12