HomeSort by relevance Sort by last modified time
    Searched refs:replySize (Results 1 - 25 of 128) sorted by null

1 2 3 4 5 6

  /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/libaudioclient/
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 173 uint32_t replySize = data.readInt32();
174 uint32_t replySz = replySize;
176 if (replySize) {
177 if (replySize > EFFECT_PARAM_SIZE_MAX) {
182 resp = (char *)calloc(replySize, 1);
192 if (replySz < replySize) {
193 replySize = replySz;
195 reply->writeInt32(replySize);
196 if (replySize) {
197 reply->write(resp, replySize);
    [all...]
  /frameworks/av/media/libeffects/proxy/
EffectProxy.cpp 137 pContext->replySize = PROXY_REPLY_SIZE_DEFAULT;
202 uint32_t *replySize,
242 if (replySize == NULL || *replySize < sizeof(int)) {
271 pCmdData, replySize, pReplyData);
294 if (replySize != NULL) {
295 tmpSize = pContext->replySize;
296 while (tmpSize < *replySize && tmpSize < PROXY_REPLY_SIZE_MAX) {
299 if (tmpSize > pContext->replySize) {
302 pContext->replySize = tmpSize
    [all...]
EffectProxy.h 50 uint32_t *replySize,
78 uint32_t replySize; // current size of temporary reply buffer
  /frameworks/av/media/libeffects/visualizer/
EffectVisualizer.cpp 418 void *pCmdData, uint32_t *replySize, void *pReplyData) {
430 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) {
437 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) {
444 if (pReplyData == NULL || replySize == NULL ||
445 *replySize != sizeof(effect_config_t)) {
454 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) {
465 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int))
    [all...]
  /frameworks/av/media/libaudioclient/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/libaudiohal/
EffectHalHidl.cpp 225 uint32_t *replySize, void *pReplyData) {
230 return setConfigImpl(cmdCode, cmdSize, pCmdData, replySize, pReplyData);
232 return getConfigImpl(cmdCode, replySize, pReplyData);
242 if (replySize == nullptr || pReplyData == nullptr) replySize = &replySizeStub;
243 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize,
247 if (*replySize > result.size()) *replySize = result.size();
248 if (pReplyData != nullptr && *replySize > 0) {
249 memcpy(pReplyData, &result[0], *replySize);
    [all...]
EffectHalLocal.cpp 71 uint32_t *replySize, void *pReplyData) {
72 return (*mHandle)->command(mHandle, cmdCode, cmdSize, pCmdData, replySize, pReplyData);
EffectHalHidl.h 53 uint32_t *replySize, void *pReplyData);
96 status_t getConfigImpl(uint32_t cmdCode, uint32_t *replySize, void *pReplyData);
102 uint32_t *replySize, void *pReplyData);
EffectHalLocal.h 43 uint32_t *replySize, void *pReplyData);
  /frameworks/av/media/libaudiohal/include/media/audiohal/
EffectHalInterface.h 47 uint32_t *replySize, void *pReplyData) = 0;
  /frameworks/av/media/libeffects/loudness/
EffectLoudnessEnhancer.cpp 314 void *pCmdData, uint32_t *replySize, void *pReplyData) {
325 if (pReplyData == NULL || *replySize != sizeof(int)) {
332 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) {
340 *replySize != sizeof(effect_config_t)) {
349 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) {
360 if (pReplyData == NULL || *replySize != sizeof(int)) {
373 pReplyData == NULL || replySize == NULL ||
374 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint32_t)))
    [all...]
  /hardware/qcom/audio/post_proc/
bundle.c 537 void *pCmdData, uint32_t *replySize, void *pReplyData)
558 if (pReplyData == NULL || *replySize != sizeof(int)) {
569 || pReplyData == NULL || *replySize != sizeof(int)) {
577 *replySize != sizeof(effect_config_t)) {
593 if (pReplyData == NULL || *replySize != sizeof(int)) {
608 if (pReplyData == NULL || *replySize != sizeof(int)) {
626 *replySize < (int)(sizeof(effect_param_t) + sizeof(uint32_t) + sizeof(uint16_t)) ||
628 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t)) {
630 ALOGV("EFFECT_CMD_GET_PARAM invalid command cmdSize %d *replySize %d",
631 cmdSize, *replySize);
    [all...]
bundle.h 67 void *pCmdData, uint32_t *replySize, void *pReplyData);
  /frameworks/av/media/libeffects/preprocessing/
PreProcessing.cpp     [all...]
  /frameworks/av/media/libmedia/
Visualizer.cpp 239 uint32_t replySize = number * sizeof(int32_t);
243 &replySize, measurements);
245 if ((status == NO_ERROR) && (replySize == 0)) {
266 uint32_t replySize = mCaptureSize;
267 status = command(VISUALIZER_CMD_CAPTURE, 0, NULL, &replySize, waveform);
269 if ((status == NO_ERROR) && (replySize == 0)) {
  /frameworks/wilhelm/src/itf/
IAndroidEffect.cpp 87 void* pCommand, SLuint32 *replySize, void *pReply) {
93 pCommand, replySize, pReply);
  /frameworks/av/media/libeffects/testlibs/
EffectEqualizer.cpp 630 void *pCmdData, uint32_t *replySize, void *pReplyData) {
645 if (pReplyData == NULL || *replySize != sizeof(int)) {
652 || pReplyData == NULL || *replySize != sizeof(int)) {
659 if (pReplyData == NULL || *replySize != sizeof(effect_config_t)) {
669 pReplyData == NULL || *replySize < (sizeof(effect_param_t) + sizeof(int32_t))) {
678 *replySize = sizeof(effect_param_t) + voffset + p->vsize;
679 ALOGV("Equalizer_command EFFECT_CMD_GET_PARAM *pCmdData %d, *replySize %d, *pReplyData %08x %08x",
680 *(int32_t *)((char *)pCmdData + sizeof(effect_param_t)), *replySize,
686 ALOGV("Equalizer_command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, pReplyData %p",
687 cmdSize, pCmdData, *replySize, pReplyData)
    [all...]
  /frameworks/av/media/libeffects/downmix/
EffectDownmix.c 507 void *pCmdData, uint32_t *replySize, void *pReplyData) {
522 if (pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) {
530 || pReplyData == NULL || replySize == NULL || *replySize != sizeof(int)) {
542 ALOGV("Downmix_Command EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %" PRIu32 ", pReplyData: %p",
543 pCmdData, *replySize, pReplyData);
545 pReplyData == NULL || replySize == NULL ||
546 *replySize < (int) sizeof(effect_param_t) + 2 * sizeof(int32_t)) {
551 ALOGV("Downmix_Command EFFECT_CMD_GET_PARAM param %" PRId32 ", replySize %" PRIu32
    [all...]
  /hardware/libhardware/include/hardware/
audio_effect.h 127 // replySize: maximum size of reply data as input
146 uint32_t *replySize,
  /hardware/qcom/audio/visualizer/
offload_visualizer.c 69 void *pCmdData, uint32_t *replySize, void *pReplyData);
811 void *pCmdData __unused, uint32_t *replySize, void *pReplyData)
817 if (pReplyData == NULL || *replySize != visu_ctxt->capture_size) {
818 ALOGV("%s VISUALIZER_CMD_CAPTURE error *replySize %d context->capture_size %d",
819 __func__, *replySize, visu_ctxt->capture_size);
871 if (pReplyData == NULL || replySize == NULL ||
872 *replySize < (sizeof(int32_t) * MEASUREMENT_COUNT)) {
873 if (replySize == NULL) {
874 ALOGV("%s VISUALIZER_CMD_MEASURE error replySize NULL", __func__);
876 ALOGV("%s VISUALIZER_CMD_MEASURE error *replySize %u <
    [all...]
  /hardware/qcom/audio/voice_processing/
voice_processing.c 524 uint32_t *replySize,
536 if (pReplyData == NULL || *replySize != sizeof(int))
546 *replySize != sizeof(int)) {
561 *replySize != sizeof(effect_config_t)) {
576 *replySize < (int)sizeof(effect_param_t) ||
578 ((effect_param_t *)pCmdData)->psize > *replySize - sizeof(effect_param_t)) {
594 *replySize != sizeof(int32_t)) {
608 if (pReplyData == NULL || *replySize != sizeof(int)) {
616 if (pReplyData == NULL || *replySize != sizeof(int)) {
  /hardware/interfaces/audio/effect/2.0/default/
Effect.cpp 433 uint32_t* replySize, void* replyData) {
434 return sendCommandReturningData(commandCode, commandName, 0, NULL, replySize, replyData);
440 uint32_t* replySize, void* replyData) {
441 uint32_t expectedReplySize = *replySize;
442 status_t status = (*mHandle)->command(mHandle, commandCode, size, data, replySize, replyData);
443 if (status == OK && *replySize != expectedReplySize) {
456 uint32_t replySize = sizeof(uint32_t);
458 commandCode, commandName, size, data, &replySize, &replyCmdStatus, replySize, []{});
464 uint32_t* replySize, void* replyData
    [all...]

Completed in 764 milliseconds

1 2 3 4 5 6