Home
last modified time | relevance | path

Searched refs:UpdaterEnv (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/update/updater/services/include/applypatch/
H A Ddata_writer.h39 …::unique_ptr<DataWriter> CreateDataWriter(WriteMode mode, const std::string &path, UpdaterEnv *env,
44 static UpdaterEnv *GetUpdaterEnv();
45 void SetUpdaterEnv(UpdaterEnv *env);
53 static UpdaterEnv *env_;
H A Dupdater_env.h33 class UpdaterEnv : public UScriptEnv {
35UpdaterEnv(Hpackage::PkgManager::PkgManagerPtr pkgManager, PostMessageFunction postMessage, bool r… in UpdaterEnv() function
37 virtual ~UpdaterEnv();
/ohos5.0/base/update/updater/test/unittest/updater_binary/
H A Dupdate_partitions_unittest.cpp63 UpdaterEnv* env = new UpdaterEnv(pkgManager, nullptr, false);
87 UpdaterEnv* env = new UpdaterEnv(pkgManager, nullptr, false);
/ohos5.0/base/update/updater/services/applypatch/
H A Ddata_writer.cpp28 UpdaterEnv *DataWriter::env_ = nullptr;
74 UpdaterEnv *DataWriter::GetUpdaterEnv() in GetUpdaterEnv()
79 void DataWriter::SetUpdaterEnv(UpdaterEnv *env) in SetUpdaterEnv()
85 UpdaterEnv *env, uint64_t offset) in CreateDataWriter()
/ohos5.0/base/update/updater/services/updater_binary/
H A Dupdate_processor.cpp57 UpdaterEnv::~UpdaterEnv() in ~UpdaterEnv()
65 void UpdaterEnv::PostMessage(const std::string &cmd, std::string content) in PostMessage()
73 UScriptInstructionFactoryPtr UpdaterEnv::GetInstructionFactory() in GetInstructionFactory()
81 const std::vector<std::string> UpdaterEnv::GetInstructionNames() const in GetInstructionNames()
223 static_cast<UpdaterEnv *>(&env), offset); in Execute()
393 UpdaterEnv* env = new (std::nothrow) UpdaterEnv(pkgManager, postMessage, retry); in ExecUpdate()
/ohos5.0/base/update/updater/services/flow_update/update_bin/
H A Dcomponent_processor.cpp172 static_cast<UpdaterEnv *>(&env), offset); in PreProcess()
302 static_cast<UpdaterEnv *>(&env), 0); in PreProcess()
/ohos5.0/base/update/updater/services/diffpatch/patch_shared/
H A Dpatch_shared.cpp410 UScriptEnv *env = new (std::nothrow) UpdaterEnv(pkgManager, postMessage, false); in RestoreOriginalFile()