Home
last modified time | relevance | path

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

/base/update/updater/services/script/script_manager/
Dscript_managerImpl.cpp33 static ScriptManagerImpl* g_scriptManager = nullptr;
39 g_scriptManager = new(std::nothrow) ScriptManagerImpl(env); in GetScriptManager()
54 ScriptManagerImpl::~ScriptManagerImpl() in ~ScriptManagerImpl()
73 int32_t ScriptManagerImpl::Init() in Init()
105 int32_t ScriptManagerImpl::RegisterInstruction(ScriptInstructionHelper &helper) in RegisterInstruction()
121 int32_t ScriptManagerImpl::ExtractAndExecuteScript(PkgManager::PkgManagerPtr manager, in ExtractAndExecuteScript()
137 int32_t ScriptManagerImpl::ExecuteScript(int32_t priority) in ExecuteScript()
169 int32_t ScriptManagerImpl::AddInstruction(const std::string &instrName, const UScriptInstructionPtr… in AddInstruction()
183 int32_t ScriptManagerImpl::AddScript(const std::string &scriptName, int32_t priority) in AddScript()
199 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 virtual ~ScriptManagerImpl();
/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_instruction/
Dscript_instructionhelper.h27 explicit ScriptInstructionHelper(ScriptManagerImpl *impl) : scriptManager_(impl) {} in ScriptInstructionHelper()
43 static ScriptInstructionHelper* GetBasicInstructionHelper(ScriptManagerImpl *impl = nullptr);
49 ScriptManagerImpl* scriptManager_ {};
Dscript_instructionhelper.cpp38 ScriptInstructionHelper* ScriptInstructionHelper::GetBasicInstructionHelper(ScriptManagerImpl *impl) in GetBasicInstructionHelper()
/base/update/updater/services/script/script_interpreter/
Dscript_interpreter.h41 class ScriptManagerImpl; variable
45 …static int32_t ExecuteScript(ScriptManagerImpl *manager, Hpackage::PkgManager::StreamPtr pkgStream…
47 explicit ScriptInterpreter(ScriptManagerImpl *manager);
82 ScriptManagerImpl* scriptManager_ = nullptr;
Dscript_interpreter.cpp29 int32_t ScriptInterpreter::ExecuteScript(ScriptManagerImpl *manager, Hpackage::PkgManager::StreamPt… in ExecuteScript()
48 ScriptInterpreter::ScriptInterpreter(ScriptManagerImpl *manager) : scriptManager_(manager) in ScriptInterpreter()