/cts/tests/tests/security/testeffect/ |
CTSTestEffect.cpp | 103 void *pCmdData, uint32_t *replySize, void *pReplyData) { 113 if (pReplyData == NULL || *replySize != sizeof(int)) { 120 || pReplyData == NULL || *replySize != sizeof(int)) { 128 *replySize != sizeof(effect_config_t)) { 131 memcpy(pReplyData, &pContext->mConfig, *replySize); 137 if (pReplyData == NULL || *replySize != sizeof(int)) { 146 *replySize < (int)(sizeof(effect_param_t))) { 155 pReplyData == NULL || *replySize != sizeof(int32_t)) {
|
/frameworks/av/media/libmedia/ |
IEffectClient.cpp | 62 uint32_t replySize, 77 size = replySize; 122 uint32_t replySize = data.readInt32(); 124 if (replySize) { 125 resp = (char *)malloc(replySize); 126 data.read(resp, replySize); 128 commandExecuted(cmdCode, cmdSize, cmd, replySize, resp);
|
IEffect.cpp | 166 uint32_t replySize = data.readInt32(); 167 uint32_t replySz = replySize; 169 if (replySize) { 170 resp = (char *)calloc(replySize, 1); 180 if (replySz < replySize) { 181 replySize = replySz; 183 reply->writeInt32(replySize); 184 if (replySize) { 185 reply->write(resp, replySize);
|
Visualizer.cpp | 243 uint32_t replySize = number * sizeof(int32_t); 247 &replySize, measurements); 249 if ((status == NO_ERROR) && (replySize == 0)) { 270 uint32_t replySize = mCaptureSize; 271 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); 273 if ((status == NO_ERROR) && (replySize == 0)) {
|
AudioEffect.cpp | 235 uint32_t *replySize, 247 if (replySize == NULL || *replySize != sizeof(status_t) || replyData == NULL) { 253 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); 397 uint32_t replySize __unused,
|
/frameworks/av/media/libeffects/proxy/ |
EffectProxy.cpp | 139 pContext->replySize = PROXY_REPLY_SIZE_DEFAULT; 204 uint32_t *replySize, 268 pCmdData, replySize, pReplyData); 291 if (replySize != NULL) { 292 tmpSize = pContext->replySize; 293 while (tmpSize < *replySize && tmpSize < PROXY_REPLY_SIZE_MAX) { 296 if (tmpSize > pContext->replySize) { 299 pContext->replySize = tmpSize; 301 if (tmpSize > *replySize) { 302 tmpSize = *replySize; [all...] |
EffectProxy.h | 50 uint32_t *replySize, 78 uint32_t replySize; // current size of temporary reply buffer
|
/frameworks/av/include/media/ |
IEffectClient.h | 37 uint32_t replySize,
|
AudioEffect.h | 385 uint32_t *replySize, 426 uint32_t replySize, 455 uint32_t replySize, 460 cmdCode, cmdSize, pCmdData, replySize, pReplyData);
|
/frameworks/av/media/libeffects/visualizer/ |
EffectVisualizer.cpp | 414 void *pCmdData, uint32_t *replySize, void *pReplyData) { 427 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 434 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 441 if (pReplyData == NULL || replySize == NULL || 442 *replySize != sizeof(effect_config_t)) { 451 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 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)) { 330 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 338 *replySize != sizeof(effect_config_t)) { 347 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 358 if (pReplyData == NULL || *replySize != sizeof(int)) { 371 pReplyData == NULL || replySize == NULL || 372 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) [all...] |
/hardware/qcom/audio/post_proc/ |
bundle.c | 535 void *pCmdData, uint32_t *replySize, void *pReplyData) 556 if (pReplyData == NULL || *replySize != sizeof(int)) { 567 || pReplyData == NULL || *replySize != sizeof(int)) { 575 *replySize != sizeof(effect_config_t)) { 591 if (pReplyData == NULL || *replySize != sizeof(int)) { 606 if (pReplyData == NULL || *replySize != sizeof(int)) { 624 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint16_t)) || 626 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t)) { 628 ALOGV("EFFECT_CMD_GET_PARAM invalid command cmdSize %d *replySize %d", 629 cmdSize, *replySize); [all...] |
bundle.h | 67 void *pCmdData, uint32_t *replySize, void *pReplyData);
|
/frameworks/av/media/libeffects/preprocessing/ |
PreProcessing.cpp | [all...] |
/frameworks/wilhelm/src/itf/ |
IAndroidEffect.cpp | 87 void* pCommand, SLuint32 *replySize, void *pReply) { 93 pCommand, replySize, pReply);
|
/frameworks/av/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 627 void *pCmdData, uint32_t *replySize, void *pReplyData) { 642 if (pReplyData == NULL || *replySize != sizeof(int)) { 649 || pReplyData == NULL || *replySize != sizeof(int)) { 656 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { 666 pReplyData == NULL || *replySize < (sizeof(effect_param_t) + sizeof(int32_t))) { 675 *replySize = sizeof(effect_param_t) + voffset + p->vsize; 676 ALOGV("Equalizer_command EFFECT_CMD_GET_PARAM *pCmdData %d, *replySize %d, *pReplyData %08x %08x", 677 *(int32_t *)((char *)pCmdData + sizeof(effect_param_t)), *replySize, 683 ALOGV("Equalizer_command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, pReplyData %p", 684 cmdSize, pCmdData, *replySize, pReplyData) [all...] |
/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) { 742 ALOGV("%s VISUALIZER_CMD_CAPTURE error *replySize %d context->capture_size %d", 743 __func__, *replySize, visu_ctxt->capture_size); [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)) { 412 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { 424 ALOGV("Downmix_Command EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %" PRIu32 ", pReplyData: %p", 425 pCmdData, *replySize, pReplyData); 427 pReplyData == NULL || replySize == NULL || 428 *replySize < (int) sizeof(effect_param_t) + 2 * sizeof(int32_t)) { 433 ALOGV("Downmix_Command EFFECT_CMD_GET_PARAM param %" PRId32 ", replySize %" PRIu32 [all...] |
EffectDownmix.h | 83 uint32_t *replySize,
|
/hardware/qcom/audio/voice_processing/ |
voice_processing.c | 511 uint32_t *replySize, 523 if (pReplyData == NULL || *replySize != sizeof(int)) 533 *replySize != sizeof(int)) { 548 *replySize != sizeof(effect_config_t)) { 563 *replySize < (int)sizeof(effect_param_t) || 565 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t)) { 581 *replySize != sizeof(int32_t)) { 595 if (pReplyData == NULL || *replySize != sizeof(int)) { 603 if (pReplyData == NULL || *replySize != sizeof(int)) {
|
/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) { 817 ALOGV("%s VISUALIZER_CMD_CAPTURE error *replySize %d context->capture_size %d", 818 __func__, *replySize, visu_ctxt->capture_size); [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | [all...] |
/frameworks/av/services/audioflinger/ |
BufferProviders.cpp | 173 uint32_t replySize = sizeof(int); 179 &replySize, &cmdStatus /*pReplyData*/); 189 replySize = sizeof(int); 192 &replySize, &cmdStatus /*pReplyData*/); 213 replySize = sizeof(int); 216 param /*pCmdData*/, &replySize, &cmdStatus /*pReplyData*/);
|
Effects.h | 67 uint32_t *replySize, 184 uint32_t *replySize, 203 uint32_t replySize,
|