Home
last modified time | relevance | path

Searched refs:packageManager (Results 1 – 4 of 4) sorted by relevance

/base/update/sys_installer/test/fuzztest/
Dsys_installer_fuzzer.cpp45 PkgManager::PkgManagerPtr packageManager = PkgManager::CreatePackageInstance(); in BuildFileDigest() local
47 …int32_t ret = packageManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Rea… in BuildFileDigest()
49 packageManager->ClosePkgStream(stream); in BuildFileDigest()
50 PkgManager::ReleasePackageInstance(packageManager); in BuildFileDigest()
56 packageManager->ClosePkgStream(stream); in BuildFileDigest()
57 PkgManager::ReleasePackageInstance(packageManager); in BuildFileDigest()
65 packageManager->ClosePkgStream(stream); in BuildFileDigest()
66 PkgManager::ReleasePackageInstance(packageManager); in BuildFileDigest()
77 packageManager->ClosePkgStream(stream); in BuildFileDigest()
78 PkgManager::ReleasePackageInstance(packageManager); in BuildFileDigest()
[all …]
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp52 PkgManager::PkgManagerPtr packageManager = PkgManager::CreatePackageInstance(); in BuildFileDigest() local
54 …int32_t ret = packageManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Rea… in BuildFileDigest()
57 packageManager->ClosePkgStream(stream); in BuildFileDigest()
58 PkgManager::ReleasePackageInstance(packageManager); in BuildFileDigest()
64 packageManager->ClosePkgStream(stream); in BuildFileDigest()
65 PkgManager::ReleasePackageInstance(packageManager); in BuildFileDigest()
75 packageManager->ClosePkgStream(stream); in BuildFileDigest()
76 PkgManager::ReleasePackageInstance(packageManager); in BuildFileDigest()
87 packageManager->ClosePkgStream(stream); in BuildFileDigest()
88 PkgManager::ReleasePackageInstance(packageManager); in BuildFileDigest()
[all …]
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp135 packageManager = PkgManager::CreatePackageInstance(); in UScriptTest()
140 PkgManager::ReleasePackageInstance(packageManager); in ~UScriptTest()
147 if (packageManager == nullptr) { in TestUscriptExecute()
151 …int32_t ret = packageManager->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(), compo… in TestUscriptExecute()
157 UTestScriptEnv* env = new UTestScriptEnv(packageManager); in TestUscriptExecute()
158 Hpackage::HashDataVerifier scriptVerifier {packageManager}; in TestUscriptExecute()
184 …int32_t ret = packageManager->CreatePkgStream(stream, packagePath, 0, PkgStream::PkgStreamType_Rea… in BuildFileDigest()
187 packageManager->ClosePkgStream(stream); in BuildFileDigest()
193 packageManager->ClosePkgStream(stream); in BuildFileDigest()
198 packageManager->ClosePkgStream(stream); in BuildFileDigest()
[all …]
/base/update/updater/test/unittest/script/
Dscript_unittest.cpp225 TestPkgManager packageManager; in TestUscriptExecute() local
226 UTestScriptEnv *env = new UTestScriptEnv(&packageManager); in TestUscriptExecute()
227 HashDataVerifier verifier {&packageManager}; in TestUscriptExecute()