Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/libeffects/visualizer/
H A DEffectVisualizer.cpp511 if (pReplyData == NULL || replySize == NULL || in Visualizer_command()
529 *(int *)pReplyData = 0; in Visualizer_command()
540 *(int *)pReplyData = 0; in Visualizer_command()
586 *(int32_t *)pReplyData = 0; in Visualizer_command()
589 *(int32_t *)pReplyData = -EINVAL; in Visualizer_command()
597 *(int32_t *)pReplyData = -EINVAL; in Visualizer_command()
621 *(int32_t *)pReplyData = -EINVAL; in Visualizer_command()
673 memcpy(pReplyData, in Visualizer_command()
676 pReplyData = (char *)pReplyData + size; in Visualizer_command()
680 memcpy(pReplyData, in Visualizer_command()
[all …]
/aosp12/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp362 if (pReplyData == NULL || *replySize != sizeof(int)) { in LE_command()
365 *(int *) pReplyData = LE_init(pContext); in LE_command()
372 *(int *) pReplyData = LE_setConfig(pContext, in LE_command()
376 if (pReplyData == NULL || in LE_command()
394 *(int *)pReplyData = 0; in LE_command()
405 *(int *)pReplyData = 0; in LE_command()
410 pReplyData == NULL || replySize == NULL || in LE_command()
415 effect_param_t *p = (effect_param_t *)pReplyData; in LE_command()
439 *(int32_t *)pReplyData = 0; in LE_command()
442 *(int32_t *)pReplyData = -EINVAL; in LE_command()
[all …]
/aosp12/hardware/qcom/audio/post_proc/
H A Dbundle.c565 *(int *) pReplyData = 0; in effect_command()
576 if (pReplyData == NULL || in effect_command()
586 get_config(context, (effect_config_t *)pReplyData); in effect_command()
605 *(int *)pReplyData = 0; in effect_command()
620 *(int *)pReplyData = 0; in effect_command()
625 pReplyData == NULL || in effect_command()
640 effect_param_t *p = (effect_param_t *)pReplyData; in effect_command()
654 *(int32_t *)pReplyData = 0; in effect_command()
675 if (pReplyData == NULL) { in effect_command()
682 memcpy(pReplyData, pCmdData, sizeof(int32_t)*2); in effect_command()
[all …]
H A Dbundle.h67 void *pCmdData, uint32_t *replySize, void *pReplyData);
/aosp12/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp1116 *(int*)pReplyData = 0; in PreProcessingFx_Command()
1140 if (*(int*)pReplyData != 0) { in PreProcessingFx_Command()
1165 *(int*)pReplyData = in PreProcessingFx_Command()
1167 if (*(int*)pReplyData != 0) { in PreProcessingFx_Command()
1226 *(int*)pReplyData = in PreProcessingFx_Command()
1284 *(int*)pReplyData = 0; in PreProcessingFx_Command()
1305 *(int*)pReplyData = 0; in PreProcessingFx_Command()
1322 *(int*)pReplyData = 0; in PreProcessingFx_Command()
1357 *(uint32_t*)pReplyData = 0; in PreProcessingFx_Command()
1383 *(uint32_t*)pReplyData = 0; in PreProcessingFx_Command()
[all …]
/aosp12/hardware/qcom/audio/voice_processing/
H A Dvoice_processing.c525 void *pReplyData) in fx_command() argument
536 if (pReplyData == NULL || *replySize != sizeof(int)) in fx_command()
539 *(int *)pReplyData = 0; in fx_command()
545 pReplyData == NULL|| in fx_command()
551 if (*(int *)pReplyData != 0) in fx_command()
560 if (pReplyData == NULL || in fx_command()
575 pReplyData == NULL || in fx_command()
585 p = (effect_param_t *)pReplyData; in fx_command()
593 pReplyData == NULL || in fx_command()
604 *(int *)pReplyData = -ENOSYS; in fx_command()
[all …]
/aosp12/frameworks/av/media/libaudiohal/impl/
H A DEffectHalHidl.cpp186 uint32_t *replySize, void *pReplyData) { in command() argument
191 return setConfigImpl(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
193 return getConfigImpl(cmdCode, replySize, pReplyData); in command()
203 if (replySize == nullptr || pReplyData == nullptr) replySize = &replySizeStub; in command()
209 if (pReplyData != nullptr && *replySize > 0) { in command()
210 memcpy(pReplyData, &result[0], *replySize); in command()
258 uint32_t cmdCode, uint32_t *replySize, void *pReplyData) { in getConfigImpl() argument
269 hidlConfig, static_cast<effect_config_t*>(pReplyData)); in getConfigImpl()
277 hidlConfig, static_cast<effect_config_t*>(pReplyData)); in getConfigImpl()
290 replySize == NULL || *replySize != sizeof(int32_t) || pReplyData == NULL) { in setConfigImpl()
[all …]
H A DEffectHalHidl.h53 uint32_t *replySize, void *pReplyData);
89 status_t getConfigImpl(uint32_t cmdCode, uint32_t *replySize, void *pReplyData);
95 uint32_t *replySize, void *pReplyData);
/aosp12/frameworks/av/media/libeffects/testlibs/
H A 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()
655 *(int *) pReplyData = Equalizer_setConfig(pContext, in Equalizer_command()
674 p = (effect_param_t *)pReplyData; 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()
705 *(int *)pReplyData = 0; in Equalizer_command()
708 if (pReplyData == NULL || *replySize != sizeof(int)) { in Equalizer_command()
[all …]
H A DEffectReverb.c283 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Reverb_Command() argument
299 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
303 if (*(int *) pReplyData == 0) { in Reverb_Command()
309 || pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
312 *(int *) pReplyData = Reverb_setConfig(pRvbModule, in Reverb_Command()
331 effect_param_t *rep = (effect_param_t *) pReplyData; in Reverb_Command()
340 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command()
350 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
358 *(int *)pReplyData = 0; in Reverb_Command()
361 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_Command()
[all …]
H A DEffectReverb.h319 void *pReplyData);
/aosp12/hardware/qcom/audio/visualizer/
H A Doffload_visualizer.c854 memcpy(pReplyData, in visualizer_command()
857 pReplyData = (void *)((size_t)pReplyData + size); in visualizer_command()
861 memcpy(pReplyData, in visualizer_command()
883 if (pReplyData == NULL || replySize == NULL || in visualizer_command()
1130 *(int *) pReplyData = 0; in effect_command()
1141 if (pReplyData == NULL || in effect_command()
1171 *(int *)pReplyData = 0; in effect_command()
1187 *(int *)pReplyData = 0; in effect_command()
1192 pReplyData == NULL || in effect_command()
1213 *(int32_t *)pReplyData = 0; in effect_command()
[all …]
/aosp12/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.cpp69 void *pReplyData);
389 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
407 *(int *) pReplyData = Downmix_Init(pDwmModule); in Downmix_Command()
415 *(int *) pReplyData = Downmix_Configure(pDwmModule, in Downmix_Command()
425 pCmdData, *replySize, pReplyData); in Downmix_Command()
427 pReplyData == NULL || replySize == NULL || in Downmix_Command()
431 effect_param_t *rep = (effect_param_t *) pReplyData; in Downmix_Command()
432 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Downmix_Command()
442 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
476 *(int *)pReplyData = 0; in Downmix_Command()
[all …]
/aosp12/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.cpp213 void *pReplyData) { in Effect_command() argument
259 *(int*)pReplyData = FAILED_TRANSACTION; in Effect_command()
269 *(int*)pReplyData = FAILED_TRANSACTION; in Effect_command()
281 pCmdData, replySize, pReplyData); in Effect_command()
283 *(int*)pReplyData = NO_ERROR; in Effect_command()
285 *(int*)pReplyData); in Effect_command()
333 subReplyData[i] = pReplyData; in Effect_command()
337 subReplyData[i] = pReplyData == NULL ? NULL : pContext->replyData; in Effect_command()
H A DEffectProxy.h51 void *pReplyData);
/aosp12/frameworks/av/media/libeffects/dynamicsproc/
H A DEffectDynamicsProcessing.cpp454 *(int *) pReplyData = DP_init(pContext); in DP_command()
462 *(int *) pReplyData = DP_setConfig(pContext, in DP_command()
466 if (pReplyData == NULL || in DP_command()
483 *(int *)pReplyData = -ENOSYS; in DP_command()
487 *(int *)pReplyData = 0; in DP_command()
497 *(int *)pReplyData = -ENOSYS; in DP_command()
501 *(int *)pReplyData = 0; in DP_command()
519 memcpy(pReplyData, pCmdData, expectedCmdSize); in DP_command()
520 effect_param_t *p = (effect_param_t *)pReplyData; in DP_command()
546 *(int *)pReplyData = DP_setParameter(pContext, in DP_command()
[all …]
/aosp12/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp1771 uint32_t* replySize, void* pReplyData) { in Reverb_command() argument
1793 *(int*)pReplyData = 0; in Reverb_command()
1837 pReplyData == NULL || replySize == NULL || in Reverb_command()
1846 p = (effect_param_t*)pReplyData; in Reverb_command()
1900 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_command()
1910 *(int*)pReplyData = 0; in Reverb_command()
1925 if (pReplyData == NULL || *replySize != sizeof(int)) { in Reverb_command()
1935 *(int*)pReplyData = 0; in Reverb_command()
1946 if (pReplyData != NULL) { // we have volume control in Reverb_command()
1949 *(uint32_t*)pReplyData = (1 << 24); in Reverb_command()
[all …]
/aosp12/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp3065 uint32_t* replySize, void* pReplyData) { in Effect_command() argument
3105 *(int*)pReplyData = 0; in Effect_command()
3121 *(int*)pReplyData = android::VolumeSetVolumeLevel(pContext, 0); in Effect_command()
3144 android::Effect_getConfig(pContext, (effect_config_t*)pReplyData); in Effect_command()
3182 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + p->psize); in Effect_command()
3184 p = (effect_param_t*)pReplyData; in Effect_command()
3262 *(int*)pReplyData = android::BassBoost_setParameter( in Effect_command()
3294 *(int*)pReplyData = android::Virtualizer_setParameter( in Effect_command()
3317 *(int*)pReplyData = android::Equalizer_setParameter( in Effect_command()
3451 if (pReplyData == LVM_NULL) { in Effect_command()
[all …]
/aosp12/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp643 jbyte* pReplyData = NULL; in android_media_AudioEffect_native_command() local
668 pReplyData = (jbyte *) env->GetPrimitiveArrayCritical(jReplyData, NULL); in android_media_AudioEffect_native_command()
669 if (pReplyData == NULL) { in android_media_AudioEffect_native_command()
680 pReplyData)); in android_media_AudioEffect_native_command()
687 if (pReplyData != NULL) { in android_media_AudioEffect_native_command()
688 env->ReleasePrimitiveArrayCritical(jReplyData, pReplyData, 0); in android_media_AudioEffect_native_command()
/aosp12/frameworks/av/media/libaudiohal/include/media/audiohal/
H A DEffectHalInterface.h47 uint32_t *replySize, void *pReplyData) = 0;
/aosp12/hardware/libhardware/include/hardware/
H A Daudio_effect.h147 void *pReplyData);
/aosp12/frameworks/wilhelm/src/android/
H A Dandroid_Effect.h107 SLuint32 *replySize, void *pReplyData);
H A Dandroid_Effect.cpp895 SLuint32 *replySize, void *pReplyData) { in android_genericFx_sendCommand() argument
908 pReplyData); in android_genericFx_sendCommand()
/aosp12/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c90 void *pReplyData) in Effect_Command() argument
105 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()
/aosp12/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h114 void *pReplyData);