Searched refs:AddInstruction (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/base/update/updater/services/script/script_instruction/ |
H A D | script_instructionhelper.cpp | 68 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 D | script_instructionhelper.h | 37 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instr);
|
/ohos5.0/base/update/updater/test/unittest/script/script_instruction/ |
H A D | script_instructionhelper_unittest.cpp | 158 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 D | script_manager_impl.h | 43 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instruction);
|
H A D | script_managerImpl.cpp | 156 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 D | PatchGztest_new.gz | 1[==========] Running 25 tests from 7 test ... |
H A D | PatchGztest_old.gz | 1[==========] Running 25 tests from 7 test ... |