Home
last modified time | relevance | path

Searched refs:UScriptEnv (Results 1 – 25 of 34) sorted by relevance

12

/base/update/updater/services/script/script_instruction/
Dscript_basicinstruction.h25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
32 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
39 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
45 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
52 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
59 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
66 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
73 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
Dscript_updateprocesser.h25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
32 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
39 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
Dscript_basicinstruction.cpp24 int32_t UScriptInstructionAbort::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
35 int32_t UScriptInstructionAssert::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &contex… in Execute()
46 int32_t UScriptInstructionSleep::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
58 int32_t UScriptInstructionConcat::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &contex… in Execute()
108 int32_t UScriptInstructionIsSubString::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &c… in Execute()
131 int32_t UScriptInstructionStdout::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &contex… in Execute()
165 int32_t UScriptInstructionDeleteFile::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &co… in Execute()
185 int32_t UScriptInstructionDeleteDir::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &con… in Execute()
Dscript_updateprocesser.cpp24 int32_t UScriptInstructionSetProcess::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &co… in Execute()
40 int32_t UScriptInstructionShowProcess::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &c… in Execute()
64 int32_t UScriptInstructionUiPrint::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &conte… in Execute()
Dscript_loadscript.h25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
Dscript_registercmd.h25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
Dscript_registercmd.cpp26 int32_t ScriptRegisterCmd::Execute(UScriptEnv &env, UScriptContext &context) in Execute()
/base/update/updater/services/flow_update/update_bin/
Dcomponent_processor.h37 virtual int32_t PreProcess(Uscript::UScriptEnv &env) in PreProcess()
41 virtual int32_t DoProcess(Uscript::UScriptEnv &env) in DoProcess()
45 virtual int32_t PostProcess(Uscript::UScriptEnv &env) in PostProcess()
99 int32_t DoProcess(Uscript::UScriptEnv &env) override;
108 int32_t DoProcess(Uscript::UScriptEnv &env) override;
117 int32_t PreProcess(Uscript::UScriptEnv &env) override;
118 int32_t DoProcess(Uscript::UScriptEnv &env) override;
119 int32_t PostProcess(Uscript::UScriptEnv &env) override;
134 int32_t PreProcess(Uscript::UScriptEnv &env) override;
135 int32_t DoProcess(Uscript::UScriptEnv &env) override;
[all …]
Dbin_process.h30 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
33 virtual int32_t ProcessBinFile(Uscript::UScriptEnv &env, Uscript::UScriptContext &context,
35 int32_t ComponentProcess(Uscript::UScriptEnv &env, Hpackage::PkgManager::StreamPtr stream,
40 int32_t ExtractBinFile(Uscript::UScriptEnv &env, Uscript::UScriptContext &context,
Dcomponent_processor.cpp67 int32_t VersionCheckProcessor::DoProcess(Uscript::UScriptEnv &env) in DoProcess()
102 int32_t BoardIdCheckProcessor::DoProcess(Uscript::UScriptEnv &env) in DoProcess()
137 int32_t RawImgProcessor::PreProcess(Uscript::UScriptEnv &env) in PreProcess()
181 int32_t RawImgProcessor::DoProcess(Uscript::UScriptEnv &env) in DoProcess()
213 int32_t RawImgProcessor::PostProcess(Uscript::UScriptEnv &env) in PostProcess()
288 int32_t SkipImgProcessor::PreProcess(Uscript::UScriptEnv &env) in PreProcess()
313 int32_t SkipImgProcessor::DoProcess(Uscript::UScriptEnv &env) in DoProcess()
368 int32_t SkipImgProcessor::PostProcess(Uscript::UScriptEnv &env) in PostProcess()
/base/update/updater/services/updater_binary/
Dupdate_image_patch.h38 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
41 int32_t CreatePatchStream(Uscript::UScriptEnv &env, const ImagePatchPara &para,
43 int32_t ExecuteImagePatch(Uscript::UScriptEnv &env, Uscript::UScriptContext &context);
62 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
64 int32_t ExecuteShaCheck(Uscript::UScriptEnv &env, Uscript::UScriptContext &context);
Dupdate_processor.h27 using Uscript::UScriptEnv;
56 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
64 uint64_t partitionSize, Uscript::UScriptEnv &env);
73 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
80 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
Dupdate_image_block.h27 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
34 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
44 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
Dupdate_partitions.h29 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
34 …ewPartition(const std::string &filePath, const Hpackage::FileInfo *info, Uscript::UScriptEnv &env);
Dupdate_image_block.cpp139 static int32_t GetUpdateBlockInfo(struct UpdateBlockInfo &infos, Uscript::UScriptEnv &env, in GetUpdateBlockInfo()
183 …2_t ExecuteTransferCommand(int fd, const std::vector<std::string> &lines, Uscript::UScriptEnv &env, in ExecuteTransferCommand()
223 static int InitThread(const struct UpdateBlockInfo &infos, Uscript::UScriptEnv &env, Uscript::UScri… in InitThread()
239 static int32_t ExtractDiffPackageAndLoad(const UpdateBlockInfo &infos, Uscript::UScriptEnv &env, in ExtractDiffPackageAndLoad()
279 static int32_t DoExecuteUpdateBlock(const UpdateBlockInfo &infos, Uscript::UScriptEnv &env, in DoExecuteUpdateBlock()
299 static int32_t ExtractFileByName(Uscript::UScriptEnv &env, const std::string &fileName, in ExtractFileByName()
330 static int32_t ExecuteUpdateBlock(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in ExecuteUpdateBlock()
384 int32_t UScriptInstructionBlockUpdate::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &c… in Execute()
430 int32_t UScriptInstructionBlockCheck::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &co… in Execute()
518 int32_t UScriptInstructionShaCheck::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &cont… in Execute()
Dupdate_image_patch.cpp46 int32_t USInstrImagePatch::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
118 int32_t USInstrImagePatch::CreatePatchStream(Uscript::UScriptEnv &env, const ImagePatchPara &para, in CreatePatchStream()
173 int32_t USInstrImagePatch::ExecuteImagePatch(Uscript::UScriptEnv &env, Uscript::UScriptContext &con… in ExecuteImagePatch()
228 int32_t USInstrImageShaCheck::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
279 int32_t USInstrImageShaCheck::ExecuteShaCheck(Uscript::UScriptEnv &env, Uscript::UScriptContext &co… in ExecuteShaCheck()
/base/update/updater/services/script/script_manager/
Dscript_manager_impl.h33 explicit ScriptManagerImpl(UScriptEnv *env) : scriptEnv_(env) {} in ScriptManagerImpl()
34 explicit ScriptManagerImpl(UScriptEnv *env, const Hpackage::HashDataVerifier *verifier) in ScriptManagerImpl()
45 UScriptEnv* GetScriptEnv(const std::string &instrName) const;
52 UScriptEnv *scriptEnv_ = nullptr;
/base/update/updater/services/include/applypatch/
Dupdater_env.h27 using Uscript::UScriptEnv;
32 class UpdaterEnv : public UScriptEnv {
35 : UScriptEnv(pkgManager), postMessage_(postMessage), isRetry_(retry) {} in UpdaterEnv()
Dtransfer_manager.h37 Uscript::UScriptEnv *env;
49 Uscript::UScriptEnv *env;
/base/update/updater/services/include/script/
Dscript_instruction.h30 class UScriptEnv {
32 UScriptEnv(Hpackage::PkgManager::PkgManagerPtr pkgManager) : pkgManager_(pkgManager) {} in UScriptEnv() function
34 virtual ~UScriptEnv() {} in ~UScriptEnv()
109 virtual int32_t Execute(UScriptEnv &env, UScriptContext &context) = 0;
Dscript_manager.h60 …static ScriptManager* GetScriptManager(UScriptEnv *env, const Hpackage::HashDataVerifier *verifier…
/base/update/updater/test/unittest/script/script_instruction/user_instruction/
Duser_instruction.cpp26 int32_t Execute(UScriptEnv &env, UScriptContext &context) override in Execute()
35 int32_t Execute(UScriptEnv &env, UScriptContext &context) override in Execute()
44 int32_t Execute(UScriptEnv &env, UScriptContext &context) override in Execute()
Duser_instruction_invalid.cpp25 virtual int32_t Execute(UScriptEnv &env, UScriptContext &context) override in Execute()
33 virtual int32_t Execute(UScriptEnv &env, UScriptContext &context) override in Execute()
/base/update/updater/test/unittest/script/script_instruction/
Dscript_instruction_unittest.h19 class UTestScriptEnv : public UScriptEnv {
21 explicit UTestScriptEnv(Hpackage::PkgManager::PkgManagerPtr pkgManager) : UScriptEnv(pkgManager) in UTestScriptEnv()
/base/update/updater/test/unittest/updater_binary/
Dupdate_binary_unittest.h23 class UTestBinaryEnv : public Uscript::UScriptEnv {
25 …explicit UTestBinaryEnv(Hpackage::PkgManager::PkgManagerPtr pkgManager) : Uscript::UScriptEnv(pkgM… in UTestBinaryEnv()

12