Home
last modified time | relevance | path

Searched refs:PkgStreamType_Read (Results 1 – 15 of 15) sorted by relevance

/base/update/updater/test/unittest/package/
Dpkg_package_unittest.cpp80 … int ret = pkgManager_->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in TestPkgFile()
102 … int ret = pkgManager_->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in TestPkgFileInvalid()
122 pkgManager_->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in TestBigZipEntry()
Dpkg_test.h73 … int32_t ret = pkgManager_->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in BuildFileDigest()
Dpkg_verify_unittest.cpp199 FileStream filestream(nullptr, "", nullptr, PkgStream::PkgStreamType_Read); in TestHashDataVerifierFailed01()
Dpkg_manager_unittest.cpp192 EXPECT_EQ(PkgStream::PkgStreamType_Read, ret); in TestPkgStreamImpl()
226 int ret = CheckFile(filePath, PkgStream::PkgStreamType_Read); in TestCheckFile()
/base/update/updater/services/package/pkg_verify/
Dhash_data_verifier.cpp103 int32_t ret = manager_->CreatePkgStream(pkgStream, pkgPath, 0, PkgStream::PkgStreamType_Read); in LoadPkcs7FromPackage()
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp186 ret = CreatePkgStream(inputStream, files[i].first, 0, PkgStream::PkgStreamType_Read); in CreatePackage()
529 …if (type == PkgStream::PkgStreamType_Read && _fullpath(realPath, fileName.c_str(), PATH_MAX) == nu… in DoCreatePkgStream()
531 if (type == PkgStream::PkgStreamType_Read && realpath(fileName.c_str(), realPath) == nullptr) { in DoCreatePkgStream()
549 if (type == PkgStream::PkgStreamType_Read) { in DoCreatePkgStream()
567 if (type == PkgStream::PkgStreamType_Write || type == PkgStream::PkgStreamType_Read) { in DoCreatePkgStream()
961 int32_t ret = CreatePkgStream(pkgStream, packagePath, 0, PkgStream::PkgStreamType_Read); in DoCreatePkgStream()
985 int32_t ret = CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in DoCreatePkgStream()
Dpkg_stream.h69 return PkgStreamType_Read; in GetStreamType()
Dpkg_utils.cpp112 if (type == PkgStream::PkgStreamType_Read) { in GetFileSize()
/base/update/sys_installer/test/fuzztest/
Dsys_installer_fuzzer.cpp47 …t32_t ret = packageManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in BuildFileDigest()
/base/update/updater/test/unittest/script/
Dscript_unittest.cpp127 stream = new FileStream(this, fileNameReal, file, PkgStream::PkgStreamType_Read); in CreatePkgStream()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp54 …t32_t ret = packageManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in BuildFileDigest()
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp77 … int32_t ret = pkgManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in BuildFileDigest()
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * ...
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp184 …t32_t ret = packageManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Read); in BuildFileDigest()
/base/update/updater/services/include/package/
Dpkg_manager.h43 PkgStreamType_Read = 0, // common file reading enumerator