/base/notification/distributed_notification_service/frameworks/js/napi/include/manager/ |
D | napi_slot.h | 26 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/ |
D | notification_slot_filter_test.cpp | 51 NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM; 69 NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM; 100 record->slot = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION);
|
D | notification_preferences_test.cpp | 70 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 …]
|
D | advanced_notification_service_test.cpp | 59 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/ |
D | notification_preferences_info.h | 123 … 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_;
|
D | notification_preferences.h | 62 …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/ |
D | notification_slot.h | 46 NotificationSlot(NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM); 154 NotificationConstant::SlotType GetType() const; 164 void SetType(NotificationConstant::SlotType type); 350 NotificationConstant::SlotType type_ {};
|
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 …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/ |
D | notification_slot.cpp | 24 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/ |
D | ans_module_test.cpp | 127 …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/ |
D | addslotbytype_fuzzer.cpp | 26 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… 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()
|
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslot_fuzzer/ |
D | getnotificationslot_fuzzer.cpp | 27 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/addnotificationslot_fuzzer/ |
D | addnotificationslot_fuzzer.cpp | 48 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… 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()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderhelper_fuzzer/ |
D | reminderhelper_fuzzer.cpp | 47 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… 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()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | notification_helper_test.cpp | 83 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;
|
D | reminder_helper_test.cpp | 115 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER;
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | notification_preferences_info.cpp | 91 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/ |
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 …const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool… 755 …const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool…
|
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;
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/ |
D | mock_notification_preferences.cpp | 32 const NotificationConstant::SlotType &type, sptr<NotificationSlot> &slot) in GetNotificationSlot()
|
/base/notification/distributed_notification_service/test/fuzztest/setprogressbar_fuzzer/ |
D | setprogressbar_fuzzer.cpp | 55 …Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/ |
D | notification_service_test.cpp | 129 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()
|