Lines Matching refs:pReplyData
94 void* pReplyData) { in handleCommand() argument
100 return (this->*handler->second)(cmdSize, pCmdData, replySize, pReplyData); in handleCommand()
105 void* pReplyData) { in handleInit() argument
106 if (!replySize || *replySize < sizeof(int) || !pReplyData) { in handleInit()
108 numericPointerToString(replySize).c_str(), pReplyData); in handleInit()
113 return *(status_t*)pReplyData = OK; in handleInit()
117 uint32_t* replySize, void* pReplyData) { in handleSetParameter() argument
119 !pReplyData) { in handleSetParameter()
121 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetParameter()
132 EffectParamWriter writer(*(effect_param_t*)pReplyData); in handleSetParameter()
134 return *(status_t*)pReplyData = ret; in handleSetParameter()
138 uint32_t* replySize, void* pReplyData) { in handleGetParameter() argument
139 if (cmdSize < sizeof(effect_param_t) || !pCmdData || !replySize || !pReplyData) { in handleGetParameter()
141 pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleGetParameter()
152 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + reader.getParameterSize()); in handleGetParameter()
153 auto writer = EffectParamWriter(*(effect_param_t*)pReplyData); in handleGetParameter()
165 uint32_t* replySize, void* pReplyData) { in handleSetConfig() argument
166 if (!replySize || *replySize != sizeof(int) || !pReplyData || in handleSetConfig()
169 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetConfig()
203 return *static_cast<int32_t*>(pReplyData) = OK; in handleSetConfig()
228 uint32_t* replySize, void* pReplyData) { in handleGetConfig() argument
229 if (!replySize || *replySize != sizeof(effect_config_t) || !pReplyData) { in handleGetConfig()
231 numericPointerToString(replySize).c_str(), pReplyData); in handleGetConfig()
245 effect_config_t* pConfig = (effect_config_t*)pReplyData; in handleGetConfig()
255 void* pReplyData) { in handleReset() argument
256 if (!replySize || *replySize != sizeof(int) || !pReplyData) { in handleReset()
258 numericPointerToString(replySize).c_str(), pReplyData); in handleReset()
262 return *(int *)pReplyData = statusTFromBinderStatus(mEffect->command(CommandId::RESET)); in handleReset()
267 uint32_t* replySize, void* pReplyData) { in handleEnable() argument
268 if (!replySize || *replySize != sizeof(int) || !pReplyData) { in handleEnable()
270 numericPointerToString(replySize).c_str(), pReplyData); in handleEnable()
274 return *(int *)pReplyData = statusTFromBinderStatus(mEffect->command(CommandId::START)); in handleEnable()
279 uint32_t* replySize, void* pReplyData) { in handleDisable() argument
280 if (!replySize || *replySize != sizeof(int) || !pReplyData) { in handleDisable()
282 numericPointerToString(replySize).c_str(), pReplyData); in handleDisable()
286 return *(int *)pReplyData = statusTFromBinderStatus(mEffect->command(CommandId::STOP)); in handleDisable()
290 uint32_t* replySize, void* pReplyData) { in handleSetAudioSource() argument
291 if (cmdSize != sizeof(uint32_t) || !pCmdData || !replySize || !pReplyData) { in handleSetAudioSource()
293 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetAudioSource()
306 return *static_cast<int32_t*>(pReplyData) = OK; in handleSetAudioSource()
310 uint32_t* replySize, void* pReplyData) { in handleSetAudioMode() argument
311 if (cmdSize != sizeof(uint32_t) || !pCmdData || !replySize || !pReplyData) { in handleSetAudioMode()
313 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetAudioMode()
325 return *static_cast<int32_t*>(pReplyData) = OK; in handleSetAudioMode()
329 uint32_t* replySize, void* pReplyData) { in handleSetDevice() argument
330 if (cmdSize != sizeof(uint32_t) || !pCmdData || !replySize || !pReplyData) { in handleSetDevice()
332 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetDevice()
357 return *static_cast<int32_t*>(pReplyData) = OK; in handleSetDevice()
361 uint32_t* replySize, void* pReplyData) { in handleSetVolume() argument
388 if (replySize && *replySize == 2 * sizeof(uint32_t) && pReplyData) { in handleSetVolume()
390 memcpy(pReplyData, vol_ret, sizeof(vol_ret)); in handleSetVolume()
396 uint32_t* replySize, void* pReplyData) { in handleSetOffload() argument
397 if (cmdSize < sizeof(effect_offload_param_t) || !pCmdData || !replySize || !pReplyData) { in handleSetOffload()
399 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetOffload()
421 return *static_cast<int32_t*>(pReplyData) = OK; in handleSetOffload()
427 void* pReplyData) { in handleVisualizerCapture() argument
428 if (!replySize || !pReplyData) { in handleVisualizerCapture()
430 numericPointerToString(replySize).c_str(), pReplyData); in handleVisualizerCapture()
442 return visualizerCapture(replySize, pReplyData); in handleVisualizerCapture()
448 void* pReplyData) { in handleVisualizerMeasure() argument
449 if (!replySize || !pReplyData) { in handleVisualizerMeasure()
451 numericPointerToString(replySize).c_str(), pReplyData); in handleVisualizerMeasure()
463 return visualizerMeasure(replySize, pReplyData); in handleVisualizerMeasure()