Home
last modified time | relevance | path

Searched refs:ScriptManagerImpl (Results 1 – 10 of 10) sorted by relevance

/base/update/updater/test/unittest/script/script_instruction/
Dscript_instructionhelper_unittest.cpp119 auto impl = std::make_unique<ScriptManagerImpl>(&env); in TestGetBasicInstructionHelper()
132 auto impl = std::make_unique<ScriptManagerImpl>(&env); in TestRegisterInstructions()
139 auto impl = std::make_unique<ScriptManagerImpl>(&env); in TestIsReservedInstruction()
152 auto impl = std::make_unique<ScriptManagerImpl>(&env); in TestAddInstruction()
172 ScriptManagerImpl scriptManager(&env); in TestAddScript()
180 ScriptManagerImpl scriptManager(&env); in TestAddScript()
188 ScriptManagerImpl scriptManager(&env); in TestAddScript()
200 ScriptManagerImpl scriptManager(&env); in TestRegisterUserInstruction01()
207 ScriptManagerImpl scriptManager(&env); in TestRegisterUserInstruction01()
214 ScriptManagerImpl scriptManager(&env); in TestRegisterUserInstruction01()
[all …]
Dscript_registercmd_unittest.cpp56 ScriptManagerImpl scriptManager {&env}; in TestRegisterCmd01()
69 ScriptManagerImpl scriptManager {&env}; in TestRegisterCmd02()
83 ScriptManagerImpl scriptManager {&env}; in TestRegisterCmd03()
Dscript_loadscript_unittest.cpp55 ScriptManagerImpl scriptManager {&env}; in TestLoadScript01()
69 ScriptManagerImpl scriptManager {&env}; in TestLoadScript02()
84 ScriptManagerImpl scriptManager {&env}; in TestLoadScript03()
Dscript_updateprocesser_unittest.cpp75 ScriptManagerImpl scriptManager {&env}; in TestUpdateProcesserSetProcess()
88 ScriptManagerImpl scriptManager {&env}; in TestUpdateProcesserSetProcess()
108 ScriptManagerImpl scriptManager {&env}; in TestUpdateProcesserShowProcess()
148 ScriptManagerImpl scriptManager {&env}; in TestUpdateProcesserPrint()
/base/update/updater/services/script/script_manager/
Dscript_managerImpl.cpp33 static ScriptManagerImpl* g_scriptManager = nullptr;
43 g_scriptManager = new (std::nothrow) ScriptManagerImpl(env, verifier); in GetScriptManager()
63 ScriptManagerImpl::~ScriptManagerImpl() in ~ScriptManagerImpl()
82 int32_t ScriptManagerImpl::Init() in Init()
132 int32_t ScriptManagerImpl::RegisterInstruction(ScriptInstructionHelper &helper) in RegisterInstruction()
157 int32_t ScriptManagerImpl::ExtractAndExecuteScript(PkgManager::PkgManagerPtr manager, in ExtractAndExecuteScript()
198 int32_t ScriptManagerImpl::ExecuteScript(int32_t priority) in ExecuteScript()
235 int32_t ScriptManagerImpl::AddInstruction(const std::string &instrName, const UScriptInstructionPtr… in AddInstruction()
249 int32_t ScriptManagerImpl::AddScript(const std::string &scriptName, int32_t priority) in AddScript()
274 UScriptInstruction* ScriptManagerImpl::FindInstruction(const std::string &instrName) in FindInstruction()
[all …]
Dscript_manager_impl.h28 class ScriptManagerImpl : public ScriptManager {
33 explicit ScriptManagerImpl(UScriptEnv *env) : scriptEnv_(env) {} in ScriptManagerImpl() function
34 explicit ScriptManagerImpl(UScriptEnv *env, const Hpackage::HashDataVerifier *verifier) in ScriptManagerImpl() function
36 virtual ~ScriptManagerImpl();
/base/update/updater/services/script/script_instruction/
Dscript_instructionhelper.h27 explicit ScriptInstructionHelper(ScriptManagerImpl *impl) : scriptManager_(impl) {} in ScriptInstructionHelper()
43 static ScriptInstructionHelper* GetBasicInstructionHelper(ScriptManagerImpl *impl = nullptr);
52 ScriptManagerImpl* scriptManager_ {};
Dscript_instructionhelper.cpp39 ScriptInstructionHelper* ScriptInstructionHelper::GetBasicInstructionHelper(ScriptManagerImpl *impl) in GetBasicInstructionHelper()
/base/update/updater/services/script/script_interpreter/
Dscript_interpreter.h35 class ScriptManagerImpl; variable
39 …static int32_t ExecuteScript(ScriptManagerImpl *manager, Hpackage::PkgManager::StreamPtr pkgStream…
41 explicit ScriptInterpreter(ScriptManagerImpl *manager);
76 ScriptManagerImpl* scriptManager_ = nullptr;
Dscript_interpreter.cpp29 int32_t ScriptInterpreter::ExecuteScript(ScriptManagerImpl *manager, Hpackage::PkgManager::StreamPt… in ExecuteScript()
57 ScriptInterpreter::ScriptInterpreter(ScriptManagerImpl *manager) : scriptManager_(manager) in ScriptInterpreter()