/cts/tests/tests/security/testeffect/ |
CTSTestEffect.cpp | 103 void *pCmdData, uint32_t *replySize, void *pReplyData) { 113 if (pReplyData == NULL || *replySize != sizeof(int)) { 116 *(int *) pReplyData = 0; 120 || pReplyData == NULL || *replySize != sizeof(int)) { 124 *(int *) pReplyData = 0; 127 if (pReplyData == NULL || 131 memcpy(pReplyData, &pContext->mConfig, *replySize); 137 if (pReplyData == NULL || *replySize != sizeof(int)) { 140 *(int *)pReplyData = 0; 145 pReplyData == NULL | [all...] |
/frameworks/av/media/libeffects/visualizer/ |
EffectVisualizer.cpp | 414 void *pCmdData, uint32_t *replySize, void *pReplyData) { 427 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 430 *(int *) pReplyData = Visualizer_init(pContext); 434 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 437 *(int *) pReplyData = Visualizer_setConfig(pContext, 441 if (pReplyData == NULL || replySize == NULL || 445 Visualizer_getConfig(pContext, (effect_config_t *)pReplyData); 451 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 459 *(int *)pReplyData = 0; 462 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) [all...] |
/frameworks/av/media/libeffects/loudness/ |
EffectLoudnessEnhancer.cpp | 311 void *pCmdData, uint32_t *replySize, void *pReplyData) { 323 if (pReplyData == NULL || *replySize != sizeof(int)) { 326 *(int *) pReplyData = LE_init(pContext); 330 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 333 *(int *) pReplyData = LE_setConfig(pContext, 337 if (pReplyData == NULL || 341 LE_getConfig(pContext, (effect_config_t *)pReplyData); 347 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 355 *(int *)pReplyData = 0; 358 if (pReplyData == NULL || *replySize != sizeof(int)) [all...] |
/frameworks/av/include/media/ |
IEffect.h | 40 void *pReplyData) = 0;
|
IEffectClient.h | 38 void *pReplyData) = 0;
|
AudioEffect.h | 427 void *pReplyData); 456 void *pReplyData) { 460 cmdCode, cmdSize, pCmdData, replySize, pReplyData);
|
/hardware/qcom/audio/msm8909/post_proc/ |
bundle.c | 558 void *pCmdData, uint32_t *replySize, void *pReplyData) 580 if (pReplyData == NULL || *replySize != sizeof(int)) { 585 *(int *) pReplyData = context->ops.init(context); 587 *(int *) pReplyData = 0; 591 || pReplyData == NULL || *replySize != sizeof(int)) { 595 *(int *) pReplyData = set_config(context, (effect_config_t *) pCmdData); 598 if (pReplyData == NULL || 608 get_config(context, (effect_config_t *)pReplyData); 615 if (pReplyData == NULL || *replySize != sizeof(int)) { 626 *(int *)pReplyData = 0 [all...] |
bundle.h | 70 void *pCmdData, uint32_t *replySize, void *pReplyData);
|
/hardware/qcom/audio/post_proc/ |
bundle.c | 535 void *pCmdData, uint32_t *replySize, void *pReplyData) 556 if (pReplyData == NULL || *replySize != sizeof(int)) { 561 *(int *) pReplyData = context->ops.init(context); 563 *(int *) pReplyData = 0; 567 || pReplyData == NULL || *replySize != sizeof(int)) { 571 *(int *) pReplyData = set_config(context, (effect_config_t *) pCmdData); 574 if (pReplyData == NULL || 584 get_config(context, (effect_config_t *)pReplyData); 591 if (pReplyData == NULL || *replySize != sizeof(int)) { 603 *(int *)pReplyData = 0 [all...] |
bundle.h | 67 void *pCmdData, uint32_t *replySize, void *pReplyData);
|
/device/htc/flounder/audio/visualizer/ |
nv_offload_visualizer.c | 57 void *pCmdData, uint32_t *replySize, void *pReplyData); 735 void *pCmdData __unused, uint32_t *replySize, void *pReplyData) 741 if (pReplyData == NULL || *replySize != visu_ctxt->capture_size) { 766 memcpy(pReplyData, 769 pReplyData = (void *)((size_t)pReplyData + size); 773 memcpy(pReplyData, 785 memset(pReplyData, 0x80, visu_ctxt->capture_size); 790 memset(pReplyData, 0x80, visu_ctxt->capture_size); 826 int32_t* p_int_reply_data = (int32_t*)pReplyData; [all...] |
/frameworks/av/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 627 void *pCmdData, uint32_t *replySize, void *pReplyData) { 642 if (pReplyData == NULL || *replySize != sizeof(int)) { 645 *(int *) pReplyData = Equalizer_init(pContext); 649 || pReplyData == NULL || *replySize != sizeof(int)) { 652 *(int *) pReplyData = Equalizer_setConfig(pContext, 656 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { 666 pReplyData == NULL || *replySize < (sizeof(effect_param_t) + sizeof(int32_t))) { 670 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); 671 p = (effect_param_t *)pReplyData; 676 ALOGV("Equalizer_command EFFECT_CMD_GET_PARAM *pCmdData %d, *replySize %d, *pReplyData %08x %08x" [all...] |
/hardware/qcom/audio/msm8909/voice_processing/ |
voice_processing.c | 515 void *pReplyData) 526 if (pReplyData == NULL || *replySize != sizeof(int)) 529 *(int *)pReplyData = 0; 535 pReplyData == NULL|| 540 *(int *)pReplyData = session_set_config(effect->session, (effect_config_t *)pCmdData); 541 if (*(int *)pReplyData != 0) 545 *(int *)pReplyData = effect_set_state(effect, EFFECT_STATE_CONFIG); 550 if (pReplyData == NULL || 556 session_get_config(effect->session, (effect_config_t *)pReplyData); 565 pReplyData == NULL | [all...] |
/hardware/qcom/audio/voice_processing/ |
voice_processing.c | 512 void *pReplyData) 523 if (pReplyData == NULL || *replySize != sizeof(int)) 526 *(int *)pReplyData = 0; 532 pReplyData == NULL|| 537 *(int *)pReplyData = session_set_config(effect->session, (effect_config_t *)pCmdData); 538 if (*(int *)pReplyData != 0) 542 *(int *)pReplyData = effect_set_state(effect, EFFECT_STATE_CONFIG); 547 if (pReplyData == NULL || 553 session_get_config(effect->session, (effect_config_t *)pReplyData); 562 pReplyData == NULL | [all...] |
/frameworks/av/media/libmedia/ |
IEffectClient.cpp | 63 void *pReplyData) 78 if (pReplyData == NULL) { 83 data.write(pReplyData, size);
|
IEffect.cpp | 66 void *pReplyData) 98 if (size != 0 && pReplyData != NULL && pReplySize != NULL) { 99 reply.read(pReplyData, size);
|
/frameworks/av/media/libeffects/preprocessing/ |
PreProcessing.cpp | [all...] |
/frameworks/av/media/libeffects/proxy/ |
EffectProxy.cpp | 205 void *pReplyData) { 246 *(int*)pReplyData = FAILED_TRANSACTION; 256 *(int*)pReplyData = FAILED_TRANSACTION; 268 pCmdData, replySize, pReplyData); 270 *(int*)pReplyData = NO_ERROR; 272 *(int*)pReplyData); 320 subReplyData[i] = pReplyData; 324 subReplyData[i] = pReplyData == NULL ? NULL : pContext->replyData;
|
EffectProxy.h | 51 void *pReplyData);
|
/hardware/qcom/audio/msm8909/visualizer/ |
offload_visualizer.c | 57 void *pCmdData, uint32_t *replySize, void *pReplyData); 789 void *pCmdData, uint32_t *replySize, void *pReplyData) 795 if (pReplyData == NULL || *replySize != visu_ctxt->capture_size) { 820 memcpy(pReplyData, 823 pReplyData = (void *)((size_t)pReplyData + size); 827 memcpy(pReplyData, 839 memset(pReplyData, 0x80, visu_ctxt->capture_size); 844 memset(pReplyData, 0x80, visu_ctxt->capture_size); 880 int32_t* p_int_reply_data = (int32_t*)pReplyData; [all...] |
/hardware/qcom/audio/visualizer/ |
offload_visualizer.c | 67 void *pCmdData, uint32_t *replySize, void *pReplyData); 810 void *pCmdData __unused, uint32_t *replySize, void *pReplyData) 816 if (pReplyData == NULL || *replySize != visu_ctxt->capture_size) { 841 memcpy(pReplyData, 844 pReplyData = (void *)((size_t)pReplyData + size); 848 memcpy(pReplyData, 860 memset(pReplyData, 0x80, visu_ctxt->capture_size); 865 memset(pReplyData, 0x80, visu_ctxt->capture_size); 901 int32_t* p_int_reply_data = (int32_t*)pReplyData; [all...] |
/frameworks/av/media/libeffects/downmix/ |
EffectDownmix.c | 388 void *pCmdData, uint32_t *replySize, void *pReplyData) { 404 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 407 *(int *) pReplyData = Downmix_Init(pDwmModule); 412 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 415 *(int *) pReplyData = Downmix_Configure(pDwmModule, 424 ALOGV("Downmix_Command EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %" PRIu32 ", pReplyData: %p", 425 pCmdData, *replySize, pReplyData); 427 pReplyData == NULL || replySize == NULL || 431 effect_param_t *rep = (effect_param_t *) pReplyData; 432 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)) [all...] |
EffectDownmix.h | 84 void *pReplyData);
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | [all...] |