Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DAudioEffect.cpp220 status_t AudioEffect::command(uint32_t cmdCode, in command() argument
231 if (cmdCode == EFFECT_CMD_ENABLE || cmdCode == EFFECT_CMD_DISABLE) { in command()
232 if (mEnabled == (cmdCode == EFFECT_CMD_ENABLE)) { in command()
241 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); in command()
243 if (cmdCode == EFFECT_CMD_ENABLE || cmdCode == EFFECT_CMD_DISABLE) { in command()
248 mEnabled = (cmdCode == EFFECT_CMD_ENABLE); in command()
382 void AudioEffect::commandExecuted(uint32_t cmdCode, in commandExecuted() argument
392 if (mCbf != NULL && cmdCode == EFFECT_CMD_SET_PARAM) { in commandExecuted()
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()
DIEffect.cpp62 status_t command(uint32_t cmdCode, in command() argument
71 data.writeInt32(cmdCode); in command()
150 uint32_t cmdCode = data.readInt32(); in onTransact() local
163 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); in onTransact()
/frameworks/av/include/media/
DAudioEffect.h373 virtual status_t command(uint32_t cmdCode,
408 virtual void commandExecuted(uint32_t cmdCode,
430 virtual void commandExecuted(uint32_t cmdCode, in commandExecuted() argument
435 mEffect->commandExecuted(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/services/audioflinger/
DEffects.cpp515 status_t AudioFlinger::EffectModule::command(uint32_t cmdCode, in command() argument
522 ALOGVV("command(), cmdCode: %d, mEffectInterface: %p", cmdCode, mEffectInterface); in command()
531 cmdCode, in command()
536 if (cmdCode != EFFECT_CMD_GET_PARAM && status == NO_ERROR) { in command()
541 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
1001 status_t AudioFlinger::EffectHandle::command(uint32_t cmdCode, in command() argument
1008 cmdCode, mHasControl, (mEffect == 0) ? 0 : mEffect.get()); in command()
1011 if (!mHasControl && cmdCode != EFFECT_CMD_GET_PARAM) { in command()
1022 if (cmdCode == EFFECT_CMD_SET_PARAM_COMMIT) { in command()
1071 } else if (cmdCode == EFFECT_CMD_ENABLE) { in command()
[all …]
DEffects.h60 status_t command(uint32_t cmdCode,
166 virtual status_t command(uint32_t cmdCode,
185 void commandExecuted(uint32_t cmdCode,
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp627 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Equalizer_command() argument
639 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize); in Equalizer_command()
641 switch (cmdCode) { in Equalizer_command()
721 ALOGW("Equalizer_command invalid command %d",cmdCode); in Equalizer_command()
DEffectReverb.h315 uint32_t cmdCode,
DEffectReverb.c279 static int Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Reverb_Command() argument
292 ALOGV("Reverb_Command command %d cmdSize %d",cmdCode, cmdSize); in Reverb_Command()
294 switch (cmdCode) { in Reverb_Command()
391 ALOGW("Reverb_Command invalid command %d",cmdCode); in Reverb_Command()
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.h80 uint32_t cmdCode,
DEffectDownmix.c370 static int Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Downmix_Command() argument
383 ALOGV("Downmix_Command command %d cmdSize %d",cmdCode, cmdSize); in Downmix_Command()
385 switch (cmdCode) { in Downmix_Command()
503 ALOGW("Downmix_Command invalid command %d",cmdCode); in Downmix_Command()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp339 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Visualizer_command() argument
351 switch (cmdCode) { in Visualizer_command()
529 ALOGW("Visualizer_command invalid command %d",cmdCode); in Visualizer_command()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java818 public int command(int cmdCode, byte[] command, byte[] reply) in command() argument
821 return native_command(cmdCode, command.length, command, reply.length, reply); in command()
1211 private native final int native_command(int cmdCode, int cmdSize, in native_command() argument
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c89 uint32_t cmdCode, in Effect_Command() argument
108 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData); in Effect_Command()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp644 jint cmdCode, jint cmdSize, jbyteArray jCmdData, jint replySize, in android_media_AudioEffect_native_command() argument
682 lStatus = translateError(lpAudioEffect->command((uint32_t)cmdCode, in android_media_AudioEffect_native_command()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1892 uint32_t cmdCode, in Reverb_command() argument
1910 switch (cmdCode){ in Reverb_command()
2102 "DEFAULT start %d ERROR",cmdCode); in Reverb_command()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1336 uint32_t cmdCode, in PreProcessingFx_Command() argument
1352 switch (cmdCode){ in PreProcessingFx_Command()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp2715 uint32_t cmdCode, in Effect_command() argument
2753 switch (cmdCode){ in Effect_command()