/base/update/updater/services/package/pkg_verify/ |
D | hash_data_verifier.cpp | 38 bool HashDataVerifier::LoadHashDataAndPkcs7(const std::string &pkgPath) in LoadHashDataAndPkcs7() argument 52 if (!LoadPkcs7FromPackage(pkgPath)) { in LoadHashDataAndPkcs7() 53 PKG_LOGE("load pkcs7 from %s failed", pkgPath.c_str()); in LoadHashDataAndPkcs7() 54 UPDATER_LAST_WORD(PKG_INVALID_FILE, pkgPath); in LoadHashDataAndPkcs7() 58 PKG_LOGE("load pkcs7 from %s failed", pkgPath.c_str()); in LoadHashDataAndPkcs7() 59 UPDATER_LAST_WORD(PKG_INVALID_FILE, pkgPath); in LoadHashDataAndPkcs7() 100 bool HashDataVerifier::LoadPkcs7FromPackage(const std::string &pkgPath) in LoadPkcs7FromPackage() argument 103 int32_t ret = manager_->CreatePkgStream(pkgStream, pkgPath, 0, PkgStream::PkgStreamType_Read); in LoadPkcs7FromPackage() 105 PKG_LOGE("CreatePackage fail %s", pkgPath.c_str()); in LoadPkcs7FromPackage() 106 UPDATER_LAST_WORD(PKG_INVALID_FILE, pkgPath); in LoadPkcs7FromPackage()
|
/base/update/updater/services/sdcard_update/ |
D | sdcard_update.cpp | 43 for (auto pkgPath : sdcardPkgs) { in GetSdcardPkgsPath() local 44 if (access(pkgPath.c_str(), 0) == 0) { in GetSdcardPkgsPath() 45 LOG(INFO) << "find sdcard package : " << pkgPath; in GetSdcardPkgsPath() 46 upParams.updatePackage.push_back(pkgPath); in GetSdcardPkgsPath()
|
/base/update/sys_installer/services/ab_update/include/ |
D | ab_update.h | 28 const std::string &pkgPath) : statusManager_(statusManager), pkgPath_(pkgPath) {} in ABUpdate() argument 38 Updater::UpdaterStatus StartABUpdate(const std::string &pkgPath);
|
/base/update/sys_installer/frameworks/actions/verify_action/include/ |
D | pkg_verify.h | 28 const std::string &pkgPath) : statusManager_(statusManager), pkgPath_(pkgPath) {} in PkgVerify() argument 39 virtual int Verify(const std::string &pkgPath);
|
/base/update/sys_installer/frameworks/installer_manager/include/ |
D | installer_manager_helper.h | 28 virtual int32_t StartUpdatePackageZip(const std::string &pkgPath) = 0; 31 virtual int32_t StartUpdateParaZip(const std::string &pkgPath, 42 virtual int32_t StartUpdatePackageZip(const std::string &pkgPath); 45 virtual int32_t StartUpdateParaZip(const std::string &pkgPath,
|
D | installer_manager.h | 32 virtual int32_t StartUpdatePackageZip(const std::string &pkgPath); 35 virtual int32_t StartUpdateParaZip(const std::string &pkgPath,
|
/base/update/sys_installer/frameworks/ipc_server/src/ |
D | sys_installer_server.cpp | 52 int32_t SysInstallerServer::StartUpdatePackageZip(const std::string &pkgPath) in StartUpdatePackageZip() argument 55 return InstallerManager::GetInstance().StartUpdatePackageZip(pkgPath); in StartUpdatePackageZip() 70 int32_t SysInstallerServer::StartUpdateParaZip(const std::string &pkgPath, in StartUpdateParaZip() argument 74 return InstallerManager::GetInstance().StartUpdateParaZip(pkgPath, location, cfgDir); in StartUpdateParaZip()
|
D | sys_installer_stub.cpp | 74 string pkgPath = Str16ToStr8(data.ReadString16()); in StartUpdatePackageZipStub() local 75 int ret = service->StartUpdatePackageZip(pkgPath); in StartUpdatePackageZipStub() 116 string pkgPath = Str16ToStr8(data.ReadString16()); in StartUpdateParaZipStub() local 119 …LOG(INFO) << "StartUpdateParaZipStub path:" << pkgPath << " location:" << location << " cfgDir:" <… in StartUpdateParaZipStub() 121 int32_t ret = service->StartUpdateParaZip(pkgPath, location, cfgDir); in StartUpdateParaZipStub()
|
/base/update/sys_installer/frameworks/installer_manager/src/ |
D | installer_manager.cpp | 51 int32_t InstallerManager::StartUpdatePackageZip(const std::string &pkgPath) in StartUpdatePackageZip() argument 57 return helper_->StartUpdatePackageZip(pkgPath); in StartUpdatePackageZip() 78 int32_t InstallerManager::StartUpdateParaZip(const std::string &pkgPath, in StartUpdateParaZip() argument 85 return helper_->StartUpdateParaZip(pkgPath, location, cfgDir); in StartUpdateParaZip()
|
D | installer_manager_helper.cpp | 43 int32_t InstallerManagerHelper::StartUpdatePackageZip(const std::string &pkgPath) in StartUpdatePackageZip() argument 54 ActionProcesser::GetInstance().AddAction(std::make_unique<ABUpdate>(statusManager_, pkgPath)); in StartUpdatePackageZip() 77 int32_t InstallerManagerHelper::StartUpdateParaZip(const std::string &pkgPath, in StartUpdateParaZip() argument
|
/base/update/updater/test/unittest/updaterkits_test/ |
D | updaterkits_unittest.cpp | 59 std::vector<std::string> pkgPath {}; variable 60 ret = RebootAndInstallSdcardPackage(MISC_FILE, pkgPath); 64 pkgPath.push_back(path); 65 ret = RebootAndInstallSdcardPackage(MISC_FILE, pkgPath);
|
/base/update/updater/services/include/package/ |
D | hash_data_verifier.h | 29 bool LoadHashDataAndPkcs7(const std::string &pkgPath); 33 bool LoadPkcs7FromPackage(const std::string &pkgPath);
|
/base/update/sys_installer/interfaces/inner_api/include/ |
D | isys_installer.h | 31 virtual int32_t StartUpdatePackageZip(const std::string &pkgPath) = 0; 34 virtual int32_t StartUpdateParaZip(const std::string &pkgPath,
|
D | imodule_update.h | 28 virtual int32_t InstallModulePackage(const std::string &pkgPath) = 0;
|
/base/update/sys_installer/interfaces/innerkits/ipc_client/include/ |
D | sys_installer_kits.h | 40 virtual int32_t StartUpdatePackageZip(const std::string &pkgPath) = 0; 43 virtual int32_t StartUpdateParaZip(const std::string &pkgPath,
|
D | sys_installer_proxy.h | 29 virtual int32_t StartUpdatePackageZip(const std::string &pkgPath); 32 virtual int32_t StartUpdateParaZip(const std::string &pkgPath,
|
D | sys_installer_kits_impl.h | 31 virtual int32_t StartUpdatePackageZip(const std::string &pkgPath); 34 virtual int32_t StartUpdateParaZip(const std::string &pkgPath,
|
D | module_update_kits.h | 33 virtual int32_t InstallModulePackage(const std::string &pkgPath) = 0;
|
/base/update/sys_installer/services/ab_update/src/ |
D | ab_update.cpp | 29 UpdaterStatus ABUpdate::StartABUpdate(const std::string &pkgPath) in StartABUpdate() argument 44 LOG(INFO) << "ABUpdate start, pkg updaterPath : " << pkgPath.c_str(); in StartABUpdate() 47 upParams.updatePackage = {pkgPath}; in StartABUpdate()
|
/base/update/sys_installer/frameworks/ipc_server/include/ |
D | sys_installer_server.h | 40 int32_t StartUpdatePackageZip(const std::string &pkgPath) override; 43 int32_t StartUpdateParaZip(const std::string &pkgPath,
|
/base/update/sys_installer/frameworks/actions/verify_action/src/ |
D | pkg_verify.cpp | 36 int PkgVerify::Verify(const std::string &pkgPath) in Verify() argument 49 if (!Utils::PathToRealPath(pkgPath, realPath)) { in Verify()
|
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/ |
D | sys_installer_proxy.cpp | 53 int32_t SysInstallerProxy::StartUpdatePackageZip(const std::string &pkgPath) in StartUpdatePackageZip() argument 67 data.WriteString16(Str8ToStr16(pkgPath)); in StartUpdatePackageZip() 142 int32_t SysInstallerProxy::StartUpdateParaZip(const std::string &pkgPath, in StartUpdateParaZip() argument 157 data.WriteString16(Str8ToStr16(pkgPath)); in StartUpdateParaZip()
|
D | sys_installer_kits_impl.cpp | 150 int32_t SysInstallerKitsImpl::StartUpdatePackageZip(const std::string &pkgPath) in StartUpdatePackageZip() argument 158 int32_t ret = updateService->StartUpdatePackageZip(pkgPath); in StartUpdatePackageZip() 195 int32_t SysInstallerKitsImpl::StartUpdateParaZip(const std::string &pkgPath, in StartUpdateParaZip() argument 204 int32_t ret = updateService->StartUpdateParaZip(pkgPath, location, cfgDir); in StartUpdateParaZip()
|
D | module_update_kits_impl.cpp | 97 int32_t ModuleUpdateKitsImpl::InstallModulePackage(const std::string &pkgPath) in InstallModulePackage() argument 99 LOG(INFO) << "InstallModulePackage " << pkgPath; in InstallModulePackage() 105 return moduleUpdate->InstallModulePackage(pkgPath); in InstallModulePackage()
|
D | module_update_proxy.cpp | 27 int32_t ModuleUpdateProxy::InstallModulePackage(const std::string &pkgPath) in InstallModulePackage() argument 29 LOG(INFO) << "InstallModulePackage " << pkgPath; in InstallModulePackage() 41 data.WriteString16(Str8ToStr16(pkgPath)); in InstallModulePackage()
|