/foundation/filemanagement/storage_service/test/fuzztest/filesystemcrypto_fuzzer/ |
H A D | filesystemcrypto_fuzzer.cpp | 26 T TypeCast(const uint8_t *data, int *pos = nullptr) in TypeCast() function 44 uint32_t userId = TypeCast<uint32_t>(data, &pos); in GenerateUserKeysFuzzTest() 45 uint32_t flags = TypeCast<uint32_t>(data + pos); in GenerateUserKeysFuzzTest() 62 uint32_t userId = TypeCast<uint32_t>(data, &pos); in DeleteUserKeysFuzzTest() 79 uint32_t userId = TypeCast<uint32_t>(data, &pos); in UpdateUserAuthFuzzTest() 80 uint64_t secureUid = TypeCast<uint64_t>(data + pos); in UpdateUserAuthFuzzTest() 104 uint32_t userId = TypeCast<uint32_t>(data, &pos); in ActiveUserKeyFuzzTest() 126 uint32_t userId = TypeCast<uint32_t>(data, &pos); in InactiveUserKeyFuzzTest() 143 uint32_t userId = TypeCast<uint32_t>(data, &pos); in UpdateKeyContextFuzzTest() 160 uint32_t userId = TypeCast<uint32_ in LockUserScreenFuzzTest() [all...] |
/foundation/filemanagement/user_file_service/test/fuzztest/fileaccessextstub_fuzzer/ |
H A D | fileaccessextstub_fuzzer.cpp | 34 T TypeCast(const uint8_t *data, int *pos = nullptr) in TypeCast() function 48 uint32_t code = TypeCast<uint32_t>(data); in OnRemoteRequestFuzzTest() 67 msg.WriteInt32(TypeCast<int32_t>(data)); in CmdOpenFileFuzzTest() 130 msg.WriteBool(TypeCast<bool>(data)); in CmdCopyFuzzTest() 170 int64_t offset = TypeCast<int64_t>(data, &pos); in CmdListFileFuzzTest() 172 fileInfo.mode = TypeCast<int32_t>(data + pos, &pos); in CmdListFileFuzzTest() 173 fileInfo.size = TypeCast<int64_t>(data + pos, &pos); in CmdListFileFuzzTest() 174 fileInfo.mtime = TypeCast<int64_t>(data + pos, &pos); in CmdListFileFuzzTest() 176 int64_t fileSizeOver = TypeCast<int64_t>(data + pos, &pos); in CmdListFileFuzzTest() 177 double lastModifiedAfter = TypeCast<doubl in CmdListFileFuzzTest() [all...] |
/foundation/distributeddatamgr/pasteboard/test/fuzztest/ffrtutils_fuzzer/ |
H A D | ffrtutils_fuzzer.cpp | 26 T TypeCast(const uint8_t *data, int *pos = nullptr)
in TypeCast() function 40 int x = TypeCast<int32_t>(rawData, &pos);
in FuzzFfrtUtilsSubmitQueueTasks() 41 int y = TypeCast<int32_t>(rawData + pos);
in FuzzFfrtUtilsSubmitQueueTasks() 67 int y = TypeCast<int32_t>(rawData);
in FuzzFfrtUtilsSubmitDelayTask() 84 int z = TypeCast<int32_t>(rawData, nullptr);
in FuzzUtilsSubmitDelayTask() 103 int m = TypeCast<int32_t>(rawData, nullptr);
in FuzzUtilsSubmitTimeoutTask() 122 int m = TypeCast<int32_t>(rawData, &pos);
in FuzzFfRTTimerSingleSetAndCancel()
|
/foundation/filemanagement/app_file_service/test/fuzztest/backupservicestub_fuzzer/ |
H A D | backupservicestub_fuzzer.cpp | 34 T TypeCast(const uint8_t *data, int *pos = nullptr) in TypeCast() function 69 uint32_t code = TypeCast<uint32_t>(data, &pos); in OnRemoteRequestFuzzTest() 144 info.sn = TypeCast<TmpFileSN>(data, &pos); in CmdPublishFileFuzzTest() 167 int fd = TypeCast<int>(data, &pos); in CmdAppFileReadyFuzzTest() 168 int32_t errCode = TypeCast<int32_t>(data + pos, &pos); in CmdAppFileReadyFuzzTest() 169 bool fdFlag = TypeCast<bool>(data + pos, &pos); in CmdAppFileReadyFuzzTest() 193 int32_t errCode = TypeCast<int32_t>(data); in CmdAppDoneFuzzTest() 213 int32_t scenario = TypeCast<int32_t>(data, &pos); in CmdResultReportFuzzTest() 214 int32_t errCode = TypeCast<int32_t>(data + pos, &pos); in CmdResultReportFuzzTest() 252 int fd = TypeCast<in in CmdAppendBundlesRestoreSessionFuzzTest() [all...] |
/foundation/distributeddatamgr/pasteboard/test/fuzztest/eventcenter_fuzzer/ |
H A D | eventcenter_fuzzer.cpp | 25 T TypeCast(const uint8_t *data, int *pos = nullptr)
in TypeCast() function 38 int32_t evtId = TypeCast<int32_t>(rawData);
in FuzzPbEventGetNetworkId() 50 int32_t evtId = TypeCast<int32_t>(rawData);
in FuzzEventCenterSubscribe() 62 int32_t evtId = TypeCast<int32_t>(rawData);
in FuzzEventCenterPostEvent() 73 int32_t evtId = TypeCast<int32_t>(rawData);
in FuzzEventCenterDefer()
|
/foundation/distributeddatamgr/pasteboard/test/fuzztest/urihandler_fuzzer/ |
H A D | urihandler_fuzzer.cpp | 26 T TypeCast(const uint8_t *data, int *pos = nullptr) in TypeCast() function 40 uint32_t value = TypeCast<uint32_t>(rawData, &pos); in FuzzUriToFd() 53 int32_t fd = TypeCast<int32_t>(rawData, nullptr); in FuzzCopyUriHandlerToUri() 64 int32_t fd = TypeCast<int32_t>(rawData, nullptr); in FuzzPasteUriHandlerToUri()
|
/foundation/filemanagement/user_file_service/test/fuzztest/fileinfosharedmemory_fuzzer/ |
H A D | fileinfosharedmemory_fuzzer.cpp | 27 T TypeCast(const uint8_t *data, int *pos = nullptr) in TypeCast() function 43 info->memFd = TypeCast<int>(data, &pos); in MarshallingFuzzTest() 44 info->memSize = TypeCast<uint64_t>(data + pos); in MarshallingFuzzTest() 65 uint64_t memSize = TypeCast<uint64_t>(data, &pos); in CreateSharedMemoryFuzzTest() 81 uint64_t memSize = TypeCast<uint64_t>(data, &pos); in ExpandSharedMemoryFuzzTest()
|
/foundation/filemanagement/user_file_service/test/fuzztest/fileaccessservicestub_fuzzer/ |
H A D | fileaccessservicestub_fuzzer.cpp | 30 T TypeCast(const uint8_t *data, int *pos = nullptr) in TypeCast() function 44 uint32_t code = TypeCast<uint32_t>(data); in OnRemoteRequestFuzzTest() 61 int32_t notifyType = TypeCast<int32_t>(data, &pos); in CmdOnChangeFuzzTest() 94 bool observerNotNull = TypeCast<bool>(data, &pos); in CmdUnregisterNotifyFuzzTest()
|
/foundation/distributeddatamgr/pasteboard/test/fuzztest/pasteboardobserver_fuzzer/ |
H A D | pasteboardobserver_fuzzer.cpp | 33 T TypeCast(const uint8_t *data, int *pos = nullptr) in TypeCast() function 46 uint32_t code = TypeCast<uint32_t>(rawData); in FuzzPasteboardObserver() 78 int32_t status = TypeCast<int32_t>(rawData, &pos); in FuzzPasteboardObserverOnPasteboardEventStub()
|
/foundation/filemanagement/user_file_service/test/fuzztest/fileaccessserviceproxy_fuzzer/ |
H A D | fileaccessserviceproxy_fuzzer.cpp | 44 T TypeCast(const uint8_t *data, int *pos = nullptr) in TypeCast() function 59 NotifyType notifyType = TypeCast<NotifyType>(data, &pos); in OnChangeFuzzTest() 74 bool notifyForDescendants = TypeCast<bool>(data, &pos); in RegisterNotifyFuzzTest()
|
/foundation/filemanagement/app_file_service/test/fuzztest/backupext_fuzzer/ |
H A D | backupext_fuzzer.cpp | 30 T TypeCast(const uint8_t *data, int *pos = nullptr) in TypeCast() function 49 uint32_t code = TypeCast<uint32_t>(data, &pos); in OnRemoteRequestFuzzTest() 75 bool restart = TypeCast<bool>(data, &pos); in OnCommandFuzzTest() 76 int startId = TypeCast<int>(data + pos, &pos); in OnCommandFuzzTest() 234 int incrementalFd = TypeCast<int>(data, &pos); in CmdHandleIncrementalBackupFuzzTest() 235 int manifestFd = TypeCast<int>(data + pos); in CmdHandleIncrementalBackupFuzzTest()
|