Home
last modified time | relevance | path

Searched refs:CONTENT_INFORMATION (Results 1 - 25 of 29) sorted by relevance

12

/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_slot_test.cpp174 * @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 Dans_innerkits_module_publish_test.cpp380 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 Dans_module_test.cpp198 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 Dans_convert_enum.cpp92 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 Dnotification_slot.cpp145 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 Dnotification_config_parse.cpp34 {NotificationConstant::SlotType::CONTENT_INFORMATION, 0b000000}, in NotificationConfigParse()
/base/notification/distributed_notification_service/frameworks/core/common/include/
H A Dans_convert_enum.h41 CONTENT_INFORMATION = 3, member in OHOS::NotificationNapi::SlotType
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_constant.h62 CONTENT_INFORMATION, // the notificatin type is content information enumerator
H A Dnotification_slot.h187 * 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 Dans_log_test.cpp124 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 Dnotification_helper_test.cpp1076 slotType = NotificationConstant::SlotType::CONTENT_INFORMATION; in HWTEST_F()
H A Dnotification_request_test.cpp823 notificationRequest.SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_info_test.cpp57 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F()
H A Dnotification_preferences_test.cpp409 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 Dnotification_hisysevent_test.cpp311 eventInfo.slotType = NotificationConstant::CONTENT_INFORMATION; in HWTEST_F()
H A Dadvanced_notification_slot_service_test.cpp227 auto slotType = NotificationConstant::SlotType::CONTENT_INFORMATION; in HWTEST_F()
H A Dadvanced_notification_publish_service_test.cpp146 request->SetSlotType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp323 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 Dnotification_preferences_info.cpp119 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 Dnotification_utils.h146 CONTENT_INFORMATION = 3, member in SlotType
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp659 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 Dconstant.cpp58 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 Dans_notification_unit_test.cpp340 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 Dpublish.cpp59 = 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 Dans_manager_stub_test.cpp106 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()

Completed in 39 milliseconds

12