Lines Matching refs:pCmdData
93 void* pCmdData, uint32_t* replySize, in handleCommand() argument
100 return (this->*handler->second)(cmdSize, pCmdData, replySize, pReplyData); in handleCommand()
104 const void* pCmdData __unused, uint32_t* replySize, in handleInit()
116 status_t EffectConversionHelperAidl::handleSetParameter(uint32_t cmdSize, const void* pCmdData, in handleSetParameter() argument
118 if (cmdSize < sizeof(effect_param_t) || !pCmdData || !replySize || *replySize < sizeof(int) || in handleSetParameter()
121 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetParameter()
125 auto reader = EffectParamReader(*(effect_param_t*)pCmdData); in handleSetParameter()
137 status_t EffectConversionHelperAidl::handleGetParameter(uint32_t cmdSize, const void* pCmdData, in handleGetParameter() argument
139 if (cmdSize < sizeof(effect_param_t) || !pCmdData || !replySize || !pReplyData) { in handleGetParameter()
141 pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleGetParameter()
145 const auto reader = EffectParamReader(*(effect_param_t*)pCmdData); in handleGetParameter()
152 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + reader.getParameterSize()); in handleGetParameter()
164 status_t EffectConversionHelperAidl::handleSetConfig(uint32_t cmdSize, const void* pCmdData, in handleSetConfig() argument
169 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetConfig()
173 effect_config_t* config = (effect_config_t*)pCmdData; in handleSetConfig()
227 const void* pCmdData __unused, in handleGetConfig()
254 const void* pCmdData __unused, uint32_t* replySize, in handleReset()
266 const void* pCmdData __unused, in handleEnable()
278 const void* pCmdData __unused, in handleDisable()
289 status_t EffectConversionHelperAidl::handleSetAudioSource(uint32_t cmdSize, const void* pCmdData, in handleSetAudioSource() argument
291 if (cmdSize != sizeof(uint32_t) || !pCmdData || !replySize || !pReplyData) { in handleSetAudioSource()
293 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetAudioSource()
301 audio_source_t source = *(audio_source_t*)pCmdData; in handleSetAudioSource()
309 status_t EffectConversionHelperAidl::handleSetAudioMode(uint32_t cmdSize, const void* pCmdData, in handleSetAudioMode() argument
311 if (cmdSize != sizeof(uint32_t) || !pCmdData || !replySize || !pReplyData) { in handleSetAudioMode()
313 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetAudioMode()
320 audio_mode_t mode = *(audio_mode_t *)pCmdData; in handleSetAudioMode()
328 status_t EffectConversionHelperAidl::handleSetDevice(uint32_t cmdSize, const void* pCmdData, in handleSetDevice() argument
330 if (cmdSize != sizeof(uint32_t) || !pCmdData || !replySize || !pReplyData) { in handleSetDevice()
332 cmdSize, pCmdData, numericPointerToString(replySize).c_str(), pReplyData); in handleSetDevice()
340 auto legacyDevices = *(uint32_t*)(pCmdData); in handleSetDevice()
360 status_t EffectConversionHelperAidl::handleSetVolume(uint32_t cmdSize, const void* pCmdData, in handleSetVolume() argument
362 if (cmdSize != 2 * sizeof(uint32_t) || !pCmdData) { in handleSetVolume()
363 ALOGE("%s parameter invalid %u %p", __func__, cmdSize, pCmdData); in handleSetVolume()
368 uint32_t vl = *(uint32_t*)pCmdData; in handleSetVolume()
369 uint32_t vr = *((uint32_t*)pCmdData + 1); in handleSetVolume()
395 status_t EffectConversionHelperAidl::handleSetOffload(uint32_t cmdSize, const void* pCmdData, 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()
402 effect_offload_param_t* offload = (effect_offload_param_t*)pCmdData; in handleSetOffload()
425 const void* pCmdData __unused, in handleVisualizerCapture()
446 const void* pCmdData __unused, in handleVisualizerMeasure()