/base/notification/distributed_notification_service/test/fuzztest/addslotbytype_fuzzer/ |
D | addslotbytype_fuzzer.cpp | 26 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 27 return Notification::NotificationHelper::AddSlotByType(slotType) == ERR_OK; in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/ |
D | setdonotdisturbdate_fuzzer.cpp | 42 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 44 Notification::NotificationHelper::SetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI() 46 Notification::NotificationHelper::GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/removenotificationslot_fuzzer/ |
D | removenotificationslot_fuzzer.cpp | 27 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 29 Notification::NotificationHelper::RemoveNotificationSlot(slotType); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslot_fuzzer/ |
D | getnotificationslot_fuzzer.cpp | 27 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 34 return Notification::NotificationHelper::GetNotificationSlot(slotType, slot) == ERR_OK; in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannextwo_fuzzer/ |
D | ansmanagerstubannextwo_fuzzer.cpp | 46 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 47 ansManagerStub.AddSlotByType(slotType); in DoSomethingInterestingWithMyAPI() 52 ansManagerStub.RemoveSlotByType(slotType); in DoSomethingInterestingWithMyAPI() 54 ansManagerStub.GetSlotByType(slotType, slot); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | reminder_helper.cpp | 56 ErrCode ReminderHelper::RemoveNotificationSlot(const NotificationConstant::SlotType &slotType) in RemoveNotificationSlot() argument 59 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotificationSlot(slotType); in RemoveNotificationSlot()
|
D | notification_helper.cpp | 27 ErrCode NotificationHelper::AddSlotByType(const NotificationConstant::SlotType &slotType) in AddSlotByType() argument 29 return DelayedSingleton<AnsNotification>::GetInstance()->AddSlotByType(slotType); in AddSlotByType() 37 ErrCode NotificationHelper::RemoveNotificationSlot(const NotificationConstant::SlotType &slotType) in RemoveNotificationSlot() argument 39 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotificationSlot(slotType); in RemoveNotificationSlot() 48 const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot) in GetNotificationSlot() argument 50 return DelayedSingleton<AnsNotification>::GetInstance()->GetNotificationSlot(slotType, slot); in GetNotificationSlot() 375 …const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool… in SetEnabledForBundleSlot() argument 377 …ingleton<AnsNotification>::GetInstance()->SetEnabledForBundleSlot(bundleOption, slotType, enabled); in SetEnabledForBundleSlot() 381 …const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool… in GetEnabledForBundleSlot() argument 383 …ingleton<AnsNotification>::GetInstance()->GetEnabledForBundleSlot(bundleOption, slotType, enabled); in GetEnabledForBundleSlot()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | notification_helper_test.cpp | 83 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; variable 85 ErrCode ret = notificationHelper.AddSlotByType(slotType); 111 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; variable 113 ErrCode ret = notificationHelper.RemoveNotificationSlot(slotType); 138 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; variable 141 ErrCode ret = notificationHelper.GetNotificationSlot(slotType, slot); 980 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; variable 983 ErrCode ret = notificationHelper.SetEnabledForBundleSlot(bundleOption, slotType, enabled); 996 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; variable 999 ErrCode ret = notificationHelper.GetEnabledForBundleSlot(bundleOption, slotType, enabled); [all …]
|
D | reminder_helper_test.cpp | 115 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; variable 117 ErrCode ret = reminderHelper.RemoveNotificationSlot(slotType);
|
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/ |
D | advancednotificationservice_fuzzer.cpp | 42 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 43 advancedNotificationService.AddSlotByType(slotType); in DoSomethingInterestingWithMyAPI() 46 advancedNotificationService.RemoveSlotByType(slotType); in DoSomethingInterestingWithMyAPI() 49 advancedNotificationService.GetSlotByType(slotType, slot); in DoSomethingInterestingWithMyAPI() 128 advancedNotificationService.SetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI() 129 advancedNotificationService.GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | notification_helper.h | 52 static ErrCode AddSlotByType(const NotificationConstant::SlotType &slotType); 69 static ErrCode RemoveNotificationSlot(const NotificationConstant::SlotType &slotType); 86 …static ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<Notificati… 708 …ificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool enabled); 719 …ficationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool &enabled);
|
D | reminder_helper.h | 98 static ErrCode RemoveNotificationSlot(const NotificationConstant::SlotType &slotType);
|
/base/notification/distributed_notification_service/test/fuzztest/addnotificationslot_fuzzer/ |
D | addnotificationslot_fuzzer.cpp | 48 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 49 slot.SetType(slotType); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/addnotificationslots_fuzzer/ |
D | addnotificationslots_fuzzer.cpp | 47 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 48 slot.SetType(slotType); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderhelper_fuzzer/ |
D | reminderhelper_fuzzer.cpp | 47 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 48 Notification::ReminderHelper::RemoveNotificationSlot(slotType); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
D | ans_notification.h | 50 ErrCode AddSlotByType(const NotificationConstant::SlotType &slotType); 67 ErrCode RemoveNotificationSlot(const NotificationConstant::SlotType &slotType); 84 …ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot>… 744 …ificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool enabled); 755 …ficationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool &enabled);
|
D | ans_manager_interface.h | 89 virtual ErrCode AddSlotByType(NotificationConstant::SlotType slotType) = 0; 106 virtual ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) = 0; 123 …virtual ErrCode GetSlotByType(const NotificationConstant::SlotType &slotType, sptr<NotificationSlo… 619 const NotificationConstant::SlotType &slotType, bool enabled) = 0; 621 const NotificationConstant::SlotType &slotType, bool &enabled) = 0;
|
D | ans_manager_proxy.h | 78 ErrCode AddSlotByType(NotificationConstant::SlotType slotType) override; 95 ErrCode RemoveSlotByType(const NotificationConstant::SlotType &slotType) override; 112 …ErrCode GetSlotByType(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot… 608 const NotificationConstant::SlotType &slotType, bool enabled) override; 610 const NotificationConstant::SlotType &slotType, bool &enabled) override;
|
/base/notification/distributed_notification_service/test/fuzztest/setprogressbar_fuzzer/ |
D | setprogressbar_fuzzer.cpp | 55 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 56 request.SetSlotType(slotType); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | notification_preferences_database.cpp | 674 std::string slotType = std::to_string(type); in RemoveSlotFromDisturbeDB() local 676 (GenerateSlotKey(bundleKey, slotType) + KEY_UNDER_LINE), values); in RemoveSlotFromDisturbeDB() 809 std::string slotType = std::to_string(slot->GetType()); in GenerateSlotEntry() local 810 …GenerateEntry(GenerateSlotKey(bundleKey, slotType, KEY_SLOT_TYPE), std::to_string(slot->GetType())… in GenerateSlotEntry() 811 GenerateEntry(GenerateSlotKey(bundleKey, slotType, KEY_SLOT_ID), slot->GetId(), values); in GenerateSlotEntry() 812 GenerateEntry(GenerateSlotKey(bundleKey, slotType, KEY_SLOT_NAME), slot->GetName(), values); in GenerateSlotEntry() 813 …GenerateEntry(GenerateSlotKey(bundleKey, slotType, KEY_SLOT_DESCRIPTION), slot->GetDescription(), … in GenerateSlotEntry() 814 …GenerateEntry(GenerateSlotKey(bundleKey, slotType, KEY_SLOT_LEVEL), std::to_string(slot->GetLevel(… in GenerateSlotEntry() 816 …GenerateSlotKey(bundleKey, slotType, KEY_SLOT_SHOW_BADGE), std::to_string(slot->IsShowBadge()), va… in GenerateSlotEntry() 818 …GenerateSlotKey(bundleKey, slotType, KEY_SLOT_ENABLE_LIGHT), std::to_string(slot->CanEnableLight()… in GenerateSlotEntry() [all …]
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/ |
D | ansmanagerstub_fuzzer.cpp | 114 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 115 ansManagerStub.AddSlotByType(slotType); in DoSomethingInterestingWithMyAPI() 118 ansManagerStub.RemoveSlotByType(slotType); in DoSomethingInterestingWithMyAPI() 121 ansManagerStub.GetSlotByType(slotType, slot); in DoSomethingInterestingWithMyAPI() 193 ansManagerStub.SetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI() 194 ansManagerStub.GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | notification_preferences_info.h | 183 void SetSlotEnabled(NotificationConstant::SlotType slotType, bool enabled); 184 bool GetSlotEnabled(NotificationConstant::SlotType slotType, bool &enabled) const;
|
/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/ |
D | publishnotification_fuzzer.cpp | 75 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 76 request.SetSlotType(slotType); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderrequest_fuzzer/ |
D | reminderrequest_fuzzer.cpp | 83 Notification::NotificationConstant::SlotType slotType = in DoSomethingInterestingWithMyAPI() local 85 reminderRequest.SetSlotType(slotType); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/ |
D | publishcontinuoustasknotification_fuzzer.cpp | 75 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local 76 request.SetSlotType(slotType); in DoSomethingInterestingWithMyAPI()
|