/base/update/updater/services/updater_binary/ |
D | update_partitions.cpp | 127 env.GetPkgManager()->ClosePkgStream(outStream); return USCRIPT_ERROR_EXECUTE); in Execute() 131 env.GetPkgManager()->ClosePkgStream(outStream); in Execute() 138 env.GetPkgManager()->ClosePkgStream(outStream); in Execute() 144 env.GetPkgManager()->ClosePkgStream(outStream); in Execute() 149 env.GetPkgManager()->ClosePkgStream(outStream); in Execute() 153 env.GetPkgManager()->ClosePkgStream(outStream); in Execute()
|
D | update_image_block.cpp | 121 env->GetPkgManager()->ClosePkgStream(stream); in UnpackNewData() 267 env.GetPkgManager()->ClosePkgStream(outStream); in ExtractDiffPackageAndLoad() 270 env.GetPkgManager()->ClosePkgStream(outStream); in ExtractDiffPackageAndLoad() 292 env.GetPkgManager()->ClosePkgStream(outStream); in DoExecuteUpdateBlock() 299 env.GetPkgManager()->ClosePkgStream(outStream); in DoExecuteUpdateBlock() 340 env.GetPkgManager()->ClosePkgStream(outStream); in ExecuteUpdateBlock() 351 env.GetPkgManager()->ClosePkgStream(outStream); return USCRIPT_ERROR_EXECUTE); in ExecuteUpdateBlock() 357 env.GetPkgManager()->ClosePkgStream(outStream); return USCRIPT_ERROR_EXECUTE); in ExecuteUpdateBlock()
|
D | update_processor.cpp | 177 env.GetPkgManager()->ClosePkgStream(outStream); in Execute() 182 env.GetPkgManager()->ClosePkgStream(outStream); in Execute()
|
D | update_image_patch.cpp | 139 env.GetPkgManager()->ClosePkgStream(outStream); in GetPatchFile()
|
/base/update/updater/services/package/pkg_package/ |
D | packages_info.cpp | 100 manager->ClosePkgStream(outStream); in GetOTAVersion() 107 manager->ClosePkgStream(outStream); in GetOTAVersion() 112 manager->ClosePkgStream(outStream); in GetOTAVersion() 146 manager->ClosePkgStream(outStream); in GetBoardID() 151 manager->ClosePkgStream(outStream); in GetBoardID()
|
D | pkg_pkgfile.cpp | 38 pkgManager_->ClosePkgStream(tmpStream); in ~PkgFile()
|
/base/update/updater/test/unittest/updater_binary/ |
D | updater_binary_unittest.cpp | 78 PKG_CHECK(ret == PKG_SUCCESS, pkgManager->ClosePkgStream(stream); in BuildFileDigest() 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() 89 …PKG_CHECK(algorithm != nullptr, pkgManager->ClosePkgStream(stream); return PKG_NOT_EXIST_ALGORITHM, in BuildFileDigest() 98 pkgManager->ClosePkgStream(stream); return ret, in BuildFileDigest() 107 pkgManager->ClosePkgStream(stream); in BuildFileDigest()
|
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/ |
D | UpdaterStartUpdaterProc_fuzzer.cpp | 55 PKG_CHECK(ret == PKG_SUCCESS, packageManager->ClosePkgStream(stream); in BuildFileDigest() 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() 66 …PKG_CHECK(algorithm != nullptr, packageManager->ClosePkgStream(stream); return PKG_NOT_EXIST_ALGOR… in BuildFileDigest() 75 packageManager->ClosePkgStream(stream); return ret, in BuildFileDigest() 84 packageManager->ClosePkgStream(stream); in BuildFileDigest()
|
/base/update/updater/test/unittest/package/ |
D | pkg_test.h | 77 … PKG_CHECK(fileLen > 0, pkgManager_->ClosePkgStream(stream); return -1, "invalid file to load"); in BuildFileDigest() 78 PKG_CHECK(fileLen <= SIZE_MAX, pkgManager_->ClosePkgStream(stream); return -1, in BuildFileDigest() 85 PKG_CHECK(algorithm != nullptr, pkgManager_->ClosePkgStream(stream); return -1, in BuildFileDigest() 94 pkgManager_->ClosePkgStream(stream); return ret, in BuildFileDigest() 103 pkgManager_->ClosePkgStream(stream); in BuildFileDigest() 118 manager->ClosePkgStream(outStream); in ExtractFile()
|
D | pkg_manager_unittest.cpp | 412 pkgManager_->ClosePkgStream(stream); in TestDecompressLz4() 504 pkgManager_->ClosePkgStream(stream); in TestDecompressGzip() 556 pkgManager_->ClosePkgStream(stream); in TestCompressBuffer()
|
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/ |
D | extractandexecutescript_fuzzer.cpp | 185 PKG_CHECK(ret == PKG_SUCCESS, packageManager->ClosePkgStream(stream); in BuildFileDigest() 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() 196 …PKG_CHECK(algorithm != nullptr, packageManager->ClosePkgStream(stream); return PKG_NOT_EXIST_ALGOR… in BuildFileDigest() 205 packageManager->ClosePkgStream(stream); return ret, in BuildFileDigest() 214 packageManager->ClosePkgStream(stream); in BuildFileDigest()
|
/base/update/updater/services/diffpatch/patch/ |
D | update_patch.cpp | 119 pkgManager->ClosePkgStream(stream); in ApplyBlockPatch() 126 pkgManager->ClosePkgStream(stream); in ApplyBlockPatch() 130 pkgManager->ClosePkgStream(stream); in ApplyBlockPatch() 162 pkgManager->ClosePkgStream(stream); in ApplyBlockPatch() 170 pkgManager->ClosePkgStream(stream); in ApplyBlockPatch() 174 pkgManager->ClosePkgStream(stream); in ApplyBlockPatch()
|
D | image_patch.cpp | 150 PATCH_CHECK(ret == 0, pkgManager->ClosePkgStream(stream); return -1, "Can not decompress buff"); in DecompressData() 159 … PATCH_CHECK(ret == 0, pkgManager->ClosePkgStream(stream); return -1, "Can not get memory buff"); in DecompressData()
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_managerImpl.cpp | 185 ClosePkgStream(stream); in CreatePackage() 201 ClosePkgStream(inputStream); in CreatePackage() 205 ClosePkgStream(inputStream); in CreatePackage() 369 ClosePkgStream(stream); in ExtraAndLoadPackage() 395 ClosePkgStream(stream); in LoadPackageWithStream() 496 void PkgManagerImpl::ClosePkgStream(StreamPtr &stream) in ClosePkgStream() function in Hpackage::PkgManagerImpl 499 ClosePkgStream(pkgStream); in ClosePkgStream() 571 void PkgManagerImpl::ClosePkgStream(PkgStreamPtr &stream) in CreatePkgStream() function in Hpackage::PkgManagerImpl 864 ClosePkgStream(pkgStream); in CreatePkgStream() 868 ClosePkgStream(pkgStream); in CreatePkgStream() [all …]
|
D | pkg_manager_impl.h | 57 void ClosePkgStream(StreamPtr &stream) override; 119 void ClosePkgStream(PkgStreamPtr &stream);
|
/base/update/updater/services/ptable_parse/ |
D | ptable_manager.cpp | 288 pkgManager->ClosePkgStream(outStream); in GetPtableBufferFromPkg() 297 pkgManager->ClosePkgStream(outStream); in GetPtableBufferFromPkg() 300 pkgManager->ClosePkgStream(outStream); in GetPtableBufferFromPkg()
|
/base/update/updater/test/unittest/test_data/applypatch/ |
D | TestDecompressGzip.new.gz |
|
/base/update/updater/test/unittest/script/ |
D | script_unittest.h | 85 void ClosePkgStream(StreamPtr &stream) override { } in ClosePkgStream() function
|
D | script_unittest.cpp | 88 void ClosePkgStream(StreamPtr &stream) override in ClosePkgStream() function in __anon029f3c320111::TestPkgManager
|
/base/update/updater/interfaces/kits/packages/ |
D | package.cpp | 236 manager->ClosePkgStream(outStream); in ExtraPackageDir() 268 manager->ClosePkgStream(outStream); in ExtraPackageFile()
|
/base/update/updater/services/diffpatch/diff/ |
D | update_diff.cpp | 122 pkgManager_->ClosePkgStream(outStream); in Extract()
|
/base/update/updater/services/script/script_manager/ |
D | script_managerImpl.cpp | 132 manager->ClosePkgStream(outStream); in ExtractAndExecuteScript()
|
/base/update/updater/services/include/package/ |
D | pkg_manager.h | 340 virtual void ClosePkgStream(StreamPtr &stream) = 0;
|
/base/update/updater/services/ |
D | updater.cpp | 70 manager->ClosePkgStream(outStream); in ExtractUpdaterBinary()
|