Home
last modified time | relevance | path

Searched refs:fileIds (Results 1 - 6 of 6) sorted by relevance

/base/update/updater/services/package/pkg_manager/
H A Dpkg_manager_impl.h50 std::vector<std::string> &fileIds) override;
64 int32_t LoadPackageWithoutUnPack(const std::string &packagePath, std::vector<std::string> &fileIds) override;
67 std::vector<std::string> &fileIds, uint8_t type, StreamPtr stream) override;
69 int32_t ParsePackage(StreamPtr stream, std::vector<std::string> &fileIds, int32_t type) override;
100 std::vector<std::string> &fileIds, PkgFile::PkgType type) override;
109 std::vector<std::string> &fileIds);
112 std::vector<std::string> &fileIds, PkgFile::PkgType type, PkgStreamPtr stream);
H A Dpkg_managerImpl.cpp240 std::vector<std::string> &fileIds) in LoadPackageWithoutUnPack()
243 int32_t ret = LoadPackage(packagePath, fileIds, pkgType); in LoadPackageWithoutUnPack()
252 int32_t PkgManagerImpl::ParsePackage(StreamPtr stream, std::vector<std::string> &fileIds, int32_t type) in ParsePackage() argument
264 int32_t ret = pkgFile->LoadPackage(fileIds, in ParsePackage()
279 std::vector<std::string> &fileIds) in LoadPackage()
298 int32_t ret = LoadPackage(packagePath, fileIds, pkgType); in LoadPackage()
317 fileIds.push_back(name); in LoadPackage()
320 ret = ExtraAndLoadPackage(GetFilePath(packagePath), name, pkgType, fileIds); in LoadPackage()
344 PkgFile::PkgType type, std::vector<std::string> &fileIds) in ExtraAndLoadPackage()
379 return LoadPackageWithStream(path, fileIds, typ in ExtraAndLoadPackage()
239 LoadPackageWithoutUnPack(const std::string &packagePath, std::vector<std::string> &fileIds) LoadPackageWithoutUnPack() argument
278 LoadPackage(const std::string &packagePath, const std::string &keyPath, std::vector<std::string> &fileIds) LoadPackage() argument
343 ExtraAndLoadPackage(const std::string &path, const std::string &name, PkgFile::PkgType type, std::vector<std::string> &fileIds) ExtraAndLoadPackage() argument
382 LoadPackage(const std::string &packagePath, std::vector<std::string> &fileIds, PkgFile::PkgType type) LoadPackage() argument
395 LoadPackageWithStream(const std::string &packagePath, const std::string &keyPath, std::vector<std::string> &fileIds, uint8_t type, StreamPtr stream) LoadPackageWithStream() argument
408 LoadPackageWithStream(const std::string &packagePath, std::vector<std::string> &fileIds, PkgFile::PkgType type, PkgStreamPtr stream) LoadPackageWithStream() argument
[all...]
/base/update/updater/test/unittest/script/
H A Dscript_unittest.h46 std::vector<std::string> &fileIds) override
99 std::vector<std::string> &fileIds) override
103 int32_t ParsePackage(StreamPtr stream, std::vector<std::string> &fileIds, int32_t type) override
110 std::vector<std::string> &fileIds, uint8_t type, StreamPtr stream) override
132 std::vector<std::string> &fileIds, PkgFile::PkgType type) override
/base/update/updater/services/include/package/
H A Dpkg_manager.h254 * @param fileIds returned file ID list
259 std::vector<std::string> &fileIds) = 0;
281 * @param fileId File ID, which is obtained from the fileIds returned by the LoadPackage function
351 std::vector<std::string> &fileIds) = 0;
354 std::vector<std::string> &fileIds, uint8_t type, StreamPtr stream) = 0;
356 virtual int32_t ParsePackage(StreamPtr stream, std::vector<std::string> &fileIds, int32_t type) = 0;
370 * @param fileIds returned file ID list
375 std::vector<std::string> &fileIds, PkgFile::PkgType type) = 0;
/base/update/updater/test/unittest/package/
H A Dpkg_verify_unittest.cpp227 std::vector<std::string> fileIds {}; in TestHashDataVerifierFailed03()
229 Utils::GetCertName(), fileIds)); in TestHashDataVerifierFailed03()
263 std::vector<std::string> fileIds {}; in TestHashDataVerifierSuccess()
265 Utils::GetCertName(), fileIds)); in TestHashDataVerifierSuccess()
/base/update/updater/services/
H A Dupdater.cpp139 std::vector<std::string> fileIds; in GetStashSizeList() local
140 int ret = pkgManager->LoadPackageWithoutUnPack(upParams.updatePackage[i], fileIds); in GetStashSizeList()

Completed in 6 milliseconds