Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DAudioEffect.cpp219 status_t AudioEffect::command(uint32_t cmdCode, in command() argument
230 if (cmdCode == EFFECT_CMD_ENABLE || cmdCode == EFFECT_CMD_DISABLE) { in command()
231 if (mEnabled == (cmdCode == EFFECT_CMD_ENABLE)) { in command()
240 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); in command()
242 if (cmdCode == EFFECT_CMD_ENABLE || cmdCode == EFFECT_CMD_DISABLE) { in command()
247 mEnabled = (cmdCode == EFFECT_CMD_ENABLE); in command()
375 void AudioEffect::commandExecuted(uint32_t cmdCode, in commandExecuted() argument
385 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/media/libeffects/testlibs/
DEffectEqualizer.cpp644 extern "C" int Equalizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Equalizer_command() argument
656 ALOGV("Equalizer_command command %d cmdSize %d",cmdCode, cmdSize); in Equalizer_command()
658 switch (cmdCode) { in Equalizer_command()
738 ALOGW("Equalizer_command invalid command %d",cmdCode); in Equalizer_command()
DEffectReverb.h318 uint32_t cmdCode,
DEffectReverb.c296 static int Reverb_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Reverb_Command() argument
309 ALOGV("Reverb_Command command %d cmdSize %d",cmdCode, cmdSize); in Reverb_Command()
311 switch (cmdCode) { in Reverb_Command()
408 ALOGW("Reverb_Command invalid command %d",cmdCode); in Reverb_Command()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp356 int Visualizer_command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Visualizer_command() argument
368 switch (cmdCode) { in Visualizer_command()
546 ALOGW("Visualizer_command invalid command %d",cmdCode); in Visualizer_command()
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.h83 uint32_t cmdCode,
DEffectDownmix.c389 static int Downmix_Command(effect_handle_t self, uint32_t cmdCode, uint32_t cmdSize, in Downmix_Command() argument
402 ALOGV("Downmix_Command command %d cmdSize %d",cmdCode, cmdSize); in Downmix_Command()
404 switch (cmdCode) { in Downmix_Command()
522 ALOGW("Downmix_Command invalid command %d",cmdCode); in Downmix_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.cpp1916 uint32_t cmdCode, in Reverb_command() argument
1934 switch (cmdCode){ in Reverb_command()
2126 "DEFAULT start %d ERROR",cmdCode); in Reverb_command()
/frameworks/av/services/audioflinger/
DAudioFlinger.h1632 status_t command(uint32_t cmdCode,
1738 virtual status_t command(uint32_t cmdCode,
1757 void commandExecuted(uint32_t cmdCode,
DAudioFlinger.cpp8590 status_t AudioFlinger::EffectModule::command(uint32_t cmdCode, in command() argument
8603 cmdCode, in command()
8608 if (cmdCode != EFFECT_CMD_GET_PARAM && status == NO_ERROR) { in command()
8613 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData); in command()
9046 status_t AudioFlinger::EffectHandle::command(uint32_t cmdCode, in command() argument
9056 if (!mHasControl && cmdCode != EFFECT_CMD_GET_PARAM) { in command()
9063 if (cmdCode == EFFECT_CMD_SET_PARAM_COMMIT) { in command()
9111 } else if (cmdCode == EFFECT_CMD_ENABLE) { in command()
9114 } else if (cmdCode == EFFECT_CMD_DISABLE) { in command()
9119 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in command()
[all …]
/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.cpp2750 uint32_t cmdCode, in Effect_command() argument
2788 switch (cmdCode){ in Effect_command()