Home
last modified time | relevance | path

Searched refs:FuzztestHelper (Results 1 – 10 of 10) sorted by relevance

/base/update/updateservice/test/fuzztest/common/
Dfuzztest_helper.cpp40 FuzztestHelper::FuzztestHelper() in FuzztestHelper() function in OHOS::UpdateEngine::FuzztestHelper
64 FuzztestHelper::~FuzztestHelper() in ~FuzztestHelper()
76 bool FuzztestHelper::TrySetData(const uint8_t* data, size_t size) in TrySetData()
89 int32_t FuzztestHelper::GetInt() in GetInt()
108 BusinessType FuzztestHelper::BuildBusinessType() in BuildBusinessType()
116 UpdateCallbackInfo FuzztestHelper::BuildUpdateCallbackInfo() in BuildUpdateCallbackInfo()
124 UpgradeInfo FuzztestHelper::BuildUpgradeInfo() in BuildUpgradeInfo()
143 UpgradePolicy FuzztestHelper::BuildUpgradePolicy() in BuildUpgradePolicy()
155 VersionDigestInfo FuzztestHelper::BuildVersionDigestInfo() in BuildVersionDigestInfo()
162 void FuzztestHelper::GetCharArray(char *charArray, uint32_t arraySize) in GetCharArray()
[all …]
Dfuzztest_helper.h30 class FuzztestHelper : public DelayedSingleton<FuzztestHelper> {
31 DECLARE_DELAYED_SINGLETON(FuzztestHelper);
/base/update/updateservice/test/fuzztest/updateserviceregisterupdatecallback_fuzzer/
Dupdateserviceregisterupdatecallback_fuzzer.cpp27 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceRegisterUpdateCallback()
32 DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo(), in FuzzUpdateServiceRegisterUpdateCallback()
33 DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpdateCallbackInfo()) == 0; in FuzzUpdateServiceRegisterUpdateCallback()
/base/update/updateservice/test/fuzztest/updateservicecancel_fuzzer/
Dupdateservicecancel_fuzzer.cpp29 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceCancel()
34 …return UpdateServiceKits::GetInstance().Cancel(DelayedSingleton<FuzztestHelper>::GetInstance()->Bu… in FuzzUpdateServiceCancel()
35 DelayedSingleton<FuzztestHelper>::GetInstance()->GetInt(), businessError) == 0; in FuzzUpdateServiceCancel()
/base/update/updateservice/test/fuzztest/updateservicesetupgradepolicy_fuzzer/
Dupdateservicesetupgradepolicy_fuzzer.cpp27 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceSetUpgradePolicy()
33 DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo(), in FuzzUpdateServiceSetUpgradePolicy()
34 DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradePolicy(), businessError) == 0; in FuzzUpdateServiceSetUpgradePolicy()
/base/update/updateservice/test/fuzztest/updateservicedownload_fuzzer/
Dupdateservicedownload_fuzzer.cpp27 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceDownload()
34 DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo(), in FuzzUpdateServiceDownload()
35 …DelayedSingleton<FuzztestHelper>::GetInstance()->BuildVersionDigestInfo(), downloadOptions, busine… in FuzzUpdateServiceDownload()
/base/update/updateservice/test/fuzztest/updateservicechecknewversion_fuzzer/
Dupdateservicechecknewversion_fuzzer.cpp27 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceCheckNewVersion()
32 DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo()) == 0; in FuzzUpdateServiceCheckNewVersion()
/base/update/updateservice/test/fuzztest/updateserviceunregisterupdatecallback_fuzzer/
Dupdateserviceunregisterupdatecallback_fuzzer.cpp27 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceUnregisterUpdateCallback()
32 DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo()) == 0; in FuzzUpdateServiceUnregisterUpdateCallback()
/base/update/updateservice/test/fuzztest/updateservicegetnewversion_fuzzer/
Dupdateservicegetnewversion_fuzzer.cpp27 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceGetNewVersion()
34 …DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo(), newVersionInfo, businessError… in FuzzUpdateServiceGetNewVersion()
/base/update/updateservice/test/fuzztest/updateservicegetupgradepolicy_fuzzer/
Dupdateservicegetupgradepolicy_fuzzer.cpp27 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceGetUpgradePolicy()
34 …DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo(), upgradePolicy, businessError)… in FuzzUpdateServiceGetUpgradePolicy()