/frameworks/av/media/libaudioclient/ |
D | IEffect.cpp | 173 uint32_t replySize = data.readInt32(); in onTransact() local 174 uint32_t replySz = replySize; in onTransact() 176 if (replySize) { in onTransact() 177 if (replySize > EFFECT_PARAM_SIZE_MAX) { in onTransact() 182 resp = (char *)calloc(replySize, 1); in onTransact() 192 if (replySz < replySize) { in onTransact() 193 replySize = replySz; in onTransact() 195 reply->writeInt32(replySize); in onTransact() 196 if (replySize) { in onTransact() 197 reply->write(resp, replySize); in onTransact()
|
D | IEffectClient.cpp | 62 uint32_t replySize, in commandExecuted() argument 77 size = replySize; in commandExecuted() 122 uint32_t replySize = data.readInt32(); in onTransact() local 124 if (replySize) { in onTransact() 125 resp = (char *)malloc(replySize); in onTransact() 126 data.read(resp, replySize); in onTransact() 128 commandExecuted(cmdCode, cmdSize, cmd, replySize, resp); in onTransact()
|
D | AudioEffect.cpp | 251 uint32_t *replySize, in command() argument 263 if (replySize == NULL || *replySize != sizeof(status_t) || replyData == NULL) { in command() 269 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); in command() 413 uint32_t replySize __unused, in commandExecuted()
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 485 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Visualizer_command() argument 497 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command() 504 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command() 511 if (pReplyData == NULL || replySize == NULL || in Visualizer_command() 512 *replySize != sizeof(effect_config_t)) { in Visualizer_command() 521 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command() 532 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Visualizer_command() 545 pReplyData == NULL || replySize == NULL || in Visualizer_command() 546 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) { in Visualizer_command() 552 *replySize = sizeof(effect_param_t) + sizeof(uint32_t); in Visualizer_command() [all …]
|
/frameworks/av/media/libeffects/proxy/ |
D | EffectProxy.cpp | 137 pContext->replySize = PROXY_REPLY_SIZE_DEFAULT; in EffectProxyCreate() 202 uint32_t *replySize, in Effect_command() argument 242 if (replySize == NULL || *replySize < sizeof(int)) { in Effect_command() 271 pCmdData, replySize, pReplyData); in Effect_command() 294 if (replySize != NULL) { in Effect_command() 295 tmpSize = pContext->replySize; in Effect_command() 296 while (tmpSize < *replySize && tmpSize < PROXY_REPLY_SIZE_MAX) { in Effect_command() 299 if (tmpSize > pContext->replySize) { in Effect_command() 302 pContext->replySize = tmpSize; in Effect_command() 304 if (tmpSize > *replySize) { in Effect_command() [all …]
|
D | EffectProxy.h | 50 uint32_t *replySize, 78 uint32_t replySize; // current size of temporary reply buffer member
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectHalHidl.cpp | 234 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() 252 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, in command() 256 if (*replySize > result.size()) *replySize = result.size(); 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() [all …]
|
D | EffectHalHidl.h | 53 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/loudness/ |
D | EffectLoudnessEnhancer.cpp | 351 void *pCmdData, uint32_t *replySize, void *pReplyData) { in LE_command() argument 362 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command() 369 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in LE_command() 377 *replySize != sizeof(effect_config_t)) { in LE_command() 386 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in LE_command() 397 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command() 410 pReplyData == NULL || replySize == NULL || in LE_command() 411 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) { in LE_command() 417 *replySize = sizeof(effect_param_t) + sizeof(uint32_t); in LE_command() 427 *replySize += sizeof(int32_t); in LE_command() [all …]
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 1400 uint32_t *replySize, in PreProcessingFx_Command() argument 1413 if (pReplyData == NULL || *replySize != sizeof(int)){ in PreProcessingFx_Command() 1426 *replySize != sizeof(int)){ in PreProcessingFx_Command() 1455 *replySize != sizeof(effect_config_t)) { in PreProcessingFx_Command() 1468 *replySize != sizeof(int)) { in PreProcessingFx_Command() 1482 *replySize != sizeof(effect_config_t)){ in PreProcessingFx_Command() 1501 pReplyData == NULL || replySize == NULL || in PreProcessingFx_Command() 1502 *replySize < (sizeof(effect_param_t) + p->psize)){ in PreProcessingFx_Command() 1518 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in PreProcessingFx_Command() 1525 pReplyData == NULL || replySize == NULL || in PreProcessingFx_Command() [all …]
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectEqualizer.cpp | 630 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Equalizer_command() argument 645 if (pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command() 652 || pReplyData == NULL || *replySize != sizeof(int)) { 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() 678 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Equalizer_command() 680 *(int32_t *)((char *)pCmdData + sizeof(effect_param_t)), *replySize, in Equalizer_command() 687 cmdSize, pCmdData, *replySize, pReplyData); in Equalizer_command() 689 pReplyData == NULL || *replySize != sizeof(int32_t)) { in Equalizer_command() 697 if (pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command() [all …]
|
D | EffectReverb.c | 283 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Reverb_Command() argument 299 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command() 309 || pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command() 316 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { in Reverb_Command() 325 …EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",pCmdData, *replySize, pReplyData); in Reverb_Command() 328 pReplyData == NULL || *replySize < (int) sizeof(effect_param_t)) { in Reverb_Command() 336 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Reverb_Command() 340 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command() 342 || pReplyData == NULL || *replySize != (int)sizeof(int32_t)) { in Reverb_Command() 350 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command() [all …]
|
/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.c | 509 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument 524 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Downmix_Command() 532 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Downmix_Command() 545 pCmdData, *replySize, pReplyData); in Downmix_Command() 547 pReplyData == NULL || replySize == NULL || in Downmix_Command() 548 *replySize < (int) sizeof(effect_param_t) + 2 * sizeof(int32_t)) { in Downmix_Command() 557 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Downmix_Command() 562 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command() 564 || pReplyData == NULL || replySize == NULL || *replySize != (int)sizeof(int32_t)) { in Downmix_Command() 587 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Downmix_Command() [all …]
|
/frameworks/av/media/libeffects/dynamicsproc/ |
D | EffectDynamicsProcessing.cpp | 438 void *pCmdData, uint32_t *replySize, void *pReplyData) { in DP_command() argument 450 if (pReplyData == NULL || *replySize != sizeof(int)) { in DP_command() 458 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in DP_command() 467 *replySize != sizeof(effect_config_t)) { in DP_command() 477 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in DP_command() 491 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in DP_command() 505 if (pCmdData == NULL || pReplyData == NULL || replySize == NULL) { in DP_command() 512 if (cmdSize != expectedCmdSize || *replySize < expectedCmdSize) { in DP_command() 514 cmdSize, expectedCmdSize, *replySize); in DP_command() 529 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in DP_command() [all …]
|
/frameworks/base/media/jni/audioeffect/ |
D | Visualizer.cpp | 258 uint32_t replySize = number * sizeof(int32_t); in getIntMeasurements() local 262 &replySize, measurements); in getIntMeasurements() 264 if ((status == NO_ERROR) && (replySize == 0)) { in getIntMeasurements() 285 uint32_t replySize = mCaptureSize; in getWaveForm() local 286 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); in getWaveForm() 288 if ((status == NO_ERROR) && (replySize == 0)) { in getWaveForm()
|
D | android_media_AudioEffect.cpp | 628 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument 641 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) { in android_media_AudioEffect_native_command() 655 if (replySize != 0 && jReplyData != NULL) { in android_media_AudioEffect_native_command() 667 (uint32_t *)&replySize, in android_media_AudioEffect_native_command() 680 return replySize; in android_media_AudioEffect_native_command()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioEffect.h | 524 uint32_t *replySize, 566 uint32_t replySize, 605 uint32_t replySize, in commandExecuted() argument 615 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
|
D | IEffectClient.h | 37 uint32_t replySize,
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 1850 uint32_t *replySize, in Reverb_command() argument 1868 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)){ in Reverb_command() 1880 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Reverb_command() 1890 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(effect_config_t)) { in Reverb_command() 1919 pReplyData == NULL || replySize == NULL || in Reverb_command() 1920 *replySize < (sizeof(effect_param_t) + p->psize)) { in Reverb_command() 1937 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Reverb_command() 1956 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int32_t)) { in Reverb_command() 1987 if (pReplyData == NULL || *replySize != sizeof(int)){ in Reverb_command() 2012 if (pReplyData == NULL || *replySize != sizeof(int)){ in Reverb_command()
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidEffect.cpp | 87 void* pCommand, SLuint32 *replySize, void *pReply) { in IAndroidEffect_SendCommand() argument 93 pCommand, replySize, pReply); in IAndroidEffect_SendCommand()
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 3297 uint32_t *replySize, in Effect_command() argument 3333 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)){ in Effect_command() 3361 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) { in Effect_command() 3371 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(effect_config_t)) { in Effect_command() 3392 pReplyData == NULL || replySize == NULL || in Effect_command() 3393 *replySize < (sizeof(effect_param_t) + p->psize)) { in Effect_command() 3410 if (*replySize < expectedReplySize) { in Effect_command() 3412 expectedReplySize, *replySize); in Effect_command() 3478 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command() 3492 pReplyData == NULL || replySize == NULL || *replySize != sizeof(int32_t)) { in Effect_command() [all …]
|
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 215 uint32_t replySize = sizeof(int); in DownmixerBufferProvider() local 221 &replySize, &cmdStatus /*pReplyData*/); in DownmixerBufferProvider() 233 replySize = sizeof(int); in DownmixerBufferProvider() 236 &replySize, &cmdStatus /*pReplyData*/); in DownmixerBufferProvider() 259 replySize = sizeof(int); in DownmixerBufferProvider() 262 param /*pCmdData*/, &replySize, &cmdStatus /*pReplyData*/); in DownmixerBufferProvider()
|
/frameworks/av/media/libeffects/downmix/tests/ |
D | downmixtest.cpp | 94 uint32_t replySize = (uint32_t)sizeof(err); in DownmixConfiureAndEnable() local 98 &replySize, &err); in DownmixConfiureAndEnable() 105 &replySize, &err); in DownmixConfiureAndEnable()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | EffectHalInterface.h | 47 uint32_t *replySize, void *pReplyData) = 0;
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 1166 uint32_t *replySize, in command() argument 1187 (*replySize < sizeof(effect_param_t) || in command() 1188 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t))) { in command() 1193 (sizeof(effect_param_t) > *replySize in command() 1194 || ((effect_param_t *)pCmdData)->psize > *replySize in command() 1196 || ((effect_param_t *)pCmdData)->vsize > *replySize in command() 1200 *replySize in command() 1227 replySize, in command() 1230 uint32_t size = (replySize == NULL) ? 0 : *replySize; in command() 1743 uint32_t *replySize, in command() argument [all …]
|