Home
last modified time | relevance | path

Searched refs:SOCIAL_COMMUNICATION (Results 1 - 25 of 37) sorted by relevance

12

/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_slot_test.cpp82 * @tc.desc : Add notification slot(type is SOCIAL_COMMUNICATION), get notification slot and remove notification
88 NotificationSlot slot(NotificationConstant::SOCIAL_COMMUNICATION); in HWTEST_F()
103 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SOCIAL_COMMUNICATION, spSlot)); in HWTEST_F()
109 EXPECT_EQ("SOCIAL_COMMUNICATION", spSlot->GetId()); in HWTEST_F()
112 EXPECT_EQ(NotificationConstant::SOCIAL_COMMUNICATION, spSlot->GetType()); in HWTEST_F()
114 EXPECT_EQ("SOCIAL_COMMUNICATION", spSlot->GetName()); in HWTEST_F()
122 EXPECT_EQ(0, NotificationHelper::RemoveNotificationSlot(NotificationConstant::SOCIAL_COMMUNICATION)); in HWTEST_F()
123 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SOCIAL_COMMUNICATION, spSlot)); in HWTEST_F()
314 * @tc.desc : Create notification slot(type is SOCIAL_COMMUNICATION), get sound and vibration.
319 NotificationSlot slot(NotificationConstant::SOCIAL_COMMUNICATION); in HWTEST_F()
[all...]
H A Dans_innerkits_module_publish_test.cpp172 EXPECT_EQ(NotificationConstant::SOCIAL_COMMUNICATION, notificationRequest.GetSlotType());
1122 * @tc.desc : Add notification slot(type is SOCIAL_COMMUNICATION), make a subscriber and publish a local normal
1128 NotificationSlot slot(NotificationConstant::SOCIAL_COMMUNICATION); in HWTEST_F()
1141 req.SetSlotType(NotificationConstant::SOCIAL_COMMUNICATION); in HWTEST_F()
1187 * @tc.desc : Add notification slot(type is SOCIAL_COMMUNICATION), make a subscriber and publish a local group
1193 NotificationSlot slot(NotificationConstant::SOCIAL_COMMUNICATION); in HWTEST_F()
1207 req.SetSlotType(NotificationConstant::SOCIAL_COMMUNICATION); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_info_test.cpp49 const char *res= bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
89 bundleInfo.SetSlotFlagsForSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
90 int res = bundleInfo.GetSlotFlagsForSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
H A Dnotification_slot_filter_test.cpp100 record->slot = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
H A Dpermission_filter_test.cpp69 record->slot = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
H A Dadvanced_notification_publish_service_test.cpp660 req->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
669 auto slot = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
861 request->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
880 request->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
897 request->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
914 request->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
933 request->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
1057 request->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
1089 request->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
H A Dnotification_preferences_database_test.cpp51 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
66 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
326 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
331 OHOS::Notification::NotificationConstant::SlotType::SOCIAL_COMMUNICATION, -1)); in HWTEST_F()
342 std::string(), OHOS::Notification::NotificationConstant::SlotType::SOCIAL_COMMUNICATION, -1)); in HWTEST_F()
364 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
389 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
H A Dadvanced_notification_service_test.cpp222 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
557 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
972 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
987 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
1057 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
1071 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
1086 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
1101 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
1116 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
2439 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
[all...]
H A Dadvanced_notification_live_view_service_test.cpp284 auto slotType = NotificationConstant::SlotType::SOCIAL_COMMUNICATION; in HWTEST_F()
H A Dadvanced_notification_service_branch_test.cpp974 NotificationConstant::SlotType::SOCIAL_COMMUNICATION, enabled, false); in HWTEST_F()
979 NotificationConstant::SlotType::SOCIAL_COMMUNICATION, enabled); in HWTEST_F()
/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp133 sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in TestAddSlots()
189 sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
369 * @tc.desc : Test publish notification when slot type is SOCIAL_COMMUNICATION.
387 sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
411 * @tc.desc : Test publish notification when slot type is SOCIAL_COMMUNICATION.
429 sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
453 * @tc.desc : Test publish notification when slot type is SOCIAL_COMMUNICATION.
471 sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
495 * @tc.desc : Test publish notification when slot type is SOCIAL_COMMUNICATION.
513 sptr<NotificationSlot> slot0 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/frameworks/core/common/src/
H A Dans_convert_enum.cpp86 case SlotType::SOCIAL_COMMUNICATION: in SlotTypeJSToC()
87 outType = NotificationConstant::SlotType::SOCIAL_COMMUNICATION; in SlotTypeJSToC()
121 case NotificationConstant::SlotType::SOCIAL_COMMUNICATION: in SlotTypeCToJS()
122 outType = SlotType::SOCIAL_COMMUNICATION; in SlotTypeCToJS()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_slot.cpp129 case NotificationConstant::SlotType::SOCIAL_COMMUNICATION: in SetType()
130 id_ = "SOCIAL_COMMUNICATION"; in SetType()
131 SetName("SOCIAL_COMMUNICATION"); in SetType()
492 convertStrToSlotType_[SOCIAL_COMMUNICATION] = NotificationConstant::SlotType::SOCIAL_COMMUNICATION; in GetSlotTypeByString()
513 case NotificationConstant::SlotType::SOCIAL_COMMUNICATION: in GetDefaultReminderMode()
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp425 * @tc.desc : Create a slot of type SOCIAL_COMMUNICATION and successfully publish a notification
429 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
434 req->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
568 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
571 req->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
860 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
863 req->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
891 TestAddSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
894 req->SetSlotType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
906 NotificationConstant::SlotType::SOCIAL_COMMUNICATION, in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_config_parse.cpp32 {NotificationConstant::SlotType::SOCIAL_COMMUNICATION, 0b111111}, in NotificationConfigParse()
/base/notification/distributed_notification_service/frameworks/core/common/include/
H A Dans_convert_enum.h39 SOCIAL_COMMUNICATION = 1, member in OHOS::NotificationNapi::SlotType
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_constant.h60 SOCIAL_COMMUNICATION, // the notification type is social communication enumerator
H A Dnotification_slot.h187 * The value can be DEFAULT, SOCIAL_COMMUNICATION, SERVICE_REMINDER, CONTENT_INFORMATION, or OTHER.
450 constexpr static const char* SOCIAL_COMMUNICATION = "Social_communication"; member in OHOS::Notification::NotificationSlot
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dans_log_test.cpp118 NotificationNapi::SlotType inType = NotificationNapi::SlotType::SOCIAL_COMMUNICATION; in HWTEST_F()
120 EXPECT_EQ(outType, NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
156 inType = NotificationConstant::SlotType::SOCIAL_COMMUNICATION; in HWTEST_F()
158 EXPECT_EQ(outType, NotificationNapi::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
H A Dnotification_preferences_database_branch_test.cpp464 NotificationConstant::SlotType type = NotificationConstant::SlotType::SOCIAL_COMMUNICATION; in HWTEST_F()
481 NotificationConstant::SlotType type = NotificationConstant::SlotType::SOCIAL_COMMUNICATION; in HWTEST_F()
500 NotificationConstant::SlotType type = NotificationConstant::SlotType::SOCIAL_COMMUNICATION; in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_info.cpp115 case NotificationConstant::SlotType::SOCIAL_COMMUNICATION: in GetSlotFlagsKeyFromType()
116 return NotificationConstant::SLOTTYPECCMNAMES[NotificationConstant::SlotType::SOCIAL_COMMUNICATION]; in GetSlotFlagsKeyFromType()
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h144 SOCIAL_COMMUNICATION = 1, member in SlotType
/base/usb/usb_manager/services/native/src/
H A Dusb_mass_storage_notification.cpp224 request.SetSlotType(OHOS::Notification::NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in PublishUsbNotification()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp813 NotificationConstant::SlotType slotType = NotificationConstant::SOCIAL_COMMUNICATION; in HWTEST_F()
836 NotificationConstant::SlotType slotType = NotificationConstant::SOCIAL_COMMUNICATION; in HWTEST_F()
856 NotificationConstant::SlotType slotType = NotificationConstant::SOCIAL_COMMUNICATION; in HWTEST_F()
878 NotificationConstant::SlotType slotType = NotificationConstant::SOCIAL_COMMUNICATION; in HWTEST_F()
1131 NotificationConstant::SlotType slotType = NotificationConstant::SOCIAL_COMMUNICATION; in HWTEST_F()
1154 NotificationConstant::SlotType slotType = NotificationConstant::SOCIAL_COMMUNICATION; in HWTEST_F()
1174 NotificationConstant::SlotType slotType = NotificationConstant::SOCIAL_COMMUNICATION; in HWTEST_F()
1196 NotificationConstant::SlotType slotType = NotificationConstant::SOCIAL_COMMUNICATION; in HWTEST_F()
1318 NotificationConstant::SlotType slotType = NotificationConstant::SOCIAL_COMMUNICATION; in HWTEST_F()
1342 NotificationConstant::SlotType slotType = NotificationConstant::SOCIAL_COMMUNICATION; in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp653 case SlotType::SOCIAL_COMMUNICATION: in SlotTypeCJToC()
654 outType = NotificationConstant::SlotType::SOCIAL_COMMUNICATION; in SlotTypeCJToC()
685 case NotificationConstant::SlotType::SOCIAL_COMMUNICATION: in SlotTypeCToCJ()
686 outType = SlotType::SOCIAL_COMMUNICATION; in SlotTypeCToCJ()

Completed in 37 milliseconds

12