/base/update/updater/services/package/pkg_manager/ |
D | pkg_managerImpl.cpp | 117 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/ |
D | zip_pkg_parse.cpp | 58 …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/ |
D | TestDecompressGzip.new.gz |
|
/base/update/updater/test/unittest/package/ |
D | pkg_manager_unittest.cpp | 141 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()
|
D | pkg_verify_unittest.cpp | 62 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestExtraPackageFile() 82 EXPECT_EQ(ret, PKG_INVALID_FILE); in TestExtraPackageDir()
|
/base/update/updater/test/unittest/script/ |
D | script_unittest.cpp | 81 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/ |
D | updater_main.cpp | 128 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/ |
D | updater_binary_unittest.cpp | 81 …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/ |
D | UpdaterStartUpdaterProc_fuzzer.cpp | 58 …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/ |
D | updater_unittest.cpp | 106 EXPECT_EQ(ret, static_cast<int>(PKG_INVALID_FILE));
|
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/ |
D | extractandexecutescript_fuzzer.cpp | 188 …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/ |
D | pkg_gzipfile.cpp | 333 return PKG_INVALID_FILE; in LoadPackage() 338 return PKG_INVALID_FILE; in LoadPackage()
|
D | pkg_zipfile.cpp | 166 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()
|
D | pkg_upgradefile.cpp | 35 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()
|
D | pkg_lz4file.cpp | 201 ret = PKG_INVALID_FILE; in LoadPackage()
|
/base/update/updater/services/include/package/ |
D | pkg_manager.h | 36 PKG_INVALID_FILE, enumerator
|