Home
last modified time | relevance | path

Searched refs:slotType (Results 1 – 25 of 52) sorted by relevance

123

/base/notification/distributed_notification_service/test/fuzztest/addslotbytype_fuzzer/
Daddslotbytype_fuzzer.cpp26 …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/
Dsetdonotdisturbdate_fuzzer.cpp42 …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/
Dremovenotificationslot_fuzzer.cpp27 …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/
Dgetnotificationslot_fuzzer.cpp27 …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/
Dansmanagerstubannextwo_fuzzer.cpp46 …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/
Dreminder_helper.cpp56 ErrCode ReminderHelper::RemoveNotificationSlot(const NotificationConstant::SlotType &slotType) in RemoveNotificationSlot() argument
59 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotificationSlot(slotType); in RemoveNotificationSlot()
Dnotification_helper.cpp27 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/
Dnotification_helper_test.cpp83 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 …]
Dreminder_helper_test.cpp115 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; variable
117 ErrCode ret = reminderHelper.RemoveNotificationSlot(slotType);
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
Dadvancednotificationservice_fuzzer.cpp42 …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/
Dnotification_helper.h52 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);
Dreminder_helper.h98 static ErrCode RemoveNotificationSlot(const NotificationConstant::SlotType &slotType);
/base/notification/distributed_notification_service/test/fuzztest/addnotificationslot_fuzzer/
Daddnotificationslot_fuzzer.cpp48 …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/
Daddnotificationslots_fuzzer.cpp47 …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/
Dreminderhelper_fuzzer.cpp47 …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/
Dans_notification.h50 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);
Dans_manager_interface.h89 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;
Dans_manager_proxy.h78 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/
Dsetprogressbar_fuzzer.cpp55 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local
56 request.SetSlotType(slotType); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences_database.cpp674 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/
Dansmanagerstub_fuzzer.cpp114 …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/
Dnotification_preferences_info.h183 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/
Dpublishnotification_fuzzer.cpp75 …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/
Dreminderrequest_fuzzer.cpp83 Notification::NotificationConstant::SlotType slotType = in DoSomethingInterestingWithMyAPI() local
85 reminderRequest.SetSlotType(slotType); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/
Dpublishcontinuoustasknotification_fuzzer.cpp75 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI() local
76 request.SetSlotType(slotType); in DoSomethingInterestingWithMyAPI()

123