Searched refs:FuzztestHelper (Results 1 – 10 of 10) sorted by relevance
/base/update/updateservice/test/fuzztest/common/ |
D | fuzztest_helper.cpp | 40 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 …]
|
D | fuzztest_helper.h | 30 class FuzztestHelper : public DelayedSingleton<FuzztestHelper> { 31 DECLARE_DELAYED_SINGLETON(FuzztestHelper);
|
/base/update/updateservice/test/fuzztest/updateserviceregisterupdatecallback_fuzzer/ |
D | updateserviceregisterupdatecallback_fuzzer.cpp | 27 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/ |
D | updateservicecancel_fuzzer.cpp | 29 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/ |
D | updateservicesetupgradepolicy_fuzzer.cpp | 27 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/ |
D | updateservicedownload_fuzzer.cpp | 27 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/ |
D | updateservicechecknewversion_fuzzer.cpp | 27 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceCheckNewVersion() 32 DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo()) == 0; in FuzzUpdateServiceCheckNewVersion()
|
/base/update/updateservice/test/fuzztest/updateserviceunregisterupdatecallback_fuzzer/ |
D | updateserviceunregisterupdatecallback_fuzzer.cpp | 27 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceUnregisterUpdateCallback() 32 DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo()) == 0; in FuzzUpdateServiceUnregisterUpdateCallback()
|
/base/update/updateservice/test/fuzztest/updateservicegetnewversion_fuzzer/ |
D | updateservicegetnewversion_fuzzer.cpp | 27 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/ |
D | updateservicegetupgradepolicy_fuzzer.cpp | 27 if (!DelayedSingleton<FuzztestHelper>::GetInstance()->TrySetData(data, size)) { in FuzzUpdateServiceGetUpgradePolicy() 34 …DelayedSingleton<FuzztestHelper>::GetInstance()->BuildUpgradeInfo(), upgradePolicy, businessError)… in FuzzUpdateServiceGetUpgradePolicy()
|