/drivers/peripheral/codec/test/unittest/idl_omx/ |
H A D | codec_hdi_omx_enc_test.cpp | 36 static sptr<ICodecComponent> g_component = nullptr; member 75 auto ret = g_manager->CreateComponent(g_component, componentId_, g_compName.data(), APP_DATA, g_callback); in SetUp() 77 ret = g_manager->CreateComponent(g_component, componentId_, "", APP_DATA, g_callback); in SetUp() 80 ret = g_component->GetComponentVersion(verInfo); in SetUp() 91 if (g_component != nullptr) { in TearDown() 92 g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, cmdData); in TearDown() 94 if (g_manager != nullptr && g_component != nullptr) { in TearDown() 97 g_component = nullptr; in TearDown() 112 ASSERT_TRUE(g_component != nullptr); in HWTEST_F() 114 auto ret = g_component in HWTEST_F() [all...] |
H A D | codec_hdi_omx_dec_test.cpp | 38 static sptr<ICodecComponent> g_component = nullptr; member 77 auto ret = g_manager->CreateComponent(g_component, componentId_, g_compName.data(), APP_DATA, g_callback); in SetUp() 81 ret = g_component->GetComponentVersion(verInfo); in SetUp() 92 if (g_component != nullptr) { in TearDown() 93 g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, cmdData); in TearDown() 95 if (g_manager != nullptr && g_component != nullptr) { in TearDown() 98 g_component = nullptr; in TearDown() 111 ASSERT_TRUE(g_component != nullptr); in HWTEST_F() 113 auto ret = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in HWTEST_F() 117 ret = g_component in HWTEST_F() [all...] |
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecsetcallbacksomx_fuzzer/ |
H A D | codecsetcallbacks_fuzzer.cpp | 29 int32_t ret = g_component->SetCallbacks(g_component, g_callback, static_cast<int64_t >(*data)); in CodecSetCallbacks()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecallocatebufferomx_fuzzer/ |
H A D | codecallocatebuffer_fuzzer.cpp | 31 int32_t ret = g_component->AllocateBuffer(g_component, static_cast<uint32_t >(*data), &buffer); in CodecAllocateBuffer()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codeccomponentroleenumomx_fuzzer/ |
H A D | codeccomponentroleenum_fuzzer.cpp | 35 int32_t ret = g_component->ComponentRoleEnum(g_component, const_cast<uint8_t *>(data), in CodecComponentRoleEnum()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecfreebufferomx_fuzzer/ |
H A D | codecfreebuffer_fuzzer.cpp | 32 int32_t ret = g_component->FreeBuffer(g_component, static_cast<uint32_t >(*data), &buffer); in CodecFreeBuffer()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecgetconfigomx_fuzzer/ |
H A D | codecgetconfig_fuzzer.cpp | 35 int32_t ret = g_component->GetConfig(g_component, static_cast<uint32_t>(data[0]), in CodecGetConfig()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecgetextensionIndexomx_fuzzer/ |
H A D | codecgetextensionIndex_fuzzer.cpp | 33 int32_t ret = g_component->GetExtensionIndex(g_component, "OMX.Topaz.index.param.extended_test", indexType); in CodecGetExtensionIndex()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecgetparameteromx_fuzzer/ |
H A D | codecgetparameter_fuzzer.cpp | 35 int32_t ret = g_component->GetParameter(g_component, static_cast<uint32_t>(data[0]), in CodecGetParameter()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecsendcommandomx_fuzzer/ |
H A D | codecsendcommand_fuzzer.cpp | 35 int32_t ret = g_component->SendCommand(g_component, static_cast<enum OMX_COMMANDTYPE>(data[0]), in CodecSendCommand()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecsetconfigomx_fuzzer/ |
H A D | codecsetconfig_fuzzer.cpp | 35 int32_t ret = g_component->SetConfig(g_component, static_cast<uint32_t>(data[0]), in CodecSetConfig()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecusebufferomx_fuzzer/ |
H A D | codecusebuffer_fuzzer.cpp | 32 int32_t ret = g_component->UseBuffer(g_component, static_cast<uint32_t >(*data), &buffer); in CodecUseBuffer()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecsetparameteromx_fuzzer/ |
H A D | codecsetparameter_fuzzer.cpp | 35 int32_t ret = g_component->SetParameter(g_component, static_cast<uint32_t>(data[0]), in CodecSetParameter()
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecsendcommandhdi_fuzzer/ |
H A D | codecsendcommand_fuzzer.cpp | 45 g_component->GetState(state); in WaitState() 75 int32_t ret = g_component->SendCommand(params.cmd, params.param, cmdData); in CodecSendCommand() 83 g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, cmdData); in CodecSendCommand()
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecallocatebufferhdi_fuzzer/ |
H A D | codecallocatebuffer_fuzzer.cpp | 38 int32_t ret = g_component->SendCommand(HDI::Codec::V3_0::CODEC_COMMAND_STATE_SET, in CodecAllocateBuffer() 43 ret = g_component->AllocateBuffer(static_cast<uint32_t>((*(const_cast<uint8_t *>(data)) % OMX_MAX_PORT_INDEX)), in CodecAllocateBuffer()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codeccomponenttunnelrequestomx_fuzzer/ |
H A D | codeccomponenttunnelrequest_fuzzer.cpp | 50 int32_t ret = g_component->ComponentTunnelRequest(g_component, params.port, params.tunneledComp, in CodecComponentTunnelRequest()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecuseeglimageomx_fuzzer/ |
H A D | codecuseeglimage_fuzzer.cpp | 51 int32_t ret = g_component->UseEglImage(g_component, &buffer, params.portIndex, params.eglImage, in CodecUseEglImage()
|
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codeccommonomx_fuzzer/ |
H A D | codeccommon_fuzzer.cpp | 42 CodecComponentType *g_component = nullptr;
member 117 ret = g_manager->CreateComponent(&g_component, &g_componentId, capList[0].compName, g_appData, g_callback);
in Preconditions() 136 CodecComponentTypeRelease(g_component);
in Destroy()
|
H A D | codeccommon_fuzzer.h | 29 extern CodecComponentType *g_component;
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codeccommonhdi_fuzzer/ |
H A D | codeccommon_fuzzer.cpp | 45 g_component = nullptr; in Release() 98 int32_t ret = g_manager->CreateComponent(g_component, g_componentId, caps[0].compName, g_appData, g_callback); in Preconditions()
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecfreebufferhdi_fuzzer/ |
H A D | codecfreebuffer_fuzzer.cpp | 36 int32_t ret = g_component->FreeBuffer(static_cast<uint32_t>(*data), buffer); in CodecFreeBuffer()
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecgetextensionIndexhdi_fuzzer/ |
H A D | codecgetextensionIndex_fuzzer.cpp | 39 int32_t ret = g_component->GetExtensionIndex(paramName, indexType); in CodecGetExtensionIndex()
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecsetcallbackshdi_fuzzer/ |
H A D | codecsetcallbacks_fuzzer.cpp | 33 int32_t ret = g_component->SetCallbacks(g_callback, static_cast<int64_t >(*data)); in CodecSetCallbacks()
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecusebufferhdi_fuzzer/ |
H A D | codecusebuffer_fuzzer.cpp | 36 int32_t ret = g_component->UseBuffer(static_cast<uint32_t >(*data), inbuffer, outbuffer); in CodecUseBuffer()
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codeccomponentroleenumhdi_fuzzer/ |
H A D | codeccomponentroleenum_fuzzer.cpp | 57 int32_t ret = g_component->ComponentRoleEnum(role, params.index); in CodecComponentRoleEnum()
|