Home
last modified time | relevance | path

Searched refs:replySize (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/media/libmedia/
DIEffect.cpp160 uint32_t replySize = data.readInt32(); in onTransact() local
161 uint32_t replySz = replySize; in onTransact()
163 if (replySize) { in onTransact()
164 resp = (char *)malloc(replySize); in onTransact()
168 if (replySz < replySize) { in onTransact()
169 replySize = replySz; in onTransact()
171 reply->writeInt32(replySize); in onTransact()
172 if (replySize) { in onTransact()
173 reply->write(resp, replySize); in onTransact()
DIEffectClient.cpp62 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()
DVisualizer.cpp241 uint32_t replySize = number * sizeof(int32_t); in getIntMeasurements() local
245 &replySize, measurements); in getIntMeasurements()
247 if ((status == NO_ERROR) && (replySize == 0)) { in getIntMeasurements()
268 uint32_t replySize = mCaptureSize; in getWaveForm() local
269 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform); in getWaveForm()
271 if ((status == NO_ERROR) && (replySize == 0)) { in getWaveForm()
DAudioEffect.cpp230 uint32_t *replySize, in command() argument
242 if (replySize == NULL || *replySize != sizeof(status_t) || replyData == NULL) { in command()
248 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); in command()
392 uint32_t replySize __unused, in commandExecuted()
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp139 pContext->replySize = PROXY_REPLY_SIZE_DEFAULT; in EffectProxyCreate()
204 uint32_t *replySize, in Effect_command() argument
268 pCmdData, replySize, pReplyData); in Effect_command()
291 if (replySize != NULL) { in Effect_command()
292 tmpSize = pContext->replySize; in Effect_command()
293 while (tmpSize < *replySize && tmpSize < PROXY_REPLY_SIZE_MAX) { in Effect_command()
296 if (tmpSize > pContext->replySize) { in Effect_command()
299 pContext->replySize = tmpSize; in Effect_command()
301 if (tmpSize > *replySize) { in Effect_command()
302 tmpSize = *replySize; in Effect_command()
[all …]
DEffectProxy.h50 uint32_t *replySize,
78 uint32_t replySize; // current size of temporary reply buffer member
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1339 uint32_t *replySize, in PreProcessingFx_Command() argument
1354 if (pReplyData == NULL || *replySize != sizeof(int)){ in PreProcessingFx_Command()
1367 *replySize != sizeof(int)){ in PreProcessingFx_Command()
1396 *replySize != sizeof(effect_config_t)) { in PreProcessingFx_Command()
1409 *replySize != sizeof(int)) { in PreProcessingFx_Command()
1423 *replySize != sizeof(effect_config_t)){ in PreProcessingFx_Command()
1441 *replySize < (int)sizeof(effect_param_t)){ in PreProcessingFx_Command()
1458 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in PreProcessingFx_Command()
1466 *replySize != sizeof(int32_t)){ in PreProcessingFx_Command()
1486 if (pReplyData == NULL || *replySize != sizeof(int)){ in PreProcessingFx_Command()
[all …]
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp311 void *pCmdData, uint32_t *replySize, void *pReplyData) { in LE_command() argument
323 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
330 || pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
338 *replySize != sizeof(effect_config_t)) { in LE_command()
347 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
358 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
372 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) { in LE_command()
378 *replySize = sizeof(effect_param_t) + sizeof(uint32_t); in LE_command()
388 *replySize += sizeof(int32_t); in LE_command()
397 pReplyData == NULL || *replySize != sizeof(int32_t)) { in LE_command()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp414 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Visualizer_command() argument
427 if (pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
434 || pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
442 *replySize != sizeof(effect_config_t)) { in Visualizer_command()
451 if (pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
462 if (pReplyData == NULL || *replySize != sizeof(int)) { in Visualizer_command()
476 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t))) { in Visualizer_command()
482 *replySize = sizeof(effect_param_t) + sizeof(uint32_t); in Visualizer_command()
492 *replySize += sizeof(uint32_t); in Visualizer_command()
498 *replySize += sizeof(uint32_t); in Visualizer_command()
[all …]
/frameworks/av/include/media/
DAudioEffect.h377 uint32_t *replySize,
412 uint32_t replySize,
434 uint32_t replySize, in commandExecuted() argument
436 mEffect->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h37 uint32_t replySize,
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp627 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Equalizer_command() argument
642 if (pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command()
649 || pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command()
656 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { in Equalizer_command()
666 pReplyData == NULL || *replySize < (sizeof(effect_param_t) + sizeof(int32_t))) { in Equalizer_command()
675 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Equalizer_command()
677 *(int32_t *)((char *)pCmdData + sizeof(effect_param_t)), *replySize, in Equalizer_command()
684 cmdSize, pCmdData, *replySize, pReplyData); in Equalizer_command()
686 pReplyData == NULL || *replySize != sizeof(int32_t)) { in Equalizer_command()
694 if (pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command()
[all …]
DEffectReverb.c280 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Reverb_Command() argument
296 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
306 || pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
313 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) { in Reverb_Command()
322 …EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",pCmdData, *replySize, pReplyData); in Reverb_Command()
325 pReplyData == NULL || *replySize < (int) sizeof(effect_param_t)) { in Reverb_Command()
333 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Reverb_Command()
337 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command()
339 || pReplyData == NULL || *replySize != (int)sizeof(int32_t)) { in Reverb_Command()
347 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
[all …]
DEffectReverb.h318 uint32_t *replySize,
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c357 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
373 if (pReplyData == NULL || *replySize != sizeof(int)) { in Downmix_Command()
381 || pReplyData == NULL || *replySize != sizeof(int)) { in Downmix_Command()
394 pCmdData, *replySize, pReplyData); in Downmix_Command()
397 *replySize < (int) sizeof(effect_param_t) + 2 * sizeof(int32_t)) { in Downmix_Command()
406 *replySize = sizeof(effect_param_t) + sizeof(int32_t) + rep->vsize; in Downmix_Command()
411 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
413 || pReplyData == NULL || *replySize != (int)sizeof(int32_t)) { in Downmix_Command()
432 if (pReplyData == NULL || *replySize != sizeof(int)) { in Downmix_Command()
444 if (pReplyData == NULL || *replySize != sizeof(int)) { in Downmix_Command()
DEffectDownmix.h83 uint32_t *replySize,
/frameworks/wilhelm/src/itf/
DIAndroidEffect.cpp87 void* pCommand, SLuint32 *replySize, void *pReply) { in IAndroidEffect_SendCommand() argument
93 pCommand, replySize, pReply); in IAndroidEffect_SendCommand()
/frameworks/av/services/audioflinger/
DEffects.h67 uint32_t *replySize,
182 uint32_t *replySize,
201 uint32_t replySize,
DEffects.cpp541 uint32_t *replySize, in command() argument
557 replySize, in command()
560 uint32_t size = (replySize == NULL) ? 0 : *replySize; in command()
1197 uint32_t *replySize, in command() argument
1272 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
1290 uint32_t replySize, in commandExecuted() argument
1294 mEffectClient->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DAudioMixer.cpp223 uint32_t replySize = sizeof(int); in DownmixerBufferProvider() local
229 &replySize, &cmdStatus /*pReplyData*/); in DownmixerBufferProvider()
239 replySize = sizeof(int); in DownmixerBufferProvider()
242 &replySize, &cmdStatus /*pReplyData*/); in DownmixerBufferProvider()
263 replySize = sizeof(int); in DownmixerBufferProvider()
266 param /*pCmdData*/, &replySize, &cmdStatus /*pReplyData*/); in DownmixerBufferProvider()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp2935 uint32_t *replySize, in Effect_command() argument
2972 if (pReplyData == NULL || *replySize != sizeof(int)){ in Effect_command()
3002 *replySize != sizeof(int)){ in Effect_command()
3013 *replySize != sizeof(effect_config_t)) { in Effect_command()
3035 *replySize < (sizeof(effect_param_t) + sizeof(int32_t))){ in Effect_command()
3053 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command()
3066 *replySize < (sizeof(effect_param_t) + sizeof(int32_t))){ in Effect_command()
3083 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command()
3097 *replySize < (int) (sizeof(effect_param_t) + sizeof(int32_t))) { in Effect_command()
3115 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Effect_command()
[all …]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1898 uint32_t *replySize, in Reverb_command() argument
1918 if (pReplyData == NULL || *replySize != sizeof(int)){ in Reverb_command()
1932 *replySize != sizeof(int)) { in Reverb_command()
1943 *replySize != sizeof(effect_config_t)) { in Reverb_command()
1964 *replySize < (sizeof(effect_param_t) + sizeof(int32_t))){ in Reverb_command()
1982 *replySize = sizeof(effect_param_t) + voffset + p->vsize; in Reverb_command()
2001 || pReplyData == NULL || *replySize != sizeof(int32_t)) { in Reverb_command()
2031 if (pReplyData == NULL || *replySize != sizeof(int)){ in Reverb_command()
2056 if (pReplyData == NULL || *replySize != sizeof(int)){ in Reverb_command()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp648 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument
664 if ((cmdSize != 0 && jCmdData == NULL) || (replySize != 0 && jReplyData == NULL)) { in android_media_AudioEffect_native_command()
678 if (replySize != 0 && jReplyData != NULL) { in android_media_AudioEffect_native_command()
689 (uint32_t *)&replySize, in android_media_AudioEffect_native_command()
702 return replySize; in android_media_AudioEffect_native_command()
/frameworks/wilhelm/src/android/
Dandroid_Effect.h92 SLuint32 *replySize, void *pReplyData);
/frameworks/wilhelm/include/SLES/
DOpenSLES_Android.h89 SLuint32 *replySize,

12