/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_slot_test.cpp | 174 * @tc.desc : Add notification slot(type is CONTENT_INFORMATION), get notification slot and remove notification 180 NotificationSlot slot(NotificationConstant::CONTENT_INFORMATION); in HWTEST_F() 194 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::CONTENT_INFORMATION, spSlot)); in HWTEST_F() 200 EXPECT_EQ("CONTENT_INFORMATION", spSlot->GetId()); in HWTEST_F() 203 EXPECT_EQ(NotificationConstant::CONTENT_INFORMATION, spSlot->GetType()); in HWTEST_F() 205 EXPECT_EQ("CONTENT_INFORMATION", spSlot->GetName()); in HWTEST_F() 213 EXPECT_EQ(0, NotificationHelper::RemoveNotificationSlot(NotificationConstant::CONTENT_INFORMATION)); in HWTEST_F() 214 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::CONTENT_INFORMATION, spSlot)); in HWTEST_F() 348 * @tc.desc : Create notification slot(type is CONTENT_INFORMATION), get sound and vibration. 353 NotificationSlot slot(NotificationConstant::CONTENT_INFORMATION); in HWTEST_F() [all...] |
H A D | ans_innerkits_module_publish_test.cpp | 380 EXPECT_EQ(NotificationConstant::CONTENT_INFORMATION, notificationRequest.GetSlotType()); in CheckCaseEightResult() 996 * @tc.desc : Add notification slot(type is CONTENT_INFORMATION), make a subscriber and publish a local normal 1002 NotificationSlot slot(NotificationConstant::CONTENT_INFORMATION); in HWTEST_F() 1016 req.SetSlotType(NotificationConstant::CONTENT_INFORMATION); in HWTEST_F() 1408 req.SetSlotType(NotificationConstant::CONTENT_INFORMATION); in HWTEST_F() 1529 * @tc.desc : Add notification slot(type is CONTENT_INFORMATION), 1536 NotificationSlot slot(NotificationConstant::CONTENT_INFORMATION); in HWTEST_F() 1545 req.SetSlotType(NotificationConstant::CONTENT_INFORMATION); in HWTEST_F() 1553 bo, NotificationConstant::CONTENT_INFORMATION, enable, false)); in HWTEST_F() 1555 EXPECT_EQ(0, NotificationHelper::GetEnabledForBundleSlot(bo, NotificationConstant::CONTENT_INFORMATION, enabl in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/services/test/moduletest/ |
H A D | ans_module_test.cpp | 198 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 256 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 258 req1->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 270 * @tc.desc : Test publish notification when slot type is CONTENT_INFORMATION. 288 sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 296 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 354 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 356 req1->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 395 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 537 * @tc.desc : Test publish notification when slot type is CONTENT_INFORMATION [all...] |
/base/notification/distributed_notification_service/frameworks/core/common/src/ |
H A D | ans_convert_enum.cpp | 92 case SlotType::CONTENT_INFORMATION: in SlotTypeJSToC() 93 outType = NotificationConstant::SlotType::CONTENT_INFORMATION; in SlotTypeJSToC() 127 case NotificationConstant::SlotType::CONTENT_INFORMATION: in SlotTypeCToJS() 128 outType = SlotType::CONTENT_INFORMATION; in SlotTypeCToJS()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_slot.cpp | 145 case NotificationConstant::SlotType::CONTENT_INFORMATION: in SetType() 146 id_ = "CONTENT_INFORMATION"; in SetType() 147 SetName("CONTENT_INFORMATION"); in SetType() 494 convertStrToSlotType_[CONTENT_INFORMATION] = NotificationConstant::SlotType::CONTENT_INFORMATION; in GetSlotTypeByString() 521 case NotificationConstant::SlotType::CONTENT_INFORMATION: in GetDefaultReminderMode()
|
/base/notification/distributed_notification_service/services/ans/src/common/ |
H A D | notification_config_parse.cpp | 34 {NotificationConstant::SlotType::CONTENT_INFORMATION, 0b000000}, in NotificationConfigParse()
|
/base/notification/distributed_notification_service/frameworks/core/common/include/ |
H A D | ans_convert_enum.h | 41 CONTENT_INFORMATION = 3, member in OHOS::NotificationNapi::SlotType
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_constant.h | 62 CONTENT_INFORMATION, // the notificatin type is content information enumerator
|
H A D | notification_slot.h | 187 * The value can be DEFAULT, SOCIAL_COMMUNICATION, SERVICE_REMINDER, CONTENT_INFORMATION, or OTHER. 452 constexpr static const char* CONTENT_INFORMATION = "Content_information"; member in OHOS::Notification::NotificationSlot
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | ans_log_test.cpp | 124 inType = NotificationNapi::SlotType::CONTENT_INFORMATION; in HWTEST_F() 126 EXPECT_EQ(outType, NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 162 inType = NotificationConstant::SlotType::CONTENT_INFORMATION; in HWTEST_F() 164 EXPECT_EQ(outType, NotificationNapi::SlotType::CONTENT_INFORMATION); in HWTEST_F()
|
H A D | notification_helper_test.cpp | 1076 slotType = NotificationConstant::SlotType::CONTENT_INFORMATION; in HWTEST_F()
|
H A D | notification_request_test.cpp | 823 notificationRequest.SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION);
in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_info_test.cpp | 57 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F()
|
H A D | notification_preferences_test.cpp | 409 bundleOption_, NotificationConstant::SlotType::CONTENT_INFORMATION, slot), in HWTEST_F() 466 sptr<NotificationSlot> slot2 = new NotificationSlot(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 1201 bundleOption_, NotificationConstant::SlotType::CONTENT_INFORMATION, info), in HWTEST_F() 1293 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F()
|
H A D | notification_hisysevent_test.cpp | 311 eventInfo.slotType = NotificationConstant::CONTENT_INFORMATION; in HWTEST_F()
|
H A D | advanced_notification_slot_service_test.cpp | 227 auto slotType = NotificationConstant::SlotType::CONTENT_INFORMATION; in HWTEST_F()
|
H A D | advanced_notification_publish_service_test.cpp | 146 request->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/ |
H A D | advanced_notification_service_publish_test.cpp | 323 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 352 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 375 TestAddSlot(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 380 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 407 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 479 * @tc.desc : Create a slot of type CONTENT_INFORMATION and successfully publish a notification 483 TestAddSlot(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 488 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 948 TestAddSlot(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 951 req->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_preferences_info.cpp | 119 case NotificationConstant::SlotType::CONTENT_INFORMATION: in GetSlotFlagsKeyFromType() 120 return NotificationConstant::SLOTTYPECCMNAMES[NotificationConstant::SlotType::CONTENT_INFORMATION]; in GetSlotFlagsKeyFromType()
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/ |
H A D | notification_utils.h | 146 CONTENT_INFORMATION = 3, member in SlotType
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_utils.cpp | 659 case SlotType::CONTENT_INFORMATION: in SlotTypeCJToC() 660 outType = NotificationConstant::SlotType::CONTENT_INFORMATION; in SlotTypeCJToC() 691 case NotificationConstant::SlotType::CONTENT_INFORMATION: in SlotTypeCToCJ() 692 outType = SlotType::CONTENT_INFORMATION; in SlotTypeCToCJ()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | constant.cpp | 58 SetNamedPropertyByInteger(env, obj, static_cast<int32_t>(SlotType::CONTENT_INFORMATION), "CONTENT_INFORMATION"); in SlotTypeInit()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 340 NotificationConstant::SlotType::CONTENT_INFORMATION, slot);
in HWTEST_F() 362 NotificationConstant::SlotType::CONTENT_INFORMATION, slot);
in HWTEST_F() 382 NotificationConstant::SlotType::CONTENT_INFORMATION, enable);
in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/ |
H A D | publish.cpp | 59 = NotificationNapi::NotificationConstant::SlotType::CONTENT_INFORMATION; 71 = NotificationNapi::NotificationConstant::SlotType::CONTENT_INFORMATION;
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/ |
H A D | ans_manager_stub_test.cpp | 106 notification->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 1015 notification->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 1227 request->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F()
|