Home
last modified time | relevance | path

Searched refs:AddInstruction (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/update/updater/services/script/script_instruction/
H A Dscript_instructionhelper.cpp68 scriptManager_->AddInstruction("RegisterCmder", new ScriptRegisterCmd()); in RegisterInstructions()
69 scriptManager_->AddInstruction("LoadScript", new ScriptLoadScript()); in RegisterInstructions()
70 scriptManager_->AddInstruction("Stdout", new UScriptInstructionStdout()); in RegisterInstructions()
71 scriptManager_->AddInstruction("Abort", new UScriptInstructionAbort()); in RegisterInstructions()
72 scriptManager_->AddInstruction("Assert", new UScriptInstructionAssert()); in RegisterInstructions()
73 scriptManager_->AddInstruction("Sleep", new UScriptInstructionSleep()); in RegisterInstructions()
74 scriptManager_->AddInstruction("Concat", new UScriptInstructionConcat()); in RegisterInstructions()
78 scriptManager_->AddInstruction("ui_print", new UScriptInstructionUiPrint()); in RegisterInstructions()
104 return scriptManager_->AddInstruction(instrName, instr); in AddInstruction()
120 ret = AddInstruction(instrName, instr); in RegisterAddInstruction()
[all …]
H A Dscript_instructionhelper.h37 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instr);
/ohos5.0/base/update/updater/test/unittest/script/script_instruction/
H A Dscript_instructionhelper_unittest.cpp158 EXPECT_EQ(helper->AddInstruction(instruction, nullptr), USCRIPT_ERROR_REVERED); in TestAddInstruction()
162 EXPECT_EQ(helper->AddInstruction("instruction1", instr1), USCRIPT_SUCCESS); in TestAddInstruction()
165 EXPECT_EQ(helper->AddInstruction("instruction1", instr2), USCRIPT_SUCCESS); in TestAddInstruction()
/ohos5.0/base/update/updater/services/script/script_manager/
H A Dscript_manager_impl.h43 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instruction);
H A Dscript_managerImpl.cpp156 helper.AddInstruction(instrName, instr); in RegisterInstruction()
243 int32_t ScriptManagerImpl::AddInstruction(const std::string &instrName, const UScriptInstructionPtr… in AddInstruction() function in Uscript::ScriptManagerImpl
/ohos5.0/base/update/updater/test/unittest/test_data/diffpatch/
H A DPatchGztest_new.gz1[==========] Running 25 tests from 7 test ...
H A DPatchGztest_old.gz1[==========] Running 25 tests from 7 test ...