Home
last modified time | relevance | path

Searched refs:SlotType (Results 1 – 25 of 70) sorted by relevance

123

/base/notification/distributed_notification_service/frameworks/js/napi/include/manager/
Dnapi_slot.h26 NotificationConstant::SlotType inType = NotificationConstant::SlotType::OTHER;
35 NotificationConstant::SlotType inType = NotificationConstant::SlotType::OTHER;
66 NotificationConstant::SlotType outType = NotificationConstant::SlotType::OTHER;
73 NotificationConstant::SlotType outType = NotificationConstant::SlotType::OTHER;
112 NotificationConstant::SlotType outType = NotificationConstant::SlotType::OTHER;
119 NotificationConstant::SlotType outType = NotificationConstant::SlotType::OTHER;
131 NotificationConstant::SlotType outType = NotificationConstant::SlotType::OTHER;
145 NotificationConstant::SlotType outType = NotificationConstant::SlotType::OTHER;
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dnotification_slot_filter_test.cpp51 NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM;
69 NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM;
100 record->slot = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION);
Dnotification_preferences_test.cpp70 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::OTHER); in TestAddNotificationSlot()
78 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::OTHER); in TestAddNotificationSlot()
89 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::OTHER);
102 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::OTHER);
143 …sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNI…
144 …sptr<NotificationSlot> slot2 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNI…
160 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::OTHER);
178 bundleOption_, NotificationConstant::SlotType::OTHER),
190 bundleEmptyOption_, NotificationConstant::SlotType::OTHER),
204 noExsitbundleOption_, NotificationConstant::SlotType::OTHER),
[all …]
Dadvanced_notification_service_test.cpp59 void TestAddSlot(NotificationConstant::SlotType type);
123 void AdvancedNotificationServiceTest::TestAddSlot(NotificationConstant::SlotType type) in TestAddSlot()
138 TestAddSlot(NotificationConstant::SlotType::OTHER);
142 req->SetSlotType(NotificationConstant::SlotType::OTHER);
163 TestAddSlot(NotificationConstant::SlotType::OTHER);
167 req->SetSlotType(NotificationConstant::SlotType::OTHER);
193 req->SetSlotType(NotificationConstant::SlotType::CUSTOM);
219 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION);
241 TestAddSlot(NotificationConstant::SlotType::SERVICE_REMINDER);
245 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION);
[all …]
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_preferences_info.h123 … bool GetSlot(const NotificationConstant::SlotType &type, sptr<NotificationSlot> &slot) const;
164 bool IsExsitSlot(const NotificationConstant::SlotType &type) const;
172 bool RemoveSlot(const NotificationConstant::SlotType &type);
183 void SetSlotEnabled(NotificationConstant::SlotType slotType, bool enabled);
184 bool GetSlotEnabled(NotificationConstant::SlotType slotType, bool &enabled) const;
194 std::map<NotificationConstant::SlotType, sptr<NotificationSlot>> slots_;
Dnotification_preferences.h62 …const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType…
99 const NotificationConstant::SlotType &type, sptr<NotificationSlot> &slot);
252 …const NotificationConstant::SlotType &slotType, NotificationPreferencesInfo &preferencesInfo) cons…
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_slot.h46 NotificationSlot(NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM);
154 NotificationConstant::SlotType GetType() const;
164 void SetType(NotificationConstant::SlotType type);
350 NotificationConstant::SlotType type_ {};
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 …const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool…
719 …const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool…
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_slot.cpp24 NotificationSlot::NotificationSlot(NotificationConstant::SlotType type) : sound_("") in NotificationSlot()
87 NotificationConstant::SlotType NotificationSlot::GetType() const in GetType()
92 void NotificationSlot::SetType(NotificationConstant::SlotType type) in SetType()
94 type_ = NotificationConstant::SlotType::CUSTOM; in SetType()
96 case NotificationConstant::SlotType::SOCIAL_COMMUNICATION: in SetType()
104 case NotificationConstant::SlotType::SERVICE_REMINDER: in SetType()
112 case NotificationConstant::SlotType::CONTENT_INFORMATION: in SetType()
119 case NotificationConstant::SlotType::OTHER: in SetType()
320 type_ = static_cast<NotificationConstant::SlotType>(parcel.ReadInt32()); in ReadFromParcel()
340 …ot *notificationSlot = new (std::nothrow) NotificationSlot(NotificationConstant::SlotType::CUSTOM); in Unmarshalling()
/base/notification/distributed_notification_service/services/test/moduletest/
Dans_module_test.cpp127 …sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNI… in TestAddSlots()
210 …sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNI…
258 …sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMIND…
295 …sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::CONTENT_INFORM…
341 sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::OTHER);
378 …sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNI…
413 …sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNI…
453 …sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNI…
493 …sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNI…
533 …sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::CONTENT_INFORM…
[all …]
/base/notification/distributed_notification_service/test/fuzztest/addslotbytype_fuzzer/
Daddslotbytype_fuzzer.cpp26 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/removenotificationslot_fuzzer/
Dremovenotificationslot_fuzzer.cpp27 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslot_fuzzer/
Dgetnotificationslot_fuzzer.cpp27 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/addnotificationslot_fuzzer/
Daddnotificationslot_fuzzer.cpp48 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/
Dsetdonotdisturbdate_fuzzer.cpp42 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/reminderhelper_fuzzer/
Dreminderhelper_fuzzer.cpp47 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/addnotificationslots_fuzzer/
Daddnotificationslots_fuzzer.cpp47 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_helper_test.cpp83 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER;
111 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER;
138 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER;
980 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER;
996 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER;
1041 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SOCIAL_COMMUNICATION;
1045 slotType = NotificationConstant::SlotType::SERVICE_REMINDER;
1049 slotType = NotificationConstant::SlotType::CONTENT_INFORMATION;
1053 slotType = NotificationConstant::SlotType::OTHER;
Dreminder_helper_test.cpp115 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER;
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences_info.cpp91 const NotificationConstant::SlotType &type, sptr<NotificationSlot> &slot) const in GetSlot()
106 [&slots](std::map<NotificationConstant::SlotType, sptr<NotificationSlot>>::reference iter) { in GetAllSlots() argument
117 bool NotificationPreferencesInfo::BundleInfo::IsExsitSlot(const NotificationConstant::SlotType &typ… in IsExsitSlot()
123 bool NotificationPreferencesInfo::BundleInfo::RemoveSlot(const NotificationConstant::SlotType &type) in RemoveSlot()
/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 …const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool…
755 …const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool…
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;
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
Dmock_notification_preferences.cpp32 const NotificationConstant::SlotType &type, sptr<NotificationSlot> &slot) in GetNotificationSlot()
/base/notification/distributed_notification_service/test/fuzztest/setprogressbar_fuzzer/
Dsetprogressbar_fuzzer.cpp55 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
Dnotification_service_test.cpp129 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM); in BENCHMARK_F()
148 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM); in BENCHMARK_F()
156 … errCode = advancedNotificationService_->RemoveSlotByType(NotificationConstant::SlotType::CUSTOM); in BENCHMARK_F()
192 req->SetSlotType(NotificationConstant::SlotType::OTHER); in BENCHMARK_F()
223 req->SetSlotType(NotificationConstant::SlotType::OTHER); in BENCHMARK_F()

123