Home
last modified time | relevance | path

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

12

/frameworks/av/media/libaudiohal/impl/
DEffectHalHidl.cpp233 status_t EffectHalHidl::command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, in command() argument
238 if (cmdCode == EFFECT_CMD_SET_CONFIG || cmdCode == EFFECT_CMD_SET_CONFIG_REVERSE) { in command()
239 return setConfigImpl(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
240 } else if (cmdCode == EFFECT_CMD_GET_CONFIG || cmdCode == EFFECT_CMD_GET_CONFIG_REVERSE) { in command()
241 return getConfigImpl(cmdCode, replySize, pReplyData); in command()
252 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, in command()
294 uint32_t cmdCode, uint32_t *replySize, void *pReplyData) { in getConfigImpl() argument
300 if (cmdCode == EFFECT_CMD_GET_CONFIG) { in getConfigImpl()
322 uint32_t cmdCode, uint32_t cmdSize, void *pCmdData, uint32_t *replySize, void *pReplyData) { in setConfigImpl() argument
336 Return<Result> ret = cmdCode == EFFECT_CMD_SET_CONFIG ? in setConfigImpl()
DEffectHalHidl.h52 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
97 status_t getConfigImpl(uint32_t cmdCode, uint32_t *replySize, void *pReplyData);
102 uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
/frameworks/av/media/libaudioclient/
DIEffectClient.cpp59 void commandExecuted(uint32_t cmdCode, in commandExecuted() argument
68 data.writeInt32(cmdCode); in commandExecuted()
115 uint32_t cmdCode = data.readInt32(); in onTransact() local
128 commandExecuted(cmdCode, cmdSize, cmd, replySize, resp); in onTransact()
DAudioEffect.cpp248 status_t AudioEffect::command(uint32_t cmdCode, in command() argument
259 if (cmdCode == EFFECT_CMD_ENABLE || cmdCode == EFFECT_CMD_DISABLE) { in command()
260 if (mEnabled == (cmdCode == EFFECT_CMD_ENABLE)) { in command()
269 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); in command()
271 if (cmdCode == EFFECT_CMD_ENABLE || cmdCode == EFFECT_CMD_DISABLE) { in command()
276 mEnabled = (cmdCode == EFFECT_CMD_ENABLE); in command()
410 void AudioEffect::commandExecuted(uint32_t cmdCode, in commandExecuted() argument
420 if (mCbf != NULL && cmdCode == EFFECT_CMD_SET_PARAM) { in commandExecuted()
DIEffect.cpp65 status_t command(uint32_t cmdCode, in command() argument
74 data.writeInt32(cmdCode); in command()
158 uint32_t cmdCode = data.readInt32(); in onTransact() local
189 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); in onTransact()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h521 virtual status_t command(uint32_t cmdCode,
563 virtual void commandExecuted(uint32_t cmdCode,
602 virtual void commandExecuted(uint32_t cmdCode, in commandExecuted() argument
615 cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
DIEffectClient.h34 virtual void commandExecuted(uint32_t cmdCode,
DIEffect.h36 virtual status_t command(uint32_t cmdCode,
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp199 uint32_t cmdCode, in Effect_command() argument
240 if (cmdCode == EFFECT_CMD_OFFLOAD) { in Effect_command()
270 pContext->eHandle[SUB_FX_OFFLOAD], cmdCode, cmdSize, in Effect_command()
330 pContext->eHandle[i], cmdCode, cmdSize, in Effect_command()
DEffectProxy.h47 uint32_t cmdCode,
/frameworks/av/services/audioflinger/
DEffects.cpp1163 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()
[all …]
DEffects.h135 virtual status_t command(uint32_t cmdCode __unused, in command()
216 status_t command(uint32_t cmdCode,
273 status_t sendSetAudioDevicesCommand(const AudioDeviceTypeAddrVector &devices, uint32_t cmdCode);
332 virtual status_t command(uint32_t cmdCode,
351 void commandExecuted(uint32_t cmdCode,
/frameworks/av/media/libaudiohal/include/media/audiohal/
DEffectHalInterface.h46 virtual status_t command(uint32_t cmdCode, uint32_t cmdSize, void *pCmdData,
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp629 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Equalizer_command() argument
641 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize); in Equalizer_command()
643 switch (cmdCode) { in Equalizer_command()
723 ALOGW("Equalizer_command invalid command %d",cmdCode); in Equalizer_command()
DEffectReverb.h315 uint32_t cmdCode,
DEffectReverb.c282 static int Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Reverb_Command() argument
295 ALOGV("Reverb_Command command %d cmdSize %d",cmdCode, cmdSize); in Reverb_Command()
297 switch (cmdCode) { in Reverb_Command()
394 ALOGW("Reverb_Command invalid command %d",cmdCode); in Reverb_Command()
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp350 int LE_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in LE_command() argument
360 switch (cmdCode) { in LE_command()
461 ALOGW("LE_command invalid command %d",cmdCode); in LE_command()
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.h82 uint32_t cmdCode,
DEffectDownmix.c508 static int Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Downmix_Command() argument
520 ALOGV("Downmix_Command command %" PRIu32 " cmdSize %" PRIu32, cmdCode, cmdSize); in Downmix_Command()
522 switch (cmdCode) { in Downmix_Command()
644 ALOGW("Downmix_Command invalid command %" PRIu32, cmdCode); in Downmix_Command()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java960 public int command(int cmdCode, byte[] command, byte[] reply) in command() argument
963 return native_command(cmdCode, command.length, command, reply.length, reply); in command()
1357 private native final int native_command(int cmdCode, int cmdSize, in native_command() argument
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp484 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Visualizer_command() argument
495 switch (cmdCode) { in Visualizer_command()
754 ALOGW("Visualizer_command invalid command %" PRIu32, cmdCode); in Visualizer_command()
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c86 uint32_t cmdCode, in Effect_Command() argument
105 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()
/frameworks/av/media/libeffects/dynamicsproc/
DEffectDynamicsProcessing.cpp437 int DP_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in DP_command() argument
447 ALOGV("DP_command command %d cmdSize %d",cmdCode, cmdSize); in DP_command()
448 switch (cmdCode) { in DP_command()
600 ALOGW("DP_command invalid command %d",cmdCode); in DP_command()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp628 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument
664 lpAudioEffect->command((uint32_t)cmdCode, in android_media_AudioEffect_native_command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1847 uint32_t cmdCode, in Reverb_command() argument
1863 switch (cmdCode){ in Reverb_command()
2060 "DEFAULT start %d ERROR",cmdCode); in Reverb_command()

12