/base/update/updater/services/script/script_instruction/ |
D | script_basicinstruction.h | 25 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;
|
D | script_updateprocesser.h | 25 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;
|
D | script_basicinstruction.cpp | 24 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()
|
D | script_updateprocesser.cpp | 24 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()
|
D | script_loadscript.h | 25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
|
D | script_registercmd.h | 25 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override;
|
D | script_registercmd.cpp | 26 int32_t ScriptRegisterCmd::Execute(UScriptEnv &env, UScriptContext &context) in Execute()
|
/base/update/updater/services/flow_update/update_bin/ |
D | component_processor.h | 37 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 …]
|
D | bin_process.h | 30 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,
|
D | component_processor.cpp | 67 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/ |
D | update_image_patch.h | 38 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 41 int32_t CreatePatchStream(Uscript::UScriptEnv &env, const ImagePatchPara ¶, 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);
|
D | update_processor.h | 27 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;
|
D | update_image_block.h | 27 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;
|
D | update_partitions.h | 29 int32_t Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) override; 34 …ewPartition(const std::string &filePath, const Hpackage::FileInfo *info, Uscript::UScriptEnv &env);
|
D | update_image_block.cpp | 139 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()
|
D | update_image_patch.cpp | 46 int32_t USInstrImagePatch::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 118 int32_t USInstrImagePatch::CreatePatchStream(Uscript::UScriptEnv &env, const ImagePatchPara ¶, 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/ |
D | script_manager_impl.h | 33 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/ |
D | updater_env.h | 27 using Uscript::UScriptEnv; 32 class UpdaterEnv : public UScriptEnv { 35 : UScriptEnv(pkgManager), postMessage_(postMessage), isRetry_(retry) {} in UpdaterEnv()
|
D | transfer_manager.h | 37 Uscript::UScriptEnv *env; 49 Uscript::UScriptEnv *env;
|
/base/update/updater/services/include/script/ |
D | script_instruction.h | 30 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;
|
D | script_manager.h | 60 …static ScriptManager* GetScriptManager(UScriptEnv *env, const Hpackage::HashDataVerifier *verifier…
|
/base/update/updater/test/unittest/script/script_instruction/user_instruction/ |
D | user_instruction.cpp | 26 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()
|
D | user_instruction_invalid.cpp | 25 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/ |
D | script_instruction_unittest.h | 19 class UTestScriptEnv : public UScriptEnv { 21 explicit UTestScriptEnv(Hpackage::PkgManager::PkgManagerPtr pkgManager) : UScriptEnv(pkgManager) in UTestScriptEnv()
|
/base/update/updater/test/unittest/updater_binary/ |
D | update_binary_unittest.h | 23 class UTestBinaryEnv : public Uscript::UScriptEnv { 25 …explicit UTestBinaryEnv(Hpackage::PkgManager::PkgManagerPtr pkgManager) : Uscript::UScriptEnv(pkgM… in UTestBinaryEnv()
|