Searched refs:scriptName (Results 1 – 5 of 5) sorted by relevance
/base/update/updater/services/script/script_instruction/ |
D | script_loadscript.cpp | 34 std::string scriptName; in Execute() local 36 int32_t ret = context.GetParam(0, scriptName); in Execute() 48 USCRIPT_LOGI("ScriptLoadScript %s priority:%d", scriptName.c_str(), priority); in Execute() 49 return helper->AddScript(scriptName, priority); in Execute()
|
D | script_instructionhelper.h | 33 bool IsReservedInstruction(const std::string &scriptName) const; 35 int32_t AddScript(const std::string &scriptName, int32_t priority) const;
|
D | script_instructionhelper.cpp | 84 bool ScriptInstructionHelper::IsReservedInstruction(const std::string &scriptName) const in IsReservedInstruction() 86 if (g_reservedInstructions.find(scriptName) != g_reservedInstructions.end()) { in IsReservedInstruction() 92 int32_t ScriptInstructionHelper::AddScript(const std::string &scriptName, int32_t priority) const in AddScript() argument 94 return scriptManager_->AddScript(scriptName, priority); in AddScript()
|
/base/update/updater/services/script/script_manager/ |
D | script_managerImpl.cpp | 158 const std::string &scriptName) in ExtractAndExecuteScript() argument 163 const FileInfo *info = manager->GetFileInfo(scriptName); in ExtractAndExecuteScript() 169 int32_t ret = manager->CreatePkgStream(outStream, path + "/" + scriptName, in ExtractAndExecuteScript() 172 USCRIPT_LOGE("Failed to create script stream %s", scriptName.c_str()); in ExtractAndExecuteScript() 176 ret = manager->ExtractFile(scriptName, outStream); in ExtractAndExecuteScript() 179 USCRIPT_LOGE("Failed to extract script stream %s", scriptName.c_str()); in ExtractAndExecuteScript() 183 if (scriptVerifier_ == nullptr || !scriptVerifier_->VerifyHashData(scriptName, outStream)) { in ExtractAndExecuteScript() 185 USCRIPT_LOGE("verify script %s by hash signed data failed", scriptName.c_str()); in ExtractAndExecuteScript() 192 USCRIPT_LOGE("Failed to ExecuteScript %s", scriptName.c_str()); in ExtractAndExecuteScript() 249 int32_t ScriptManagerImpl::AddScript(const std::string &scriptName, int32_t priority) in AddScript() argument [all …]
|
D | script_manager_impl.h | 41 const std::string &scriptName); 42 int32_t AddScript(const std::string &scriptName, int32_t priority);
|