Home
last modified time | relevance | path

Searched refs:GetTestCertName (Results 1 - 10 of 10) sorted by relevance

/base/update/updater/test/unittest/updater_binary/
H A Dupdate_image_block_test.cpp66 int32_t ret = ProcessUpdater(false, STDOUT_FILENO, packagePath, GetTestCertName()); in HWTEST_F()
77 int32_t ret = ProcessUpdater(false, STDOUT_FILENO, packagePath, GetTestCertName()); in HWTEST_F()
88 int32_t ret = ProcessUpdater(false, STDOUT_FILENO, packagePath, GetTestCertName()); in HWTEST_F()
H A Dupdate_processor_unittest.cpp77 int32_t ret = ProcessUpdater(false, STDOUT_FILENO, packagePath, GetTestCertName()); in HWTEST_F()
93 ret = ProcessUpdater(false, STDOUT_FILENO, packagePath, GetTestCertName()); in HWTEST_F()
109 ret = ProcessUpdater(false, STDOUT_FILENO, packagePath, GetTestCertName()); in HWTEST_F()
H A Dupdate_partitions_unittest.cpp61 int ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components); in HWTEST_F()
85 int ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components); in HWTEST_F()
H A Dupdater_binary_unittest.cpp46 int fd = open(GetTestCertName().c_str(), O_RDONLY); in TestUpdater()
48 LOG(ERROR) << GetTestCertName() << " open failed, fd = " << fd; in TestUpdater()
53 ret = ProcessUpdater(false, STDOUT_FILENO, path.c_str(), GetTestCertName().c_str()); in TestUpdater()
/base/update/updater/test/unittest/package/
H A Dpackage_unittest.cpp54 ret = VerifyPackage(nullptr, GetTestCertName(0).c_str(), nullptr, nullptr, digestLen); in TestInvalidCreatePackage()
141 testPackagePath + "test_package.zip", GetTestCertName(type), components); in TestPackageUnpack()
161 GetTestCertName(digestMethod), components); in TestZipPkgDecompress()
198 int ret = VerifyPackage(path.c_str(), GetTestCertName(0).c_str(), "", digest.data(), digest.capacity()); in TestVerifyUpgradePackage()
208 int ret = VerifyPackageWithCallback(path.c_str(), GetTestCertName(0).c_str(), in TestVerifyPackageWithCallback()
218 ret = VerifyPackageWithCallback(path.c_str(), GetTestCertName(0).c_str(), cb); in TestVerifyPackageWithCallback()
222 ret = VerifyPackageWithCallback(path.c_str(), GetTestCertName(0).c_str(), in TestVerifyPackageWithCallback()
H A Dpkg_manager_unittest.cpp361 int32_t ret = pkgManager_->LoadPackage(fileName, GetTestCertName(0), components); in TestLoadPackageFail()
/base/update/updater/test/unittest/
H A Dunittest_comm.h42 inline std::string GetTestCertName(int type = 0) in GetTestCertName() function
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
H A DUpdaterStartUpdaterProc_fuzzer.cpp35 static inline std::string GetTestCertName() in GetTestCertName() function
165 pkgManager->LoadPackage(patch, GetTestCertName(), components); in StartUpdaterProcFun()
/base/update/updater/test/unittest/updater_test/
H A Dupdater_unittest.cpp84 int32_t ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components); in HWTEST_F()
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
H A Dextractandexecutescript_fuzzer.cpp45 static inline std::string GetTestCertName() in GetTestCertName() function
156 int32_t ret = packageManager->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(), components); in TestUscriptExecute()

Completed in 6 milliseconds