Home
last modified time | relevance | path

Searched refs:GetTestCertName (Results 1 – 11 of 11) sorted by relevance

/base/update/updater/test/unittest/package/
Dpackage_unittest.cpp98 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(type), comp… in TestPackageUnpack()
119 GetTestCertName(digestMethod), components); in TestZipPkgDecompress()
185 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testLz4PackageName, GetTestCertName(0), comp… in TestLz4PkgDecompress()
215 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testCombinePkgName, GetTestCertName(0), comp… in TestCombinePkgUnpack()
235 …ret = VerifyPackage(path.c_str(), GetTestCertName(0).c_str(), "", digest.data(), digest.capacity()… in TestVerifyUpgradePackage()
239 …ret = VerifyPackage(path.c_str(), GetTestCertName(0).c_str(), "", digest.data(), digest.capacity()… in TestVerifyUpgradePackage()
250 ret = VerifyPackageWithCallback(path.c_str(), GetTestCertName(0).c_str(), in TestVerifyZipWithCallback()
267 ret = VerifyPackage(path.c_str(), GetTestCertName(digestMethod).c_str(), in TestVerifyZip()
271 ret = VerifyPackage(path.c_str(), GetTestCertName(0).c_str(), in TestVerifyZip()
288 …ret = VerifyPackage(path.c_str(), GetTestCertName(0).c_str(), "", digest.data(), digest.capacity()… in TestVerifyLz4()
[all …]
Dpkg_manager_unittest.cpp180 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testCombinePkgName, GetTestCertName(0), comp… in TestPkgMmmapStream()
261 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testCombinePkgName, GetTestCertName(0), comp… in TestPkgFileStream()
300 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testCombinePkgName, GetTestCertName(0), comp… in TestPkgProcessStream()
502 int32_t ret = pkgManager_->LoadPackage(fileName, GetTestCertName(0), components); in TestLoadPackageFail()
/base/update/updater/test/unittest/updater_binary/
Dupdate_partitions_unittest.cpp61 int ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
84 int ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
Dupdate_image_block_test.cpp82 ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
116 ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
Dupdater_binary_unittest.cpp48 int fd = open(GetTestCertName().c_str(), O_RDONLY); in TestUpdater()
50 cout << GetTestCertName() << " open failed, fd = " << fd << endl; in TestUpdater()
55 ret = ProcessUpdater(false, STDOUT_FILENO, path.c_str(), GetTestCertName().c_str()); in TestUpdater()
Dupdate_processor_unittest.cpp64 int32_t ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
/base/update/updater/test/unittest/
Dunittest_comm.h42 inline std::string GetTestCertName(int type = 0)
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp35 static inline std::string GetTestCertName() in GetTestCertName() function
151 pkgManager->LoadPackage(patch, GetTestCertName(), components); in StartUpdaterProcFun()
/base/update/updater/test/unittest/updater_test/
Dupdater_unittest.cpp85 int32_t ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
/base/update/updater/test/fuzztest/ExtractAndExecuteScript_fuzzer/
DExtractAndExecuteScript_fuzzer.cpp44 static inline std::string GetTestCertName() in GetTestCertName() function
152 …int32_t ret = packageManager->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(), compo… in TestUscriptExecute()
/base/update/updater/test/unittest/script/
Dscript_unittest.cpp139 …int32_t ret = packageManager->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(), compo… in TestUscriptExecute()