Lines Matching refs:cmdCode
1163 status_t AudioFlinger::EffectModule::command(uint32_t cmdCode, in command() argument
1170 ALOGVV("command(), cmdCode: %d, mEffectInterface: %p", cmdCode, mEffectInterface.get()); in command()
1178 if (cmdCode == EFFECT_CMD_GET_PARAM && in command()
1186 if (cmdCode == EFFECT_CMD_GET_PARAM && in command()
1192 if (cmdCode == EFFECT_CMD_GET_PARAM && in command()
1208 if ((cmdCode == EFFECT_CMD_SET_PARAM in command()
1209 || cmdCode == EFFECT_CMD_SET_PARAM_DEFERRED) && // DEFERRED not generally used in command()
1224 status_t status = mEffectInterface->command(cmdCode, in command()
1229 if (cmdCode != EFFECT_CMD_GET_PARAM && status == NO_ERROR) { in command()
1234 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1407 const AudioDeviceTypeAddrVector &devices, uint32_t cmdCode) in sendSetAudioDevicesCommand() argument
1423 status = mEffectInterface->command(cmdCode, in sendSetAudioDevicesCommand()
1740 status_t AudioFlinger::EffectHandle::command(uint32_t cmdCode, in command() argument
1747 cmdCode, mHasControl, mEffect.unsafe_get()); in command()
1751 switch(cmdCode) { in command()
1760 if (cmdCode >= EFFECT_CMD_FIRST_PROPRIETARY) { in command()
1767 if (cmdCode == EFFECT_CMD_ENABLE) { in command()
1775 } else if (cmdCode == EFFECT_CMD_DISABLE) { in command()
1791 if (!mHasControl && cmdCode != EFFECT_CMD_GET_PARAM) { in command()
1796 if (cmdCode == EFFECT_CMD_SET_PARAM_COMMIT) { in command()
1877 return effect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
1892 void AudioFlinger::EffectHandle::commandExecuted(uint32_t cmdCode, in commandExecuted() argument
1899 mEffectClient->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()