/ohos5.0/base/notification/common_event_service/test/fuzztest/matchingskills_fuzzer/ |
H A D | matchingskills_fuzzer.cpp | 36 matchingSkills.HasEntity(stringData); in DoSomethingInterestingWithMyAPI() 38 matchingSkills.RemoveEntity(stringData); in DoSomethingInterestingWithMyAPI() 44 matchingSkills.RemoveEvent(stringData); in DoSomethingInterestingWithMyAPI() 46 matchingSkills.HasEvent(stringData); in DoSomethingInterestingWithMyAPI() 48 matchingSkills.HasScheme(stringData); in DoSomethingInterestingWithMyAPI() 54 matchingSkills.MatchEvent(stringData); in DoSomethingInterestingWithMyAPI() 57 permissions.emplace_back(stringData); in DoSomethingInterestingWithMyAPI() 60 matchingSkills.MatchScheme(stringData); in DoSomethingInterestingWithMyAPI() 66 matchingSkills.AddEntity(stringData); in DoSomethingInterestingWithMyAPI() 67 matchingSkills.AddEvent(stringData); in DoSomethingInterestingWithMyAPI() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/ |
H A D | ansmanagerstub_fuzzer.cpp | 79 datas.WriteString(stringData); in DoSomethingInterestingWithMyAPI() 83 datas.WriteString(stringData); in DoSomethingInterestingWithMyAPI() 92 datas.WriteString(stringData); in DoSomethingInterestingWithMyAPI() 124 datas.WriteString(stringData); in DoSomethingInterestingWithMyAPI() 127 datas.WriteString(stringData); in DoSomethingInterestingWithMyAPI() 130 datas.WriteString(stringData); in DoSomethingInterestingWithMyAPI() 133 datas.WriteString(stringData); in DoSomethingInterestingWithMyAPI() 145 datas.WriteString(stringData); in DoSomethingInterestingWithMyAPI() 155 datas.WriteString(stringData); in DoSomethingInterestingWithMyAPI() 163 datas.WriteString(stringData); in DoSomethingInterestingWithMyAPI() [all …]
|
/ohos5.0/base/notification/common_event_service/test/fuzztest/commonevent_fuzzer/ |
H A D | commonevent_fuzzer.cpp | 42 std::string stringData = fuzzData.GenerateRandomString(); in DoSomethingInterestingWithMyAPI() local 44 state.emplace_back(stringData); in DoSomethingInterestingWithMyAPI() 50 commonEventData.SetData(stringData); in DoSomethingInterestingWithMyAPI() 54 permissions.emplace_back(stringData); in DoSomethingInterestingWithMyAPI() 59 commonEventPublishInfo.SetBundleName(stringData); in DoSomethingInterestingWithMyAPI() 63 matchingSkills.AddEvent(stringData); in DoSomethingInterestingWithMyAPI() 66 subscribeInfo.SetDeviceId(stringData); in DoSomethingInterestingWithMyAPI() 71 subscriber->SetData(stringData); in DoSomethingInterestingWithMyAPI() 73 subscriber->SetCodeAndData(code, stringData); in DoSomethingInterestingWithMyAPI() 87 return commonEvent.DumpState(dumpType, stringData, code, state); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/ |
H A D | publishcontinuoustasknotification_fuzzer.cpp | 28 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 37 request.SetClassification(stringData); in DoSomethingInterestingWithMyAPI() 45 contentType->SetText(stringData); in DoSomethingInterestingWithMyAPI() 46 contentType->SetTitle(stringData); in DoSomethingInterestingWithMyAPI() 47 contentType->SetAdditionalText(stringData); in DoSomethingInterestingWithMyAPI() 52 request.SetCreatorBundleName(stringData); in DoSomethingInterestingWithMyAPI() 68 request.SetGroupName(stringData); in DoSomethingInterestingWithMyAPI() 70 request.SetLabel(stringData); in DoSomethingInterestingWithMyAPI() 72 request.SetOwnerBundleName(stringData); in DoSomethingInterestingWithMyAPI() 85 Notification::NotificationHelper::CancelContinuousTaskNotification(stringData, style); in DoSomethingInterestingWithMyAPI() [all …]
|
/ohos5.0/base/notification/common_event_service/test/fuzztest/commoneventstub_fuzzer/ |
H A D | commoneventstub_fuzzer.cpp | 27 std::string stringData = fuzzData.GenerateRandomString(); in DoSomethingInterestingWithMyAPI() local 37 EventFwk::CommonEventData eventData(want, code, stringData); in DoSomethingInterestingWithMyAPI() 40 commonEventData.SetData(stringData); in DoSomethingInterestingWithMyAPI() 50 permissions.emplace_back(stringData); in DoSomethingInterestingWithMyAPI() 56 matchingSkills.AddEvent(stringData); in DoSomethingInterestingWithMyAPI() 63 commonEventStub.GetStickyCommonEvent(stringData, commonEventData); in DoSomethingInterestingWithMyAPI() 67 state.emplace_back(stringData); in DoSomethingInterestingWithMyAPI() 68 commonEventStub.DumpState(dumpType, stringData, code, state); in DoSomethingInterestingWithMyAPI() 70 commonEventStub.FinishReceiver(commonEventListener, code, stringData, enabled); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/ |
H A D | publishnotification_fuzzer.cpp | 28 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 37 request.SetClassification(stringData); in DoSomethingInterestingWithMyAPI() 45 contentType->SetText(stringData); in DoSomethingInterestingWithMyAPI() 46 contentType->SetTitle(stringData); in DoSomethingInterestingWithMyAPI() 47 contentType->SetAdditionalText(stringData); in DoSomethingInterestingWithMyAPI() 52 request.SetCreatorBundleName(stringData); in DoSomethingInterestingWithMyAPI() 68 request.SetGroupName(stringData); in DoSomethingInterestingWithMyAPI() 70 request.SetLabel(stringData); in DoSomethingInterestingWithMyAPI() 72 request.SetOwnerBundleName(stringData); in DoSomethingInterestingWithMyAPI() 85 return Notification::NotificationHelper::PublishNotification(stringData, request) == ERR_OK; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannextwo_fuzzer/ |
H A D | ansmanagerstubannextwo_fuzzer.cpp | 36 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 38 ansManagerStub.Publish(stringData, notification); in DoSomethingInterestingWithMyAPI() 40 ansManagerStub.Cancel(notificationId, stringData, 0); in DoSomethingInterestingWithMyAPI() 44 ansManagerStub.CancelAsBundle(notificationIds, stringData, userId); in DoSomethingInterestingWithMyAPI() 69 key.emplace_back(stringData); in DoSomethingInterestingWithMyAPI() 71 ansManagerStub.SetNotificationAgent(stringData); in DoSomethingInterestingWithMyAPI() 72 ansManagerStub.GetNotificationAgent(stringData); in DoSomethingInterestingWithMyAPI() 74 ansManagerStub.CanPublishAsBundle(stringData, canPublish); in DoSomethingInterestingWithMyAPI() 75 ansManagerStub.PublishAsBundle(notificationer, stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/common_event_service/test/fuzztest/commoneventmanagerservice_fuzzer/ |
H A D | commoneventmanagerservice_fuzzer.cpp | 30 std::string stringData = fuzzData.GenerateRandomString(); in DoSomethingInterestingWithMyAPI() local 44 commonEventData.SetData(stringData); in DoSomethingInterestingWithMyAPI() 51 permissions.emplace_back(stringData); in DoSomethingInterestingWithMyAPI() 58 matchingSkills.AddEvent(stringData); in DoSomethingInterestingWithMyAPI() 63 service->GetStickyCommonEvent(stringData, commonEventData); in DoSomethingInterestingWithMyAPI() 66 state.emplace_back(stringData); in DoSomethingInterestingWithMyAPI() 67 service->DumpState(dumpType, stringData, code, state); in DoSomethingInterestingWithMyAPI() 68 service->FinishReceiver(commonEventListener, code, stringData, enabled); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/reminderrequest_fuzzer/ |
H A D | reminderrequest_fuzzer.cpp | 31 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 40 reminderRequest.SetActionButton(stringData, type, stringData); in DoSomethingInterestingWithMyAPI() 41 reminderRequest.SetContent(stringData); in DoSomethingInterestingWithMyAPI() 42 reminderRequest.SetExpiredContent(stringData); in DoSomethingInterestingWithMyAPI() 67 reminderRequest.StringSplit(stringData, stringData); in DoSomethingInterestingWithMyAPI() 76 reminderRequest.SetSnoozeContent(stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/common_event_service/test/fuzztest/unsubscribecommonevent_fuzzer/ |
H A D | unsubscribecommonevent_fuzzer.cpp | 38 std::string stringData = fuzzData.GenerateRandomString(); in DoSomethingInterestingWithMyAPI() local 41 matchingSkills.AddEvent(stringData); in DoSomethingInterestingWithMyAPI() 42 matchingSkills.AddEntity(stringData); in DoSomethingInterestingWithMyAPI() 43 matchingSkills.AddScheme(stringData); in DoSomethingInterestingWithMyAPI() 48 subscribeInfo.SetPermission(stringData); in DoSomethingInterestingWithMyAPI() 49 subscribeInfo.SetDeviceId(stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationlongtextcontent_fuzzer/ |
H A D | notificationlongtextcontent_fuzzer.cpp | 22 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 23 Notification::NotificationLongTextContent notificationLongTextContent(stringData); in DoSomethingInterestingWithMyAPI() 24 notificationLongTextContent.SetExpandedTitle(stringData); in DoSomethingInterestingWithMyAPI() 26 notificationLongTextContent.SetBriefText(stringData); in DoSomethingInterestingWithMyAPI() 28 notificationLongTextContent.SetLongText(stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/ |
H A D | ansmanagerstubannexthree_fuzzer.cpp | 35 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 37 ansManagerStub.RemoveNotification(bundleOption, notificationId, stringData, removeReason); in DoSomethingInterestingWithMyAPI() 39 ansManagerStub.Delete(stringData, removeReason); in DoSomethingInterestingWithMyAPI() 46 ansManagerStub.SetNotificationsEnabledForSpecialBundle(stringData, bundleOption, allow); in DoSomethingInterestingWithMyAPI() 53 ansManagerStub.CancelGroup(stringData, 0); in DoSomethingInterestingWithMyAPI() 54 ansManagerStub.RemoveGroupByBundle(bundleOption, stringData); in DoSomethingInterestingWithMyAPI() 67 ansManagerStub.CancelContinuousTaskNotification(stringData, removeReason); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/common_event_service/test/fuzztest/subscribecommonevent_fuzzer/ |
H A D | subscribecommonevent_fuzzer.cpp | 45 std::string stringData = fuzzData.GenerateRandomString(); in DoSomethingInterestingWithMyAPI() local 49 matchingSkills.AddEvent(stringData); in DoSomethingInterestingWithMyAPI() 50 matchingSkills.AddEntity(stringData); in DoSomethingInterestingWithMyAPI() 51 matchingSkills.AddScheme(stringData); in DoSomethingInterestingWithMyAPI() 61 subscribeInfo.SetPermission(stringData); in DoSomethingInterestingWithMyAPI() 62 subscribeInfo.SetDeviceId(stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/setnotificationsenabledforallbundles_fuzzer/ |
H A D | setnotificationsenabledforallbundles_fuzzer.cpp | 27 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 29 Notification::NotificationHelper::SetNotificationsEnabledForAllBundles(stringData, enabled); in DoSomethingInterestingWithMyAPI() 31 … Notification::NotificationHelper::SetNotificationsEnabledForDefaultBundle(stringData, enabled); in DoSomethingInterestingWithMyAPI() 35 bundleOption.SetBundleName(stringData); in DoSomethingInterestingWithMyAPI() 37 …::NotificationHelper::SetNotificationsEnabledForSpecifiedBundle(bundleOption, stringData, enabled); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationuserinput_fuzzer/ |
H A D | notificationuserinput_fuzzer.cpp | 30 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 31 Notification::NotificationUserInput notificationUserInput(stringData); in DoSomethingInterestingWithMyAPI() 45 notificationUserInput.Create(stringData); in DoSomethingInterestingWithMyAPI() 55 options.emplace_back(stringData); in DoSomethingInterestingWithMyAPI() 59 notificationUserInput.SetPermitMimeTypes(stringData, doPermit); in DoSomethingInterestingWithMyAPI() 62 notificationUserInput.SetTag(stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationmultilinecontent_fuzzer/ |
H A D | notificationmultilinecontent_fuzzer.cpp | 22 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 24 notificationMultiLineContent.SetExpandedTitle(stringData); in DoSomethingInterestingWithMyAPI() 26 notificationMultiLineContent.SetBriefText(stringData); in DoSomethingInterestingWithMyAPI() 28 notificationMultiLineContent.AddSingleLine(stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationannex_fuzzer/ |
H A D | notificationannex_fuzzer.cpp | 26 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 29 request->SetClassification(stringData); in DoSomethingInterestingWithMyAPI() 31 Notification::Notification notification(stringData, request); in DoSomethingInterestingWithMyAPI() 34 Uri sound(stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationsortingmap_fuzzer/ |
H A D | notificationsortingmap_fuzzer.cpp | 27 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 29 notificationSortingMap.SetKey(stringData); in DoSomethingInterestingWithMyAPI() 31 notificationSorting.SetKey(stringData); in DoSomethingInterestingWithMyAPI() 32 notificationSortingMap.GetNotificationSorting(stringData, notificationSorting); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | text_adapter.cpp | 189 char* stringData = static_cast<char*>(UIMalloc(len + 1)); in SetData() local 190 if (stringData == nullptr) { in SetData() 193 if (memcpy_s(stringData, len + 1, node->data_, len) != EOK) { in SetData() 194 UIFree(reinterpret_cast<void*>(stringData)); in SetData() 195 stringData = nullptr; in SetData() 198 stringData[len] = '\0'; in SetData() 199 dynamicText_.PushBack(stringData); in SetData()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/getactivenotificationnums_fuzzer/ |
H A D | getactivenotificationnums_fuzzer.cpp | 29 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 30 Notification::NotificationHelper::SetNotificationAgent(stringData); in DoSomethingInterestingWithMyAPI() 32 Notification::NotificationHelper::GetNotificationAgent(stringData); in DoSomethingInterestingWithMyAPI() 35 … return Notification::NotificationHelper::CanPublishNotificationAsBundle(stringData, enabled); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/common_event_service/test/fuzztest/asynccommoneventresult_fuzzer/ |
H A D | asynccommoneventresult_fuzzer.cpp | 26 std::string stringData = fuzzData.GenerateRandomString(); in DoSomethingInterestingWithMyAPI() local 30 code, stringData, enabled, enabled, nullptr); in DoSomethingInterestingWithMyAPI() 37 result->SetData(stringData); in DoSomethingInterestingWithMyAPI() 41 result->SetCodeAndData(code, stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationuserinputannex_fuzzer/ |
H A D | notificationuserinputannex_fuzzer.cpp | 30 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 31 Notification::NotificationUserInput notificationUserInput(stringData); in DoSomethingInterestingWithMyAPI() 33 Notification::NotificationUserInput userInput(stringData); in DoSomethingInterestingWithMyAPI() 39 options.emplace_back(stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/setprogressbar_fuzzer/ |
H A D | setprogressbar_fuzzer.cpp | 26 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 49 request.SetSettingsText(stringData); in DoSomethingInterestingWithMyAPI() 58 request.SetSortingKey(stringData); in DoSomethingInterestingWithMyAPI() 60 request.SetStatusBarText(stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationpicturecontent_fuzzer/ |
H A D | notificationpicturecontent_fuzzer.cpp | 22 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 24 notificationPictureContent.SetExpandedTitle(stringData); in DoSomethingInterestingWithMyAPI() 26 notificationPictureContent.SetBriefText(stringData); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationconversationalmessageannex_fuzzer/ |
H A D | notificationconversationalmessageannex_fuzzer.cpp | 26 std::string stringData(data); in DoSomethingInterestingWithMyAPI() local 30 stringData, timestamp, sender); in DoSomethingInterestingWithMyAPI() 33 notificationConversationalMessage.SetData(stringData, uriPtr); in DoSomethingInterestingWithMyAPI()
|