Home
last modified time | relevance | path

Searched refs:SERVICE_REMINDER (Results 1 - 23 of 23) sorted by relevance

/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_slot_test.cpp129 * @tc.desc : Add notification slot(type is SERVICE_REMINDER), get notification slot and remove notification slot.
134 NotificationSlot slot(NotificationConstant::SERVICE_REMINDER); in HWTEST_F()
148 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SERVICE_REMINDER, spSlot)); in HWTEST_F()
154 EXPECT_EQ("SERVICE_REMINDER", spSlot->GetId()); in HWTEST_F()
157 EXPECT_EQ(NotificationConstant::SERVICE_REMINDER, spSlot->GetType()); in HWTEST_F()
159 EXPECT_EQ("SERVICE_REMINDER", spSlot->GetName()); in HWTEST_F()
167 EXPECT_EQ(0, NotificationHelper::RemoveNotificationSlot(NotificationConstant::SERVICE_REMINDER)); in HWTEST_F()
168 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SERVICE_REMINDER, spSlot)); in HWTEST_F()
331 * @tc.desc : Create notification slot(type is SERVICE_REMINDER), get sound and vibration.
336 NotificationSlot slot(NotificationConstant::SERVICE_REMINDER); in HWTEST_F()
[all...]
H A Dans_innerkits_module_publish_test.cpp170 EXPECT_EQ(NotificationConstant::SERVICE_REMINDER, notificationRequest.GetSlotType());
1088 * @tc.desc : Add notification slot(type is SERVICE_REMINDER), make a subscriber and publish a local normal
1094 NotificationSlot slot(NotificationConstant::SERVICE_REMINDER); in HWTEST_F()
1108 req.SetSlotType(NotificationConstant::SERVICE_REMINDER); in HWTEST_F()
1566 * @tc.desc : Add notification slot(type is SERVICE_REMINDER), make a subscriber and publish a flags notification.
1572 NotificationSlot slot(NotificationConstant::SERVICE_REMINDER); in HWTEST_F()
1581 req.SetSlotType(NotificationConstant::SERVICE_REMINDER); in HWTEST_F()
1590 bo, NotificationConstant::SERVICE_REMINDER, enable, false)); in HWTEST_F()
1592 EXPECT_EQ(0, NotificationHelper::GetEnabledForBundleSlot(bo, NotificationConstant::SERVICE_REMINDER, enable)); in HWTEST_F()
1598 bo, NotificationConstant::SERVICE_REMINDER, enabl in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_slot.cpp137 case NotificationConstant::SlotType::SERVICE_REMINDER: in SetType()
138 id_ = "SERVICE_REMINDER"; in SetType()
139 SetName("SERVICE_REMINDER"); in SetType()
493 convertStrToSlotType_[SERVICE_REMINDER] = NotificationConstant::SlotType::SERVICE_REMINDER; in GetSlotTypeByString()
517 case NotificationConstant::SlotType::SERVICE_REMINDER: in GetDefaultReminderMode()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dreminder_helper_test.cpp115 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
H A Dnotification_helper_test.cpp90 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
118 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
145 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
1007 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
1023 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
1072 slotType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
H A Dans_log_test.cpp123 EXPECT_EQ(outType, NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
159 inType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
H A Dreminder_request_test.cpp1788 rrc->snoozeSlotType_ = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
1795 EXPECT_EQ(ret->GetSlotType(), NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
1810 rrc->snoozeSlotType_ = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_config_parse.cpp33 {NotificationConstant::SlotType::SERVICE_REMINDER, 0b111111}, in NotificationConfigParse()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_constant.h61 SERVICE_REMINDER, // the notification type is service reminder enumerator
H A Dnotification_slot.h187 * The value can be DEFAULT, SOCIAL_COMMUNICATION, SERVICE_REMINDER, CONTENT_INFORMATION, or OTHER.
451 constexpr static const char* SERVICE_REMINDER = "Service_reminder"; member in OHOS::Notification::NotificationSlot
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_slot_service_test.cpp517 sptr<NotificationSlot> slot = new (std::nothrow) NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
531 sptr<NotificationSlot> slot = new (std::nothrow) NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
544 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
H A Dnotification_preferences_info_test.cpp53 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
H A Dnotification_preferences_database_test.cpp52 sptr<NotificationSlot> slot2 = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
67 sptr<NotificationSlot> slot2 = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
365 sptr<NotificationSlot> slot2 = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
H A Dnotification_hisysevent_test.cpp141 eventInfo.slotType = NotificationConstant::SERVICE_REMINDER; in HWTEST_F()
H A Dnotification_preferences_test.cpp217 bundleOption_, NotificationConstant::SlotType::SERVICE_REMINDER), in HWTEST_F()
H A Dadvanced_notification_service_test.cpp1793 ASSERT_EQ(advancedNotificationService_->AddSlotByType(NotificationConstant::SlotType::SERVICE_REMINDER), in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/common/src/
H A Dans_convert_enum.cpp90 outType = NotificationConstant::SlotType::SERVICE_REMINDER; in SlotTypeJSToC()
124 case NotificationConstant::SlotType::SERVICE_REMINDER: in SlotTypeCToJS()
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_info.cpp117 case NotificationConstant::SlotType::SERVICE_REMINDER: in GetSlotFlagsKeyFromType()
118 return NotificationConstant::SLOTTYPECCMNAMES[NotificationConstant::SlotType::SERVICE_REMINDER]; in GetSlotFlagsKeyFromType()
H A Dadvanced_notification_publish_service.cpp278 NotificationConstant::SlotType::SERVICE_REMINDER, commonNotificationPublishProcess); in InitPublishProcess()
/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp214 * @tc.desc : Test publish notification when slot type is SERVICE_REMINDER.
243 sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
990 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
1148 sptr<NotificationSlot> reminderSlot = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
1221 sptr<NotificationSlot> reminderSlot = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
1673 sptr<NotificationSlot> reminderSlot = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
2087 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
2109 req->SetSlotType(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
2110 req1->SetSlotType(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
2234 sptr<NotificationSlot> reminderSlot = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp347 TestAddSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
452 * @tc.desc : Create a slot of type SERVICE_REMINDER and successfully publish a notification
456 TestAddSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
461 req->SetSlotType(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp657 outType = NotificationConstant::SlotType::SERVICE_REMINDER; in SlotTypeCJToC()
688 case NotificationConstant::SlotType::SERVICE_REMINDER: in SlotTypeCToCJ()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp4798 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()
4814 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::SERVICE_REMINDER; in HWTEST_F()

Completed in 45 milliseconds