Home
last modified time | relevance | path

Searched refs:SendCommand (Results 1 - 25 of 35) sorted by relevance

12

/drivers/peripheral/audio/effect/test/unittest/
H A Deffect_control_test.cpp133 int32_t ret = controller_->SendCommand(nullptr, AUDIO_EFFECT_COMMAND_INIT_CONTOLLER, in HWTEST_F()
137 ret = controller_->SendCommand(controller_, AUDIO_EFFECT_COMMAND_INIT_CONTOLLER, in HWTEST_F()
141 ret = controller_->SendCommand(controller_, AUDIO_EFFECT_COMMAND_INIT_CONTOLLER, in HWTEST_F()
145 ret = controller_->SendCommand(controller_, AUDIO_EFFECT_COMMAND_INIT_CONTOLLER, in HWTEST_F()
149 ret = controller_->SendCommand(controller_, AUDIO_EFFECT_COMMAND_INVALID_LARGE, in HWTEST_F()
166 int32_t ret = controller_->SendCommand(controller_, AUDIO_EFFECT_COMMAND_INIT_CONTOLLER, in HWTEST_F()
183 int32_t ret = controller_->SendCommand(controller_, AUDIO_EFFECT_COMMAND_SET_CONFIG, in HWTEST_F()
200 int32_t ret = controller_->SendCommand(controller_, AUDIO_EFFECT_COMMAND_GET_CONFIG, in HWTEST_F()
217 int32_t ret = controller_->SendCommand(controller_, AUDIO_EFFECT_COMMAND_RESET, in HWTEST_F()
234 int32_t ret = controller_->SendCommand(controller in HWTEST_F()
[all...]
/drivers/peripheral/codec/test/unittest/idl_omx/
H A Dcodec_hdi_omx_dec_test.cpp93 g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, cmdData); in TearDown()
113 auto ret = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in HWTEST_F()
132 ret = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_EXECUTING, cmdData); in HWTEST_F()
138 ret = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in HWTEST_F()
142 ret = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, cmdData); in HWTEST_F()
H A Dcodec_hdi_omx_enc_test.cpp92 g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, cmdData); in TearDown()
463 // Test SendCommand
468 auto ret = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in HWTEST_F()
518 auto err = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in HWTEST_F()
535 auto err = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in HWTEST_F()
597 auto ret = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in HWTEST_F()
615 auto ret = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in HWTEST_F()
636 auto ret = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in HWTEST_F()
653 auto ret = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in HWTEST_F()
670 auto ret = g_component->SendCommand(CODEC_COMMAND_STATE_SE in HWTEST_F()
[all...]
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecsendcommandhdi_fuzzer/
H A Dcodecsendcommand_fuzzer.cpp75 int32_t ret = g_component->SendCommand(params.cmd, params.param, cmdData); in CodecSendCommand()
77 HDF_LOGE("%{public}s: SendCommand failed, ret is [%{public}x]\n", __func__, ret); in CodecSendCommand()
83 g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, cmdData); in CodecSendCommand()
/drivers/peripheral/audio/test/benchmarktest/effect/
H A Daudio_effectcontrol_benchmarktest.cpp127 BENCHMARK_F(AudioEffectControlBenchmarkTest, SendCommand)(benchmark::State &state) in BENCHMARK_F()
136 ret = controller_->SendCommand(controller_, AUDIO_EFFECT_COMMAND_INIT_CONTOLLER, in BENCHMARK_F()
142 BENCHMARK_REGISTER_F(AudioEffectControlBenchmarkTest, SendCommand)->
/drivers/peripheral/audio/interfaces/effect/v1_0/
H A Dieffect_control_vdi.h32 int32_t (*SendCommand)(struct IEffectControlVdi *self, enum EffectCommandTableIndexVdi cmdId, member
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecsendcommandomx_fuzzer/
H A Dcodecsendcommand_fuzzer.cpp35 int32_t ret = g_component->SendCommand(g_component, static_cast<enum OMX_COMMANDTYPE>(data[0]), in CodecSendCommand()
40 HDF_LOGE("%{public}s: SendCommand failed, ret is [%{public}x]\n", __func__, ret); in CodecSendCommand()
/drivers/peripheral/audio/effect/model/src/
H A Deffect_control.c61 if (manager->ctrlOps == NULL || manager->ctrlOps->SendCommand == NULL) { in EffectControlSendCommand()
66 int32_t ret = manager->ctrlOps->SendCommand(manager->ctrlOps, cmdIdVdi, (void *)cmdData, cmdDataLen, in EffectControlSendCommand()
69 HDF_LOGE("SendCommand failed, ret=%{public}d", ret); in EffectControlSendCommand()
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecallocatebufferhdi_fuzzer/
H A Dcodecallocatebuffer_fuzzer.cpp38 int32_t ret = g_component->SendCommand(HDI::Codec::V3_0::CODEC_COMMAND_STATE_SET, in CodecAllocateBuffer()
/drivers/peripheral/face_auth/hdi_service/include/
H A Dall_in_one_executor_impl.h50 int32_t SendCommand(
/drivers/peripheral/fingerprint_auth/hdi_service/include/
H A Dall_in_one_executor_impl.h50 int32_t SendCommand(
/drivers/peripheral/codec/test/benchmarktest/
H A Dcodec_benchmark_omx_test.cpp408 BENCHMARK_F(CodecBenchmarkOmxTest, SendCommand)(benchmark::State &state) in BENCHMARK_F()
416 ret = component_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in BENCHMARK_F()
423 BENCHMARK_REGISTER_F(CodecBenchmarkOmxTest, SendCommand)->
430 auto err = component_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in BENCHMARK_F()
452 auto ret = component_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in BENCHMARK_F()
571 auto err = component_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in BENCHMARK_F()
597 ret = component_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, cmdData); in BENCHMARK_F()
/drivers/peripheral/codec/test/demo/idl/src/
H A Dcodec_hdi_decode.cpp380 auto err = client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in UseBuffers()
382 HDF_LOGE("%{public}s failed to SendCommand with CODEC_COMMAND_STATE_SET:CODEC_STATE_IDLE", __func__); in UseBuffers()
513 err = client_->SendCommand(CODEC_COMMAND_PORT_ENABLE, static_cast<uint32_t>(portIndex), {}); in UseBufferOnPort()
515 HDF_LOGE("%{public}s SendCommand OMX_CommandPortEnable::PortIndex::PORT_INDEX_INPUT error", __func__); in UseBufferOnPort()
620 (void)client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, {}); in FreeBuffers()
720 auto err = client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_EXECUTING, {}); in Run()
722 HDF_LOGE("%{public}s failed to SendCommand with CODEC_COMMAND_STATE_SET:CODEC_STATE_IDLE", __func__); in Run()
767 (void)client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, {}); in Run()
857 auto err = client_->SendCommand(CODEC_COMMAND_PORT_DISABLE, port, {}); in HandleEventPortSettingsChanged()
863 err = client_->SendCommand(CODEC_COMMAND_PORT_ENABL in HandleEventPortSettingsChanged()
[all...]
H A Dcodec_hdi_encode.cpp268 auto err = client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, {}); in UseBuffers()
270 HDF_LOGE("%{public}s failed to SendCommand with CODEC_COMMAND_STATE_SET:CODEC_STATE_IDLE", __func__); in UseBuffers()
359 err = client_->SendCommand(CODEC_COMMAND_PORT_ENABLE, static_cast<uint32_t>(portIndex), {}); in UseBufferOnPort()
361 HDF_LOGE("%{public}s SendCommand OMX_CommandPortEnable::PORT_INDEX_INPUT error", __func__); in UseBufferOnPort()
507 (void)client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, {}); in FreeBuffers()
598 auto err = client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_EXECUTING, {}); in Run()
600 HDF_LOGE("%{public}s failed to SendCommand with CODEC_COMMAND_STATE_SET:CODEC_STATE_IDLE", __func__); in Run()
635 (void)client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, {}); in Run()
/drivers/peripheral/audio/effect/test/fuzztest/effectcontrol_fuzzer/
H A Deffectcontrol_fuzzer.cpp62 controller->SendCommand(controller, (*data) % AUDIO_EFFECT_COMMAND_GET_PARAM, in EffectControlFucSwitch()
/drivers/peripheral/codec/hal/idl_service/include/
H A Dcodec_component_service.h33 int32_t SendCommand(CodecCommandType cmd, uint32_t param, const std::vector<int8_t> &cmdData) override;
H A Dcomponent_node.h44 int32_t SendCommand(HDI::Codec::V3_0::CodecCommandType cmd, uint32_t param, int8_t *cmdData);
/drivers/peripheral/codec/interfaces/include/
H A Dcodec_component_if.h97 int32_t (*SendCommand)(struct CodecComponentType *self, enum OMX_COMMANDTYPE cmd, uint32_t param, member
/drivers/peripheral/codec/test/unittest/hdi_omx/
H A Dcodec_hdi_omx_test.cpp618 // Test SendCommand
622 auto ret = component_->SendCommand(component_, OMX_CommandStateSet, OMX_StateExecuting, nullptr, 0); in HWTEST_F()
762 auto err = component_->SendCommand(component_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in HWTEST_F()
808 auto err = component_->SendCommand(component_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in HWTEST_F()
873 auto err = component_->SendCommand(component_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in HWTEST_F()
885 auto err = component_->SendCommand(component_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in HWTEST_F()
966 auto err = component_->SendCommand(component_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in HWTEST_F()
984 err = component_->SendCommand(component_, OMX_CommandStateSet, OMX_StateExecuting, NULL, 0); in HWTEST_F()
998 err = component_->SendCommand(component_, OMX_CommandStateSet, OMX_StateIdle, nullptr, 0); in HWTEST_F()
1001 err = component_->SendCommand(component in HWTEST_F()
[all...]
/drivers/peripheral/codec/test/demo/v2.0/src/
H A Dcodec_hdi_encode.cpp214 auto err = client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in UseBuffers()
216 HDF_LOGE("%{public}s failed to SendCommand with OMX_CommandStateSet:OMX_StateIdle", __func__); in UseBuffers()
300 err = client_->SendCommand(client_, OMX_CommandPortEnable, static_cast<uint32_t>(portIndex), NULL, 0); in UseBufferOnPort()
302 HDF_LOGE("%{public}s SendCommand OMX_CommandPortEnable::PORT_INDEX_INPUT error", __func__); in UseBufferOnPort()
400 (void)client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateLoaded, nullptr, 0); in FreeBuffers()
468 auto err = client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateExecuting, NULL, 0); in Run()
470 HDF_LOGE("%{public}s failed to SendCommand with OMX_CommandStateSet:OMX_StateIdle", __func__); in Run()
505 (void)client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in Run()
H A Dcodec_hdi_decode.cpp291 auto err = client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in UseBuffers()
293 HDF_LOGE("%{public}s failed to SendCommand with OMX_CommandStateSet:OMX_StateIdle", __func__); in UseBuffers()
420 err = client_->SendCommand(client_, OMX_CommandPortEnable, static_cast<uint32_t>(portIndex), NULL, 0); in UseBufferOnPort()
422 HDF_LOGE("%{public}s SendCommand OMX_CommandPortEnable::PortIndex::PORT_INDEX_INPUT error", __func__); in UseBufferOnPort()
487 (void)client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateLoaded, nullptr, 0); in FreeBuffers()
599 auto err = client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateExecuting, NULL, 0); in Run()
601 HDF_LOGE("%{public}s failed to SendCommand with OMX_CommandStateSet:OMX_StateIdle", __func__); in Run()
647 (void)client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in Run()
/drivers/peripheral/codec/hal/v2.0/hdi_impl/include/
H A Dcomponent_node.h42 int32_t SendCommand(OMX_COMMANDTYPE cmd, uint32_t param, int8_t *cmdData, uint32_t cmdDataLen);
/drivers/peripheral/face_auth/hdi_service/src/
H A Dall_in_one_executor_impl.cpp145 int32_t AllInOneExecutorImpl::SendCommand( in SendCommand() function in OHOS::HDI::FaceAuth::AllInOneExecutorImpl
/drivers/peripheral/fingerprint_auth/hdi_service/src/
H A Dall_in_one_executor_impl.cpp145 int32_t AllInOneExecutorImpl::SendCommand( in SendCommand() function in OHOS::HDI::FingerprintAuth::AllInOneExecutorImpl
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/
H A Dcomponent_node.cpp108 int32_t ComponentNode::SendCommand(OMX_COMMANDTYPE cmd, uint32_t param, int8_t *cmdData, uint32_t cmdDataLen) in SendCommand() function in OHOS::Codec::Omx::ComponentNode
583 SendCommand(OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in ReleaseOMXResource()
587 SendCommand(OMX_CommandStateSet, OMX_StateLoaded, NULL, 0); in ReleaseOMXResource()

Completed in 16 milliseconds

12