Home
last modified time | relevance | path

Searched refs:PKG_INVALID_FILE (Results 1 – 16 of 16) sorted by relevance

/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp117 return PKG_INVALID_FILE; in CreatePackage()
139 return PKG_INVALID_FILE; in CreatePackage()
162 return PKG_INVALID_FILE; in CreatePackage()
284 UPDATER_LAST_WORD(PKG_INVALID_FILE); in LoadPackage()
285 return PKG_INVALID_FILE; in LoadPackage()
301 ret = PKG_INVALID_FILE; in LoadPackage()
341 return PKG_INVALID_FILE; in ExtraAndLoadPackage()
420 int32_t ret = PKG_INVALID_FILE; in ExtractFile()
514 UPDATER_LAST_WORD(PKG_INVALID_FILE); in CreatePkgStream()
515 return PKG_INVALID_FILE; in CreatePkgStream()
[all …]
/base/update/updater/services/package/pkg_verify/
Dzip_pkg_parse.cpp58 …PKG_CHECK(fileLen > footerSize, UPDATER_LAST_WORD(PKG_INVALID_FILE, fileLen); return PKG_INVALID_F… in ParseZipPkg()
91 …return PKG_INVALID_FILE, "file len[%zu] < signCommentTotalLen[%zu]", fileLen, signCommentTotalLen); in ParseZipPkg()
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz
/base/update/updater/test/unittest/package/
Dpkg_manager_unittest.cpp141 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestPackagePack()
159 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestPackagePackFileNotExist()
263 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestCreatePackageInvalidFile()
299 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestLz4PackageInvalidFile()
303 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestLz4PackageInvalidFile()
326 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestLz4PackageInvalidPkgType()
350 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestZipPackageInvalidFile()
354 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestZipPackageInvalidFile()
366 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestLoadPackageFail()
Dpkg_verify_unittest.cpp62 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestExtraPackageFile()
82 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestExtraPackageDir()
/base/update/updater/test/unittest/script/
Dscript_unittest.cpp81 return PKG_INVALID_FILE; in CreatePkgStream()
84 …PKG_CHECK(file != nullptr, return PKG_INVALID_FILE, "Fail to open file %s ", fileNameReal.c_str()); in CreatePkgStream()
/base/update/updater/services/
Dupdater_main.cpp128 UPDATER_LAST_WORD(PKG_INVALID_FILE); in OtaUpdatePreCheck()
134 UPDATER_LAST_WORD(PKG_INVALID_FILE); in OtaUpdatePreCheck()
135 return PKG_INVALID_FILE; in OtaUpdatePreCheck()
139 UPDATER_LAST_WORD(PKG_INVALID_FILE); in OtaUpdatePreCheck()
140 return PKG_INVALID_FILE; in OtaUpdatePreCheck()
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp81 …PKG_CHECK(fileLen > 0, pkgManager->ClosePkgStream(stream); return PKG_INVALID_FILE, "invalid file … in BuildFileDigest()
82 PKG_CHECK(fileLen <= SIZE_MAX, pkgManager->ClosePkgStream(stream); return PKG_INVALID_FILE, in BuildFileDigest()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp58 …PKG_CHECK(fileLen > 0, packageManager->ClosePkgStream(stream); return PKG_INVALID_FILE, "invalid f… in BuildFileDigest()
59 … PKG_CHECK(fileLen <= SIZE_MAX, packageManager->ClosePkgStream(stream); return PKG_INVALID_FILE, in BuildFileDigest()
/base/update/updater/test/unittest/updater_test/
Dupdater_unittest.cpp106 EXPECT_EQ(ret, static_cast<int>(PKG_INVALID_FILE));
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp188 …PKG_CHECK(fileLen > 0, packageManager->ClosePkgStream(stream); return PKG_INVALID_FILE, "invalid f… in BuildFileDigest()
189 … PKG_CHECK(fileLen <= SIZE_MAX, packageManager->ClosePkgStream(stream); return PKG_INVALID_FILE, in BuildFileDigest()
/base/update/updater/services/package/pkg_package/
Dpkg_gzipfile.cpp333 return PKG_INVALID_FILE; in LoadPackage()
338 return PKG_INVALID_FILE; in LoadPackage()
Dpkg_zipfile.cpp166 PKG_CHECK(fileLen > 0, return PKG_INVALID_FILE, "invalid file to load"); in LoadPackage()
167 PKG_CHECK(fileLen <= SIZE_MAX, return PKG_INVALID_FILE, in LoadPackage()
169 PKG_CHECK(fileLen >= static_cast<size_t>(sizeof(EndCentralDir)), return PKG_INVALID_FILE, in LoadPackage()
211 return PKG_INVALID_FILE; in ParseFileEntries()
Dpkg_upgradefile.cpp35 return PKG_INVALID_FILE; \
186 …return PKG_INVALID_FILE, "Invalid file %s fileLen:%zu ", pkgStream_->GetFileName().c_str(), fileLe… in LoadPackage()
302 …PKG_CHECK(entry->GetFileInfo() != nullptr, delete entry; return PKG_INVALID_FILE, "Failed to get f… in ReadComponents()
Dpkg_lz4file.cpp201 ret = PKG_INVALID_FILE; in LoadPackage()
/base/update/updater/services/include/package/
Dpkg_manager.h36 PKG_INVALID_FILE, enumerator