Home
last modified time | relevance | path

Searched refs:ClosePkgStream (Results 1 – 24 of 24) sorted by relevance

/base/update/updater/services/updater_binary/
Dupdate_partitions.cpp127 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()
Dupdate_image_block.cpp121 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()
Dupdate_processor.cpp177 env.GetPkgManager()->ClosePkgStream(outStream); in Execute()
182 env.GetPkgManager()->ClosePkgStream(outStream); in Execute()
Dupdate_image_patch.cpp139 env.GetPkgManager()->ClosePkgStream(outStream); in GetPatchFile()
/base/update/updater/services/package/pkg_package/
Dpackages_info.cpp100 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()
Dpkg_pkgfile.cpp38 pkgManager_->ClosePkgStream(tmpStream); in ~PkgFile()
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp78 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/
DUpdaterStartUpdaterProc_fuzzer.cpp55 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/
Dpkg_test.h77 … 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()
Dpkg_manager_unittest.cpp412 pkgManager_->ClosePkgStream(stream); in TestDecompressLz4()
504 pkgManager_->ClosePkgStream(stream); in TestDecompressGzip()
556 pkgManager_->ClosePkgStream(stream); in TestCompressBuffer()
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp185 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/
Dupdate_patch.cpp119 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()
Dimage_patch.cpp150 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/
Dpkg_managerImpl.cpp185 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 …]
Dpkg_manager_impl.h57 void ClosePkgStream(StreamPtr &stream) override;
119 void ClosePkgStream(PkgStreamPtr &stream);
/base/update/updater/services/ptable_parse/
Dptable_manager.cpp288 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/
DTestDecompressGzip.new.gz
/base/update/updater/test/unittest/script/
Dscript_unittest.h85 void ClosePkgStream(StreamPtr &stream) override { } in ClosePkgStream() function
Dscript_unittest.cpp88 void ClosePkgStream(StreamPtr &stream) override in ClosePkgStream() function in __anon029f3c320111::TestPkgManager
/base/update/updater/interfaces/kits/packages/
Dpackage.cpp236 manager->ClosePkgStream(outStream); in ExtraPackageDir()
268 manager->ClosePkgStream(outStream); in ExtraPackageFile()
/base/update/updater/services/diffpatch/diff/
Dupdate_diff.cpp122 pkgManager_->ClosePkgStream(outStream); in Extract()
/base/update/updater/services/script/script_manager/
Dscript_managerImpl.cpp132 manager->ClosePkgStream(outStream); in ExtractAndExecuteScript()
/base/update/updater/services/include/package/
Dpkg_manager.h340 virtual void ClosePkgStream(StreamPtr &stream) = 0;
/base/update/updater/services/
Dupdater.cpp70 manager->ClosePkgStream(outStream); in ExtractUpdaterBinary()