Signed-off-by: 师皓杰 <shihaojie10@huawei.com>
This commit is contained in:
师皓杰 2024-07-23 03:40:21 +00:00 committed by Gitee
parent 92786e5f70
commit b880760ab0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -17,6 +17,7 @@
#include "dms_free_install_callback.h"
#include "distributed_sched_interface.h"
#include "mock_fuzz_util.h"
#include "parcel_helper.h"
namespace OHOS {
@ -29,6 +30,7 @@ bool OnInstallFinishedInnerFuzzTest(const uint8_t* data, size_t size)
if ((data == nullptr) || (size < sizeof(int32_t))) {
return false;
}
FuzzUtil::MockPermission();
int64_t taskId = 0;
IDistributedSched::FreeInstallInfo info;
std::shared_ptr<DmsFreeInstallCallback> freeInstall_ =