Home
last modified time | relevance | path

Searched refs:slot1 (Results 1 - 8 of 8) sorted by relevance

/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_database_test.cpp51 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F() local
53 slots.push_back(slot1); in HWTEST_F()
66 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F() local
68 slots.push_back(slot1); in HWTEST_F()
326 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F() local
327 slots.push_back(slot1); in HWTEST_F()
364 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F() local
366 slots.push_back(slot1); in HWTEST_F()
H A Dnotification_preferences_test.cpp144 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F() local
148 slots.push_back(slot1); in HWTEST_F()
465 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::OTHER); in HWTEST_F() local
468 slots.push_back(slot1); in HWTEST_F()
H A Dadvanced_notification_service_branch_test.cpp243 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::OTHER); in HWTEST_F() local
245 slots.push_back(slot1); in HWTEST_F()
H A Dadvanced_notification_service_test.cpp182 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::OTHER); in HWTEST_F() local
184 slots.push_back(slot1); in HWTEST_F()
481 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::OTHER); in HWTEST_F() local
483 slots.push_back(slot1); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp1131 NotificationSlot slot1; in HWTEST_F() local
1132 slot1.SetType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
1133 slot1.SetSound(Uri(".")); in HWTEST_F()
1134 slot1.SetVibrationStyle(std::vector<int64_t>(1, 1)); in HWTEST_F()
1135 EXPECT_EQ(NotificationHelper::AddNotificationSlot(slot1), (int)ERR_OK); in HWTEST_F()
1175 NotificationSlot slot1; in HWTEST_F() local
1176 slot1.SetType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
1177 slot1.SetEnableVibration(true); in HWTEST_F()
1178 slot1.SetVibrationStyle(std::vector<int64_t>(1, 1)); in HWTEST_F()
1179 EXPECT_EQ(NotificationHelper::AddNotificationSlot(slot1), (in in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp1069 auto slot1 = std::make_shared<NotificationSlot>(slotType); in HWTEST_F() local
1070 EXPECT_NE(slot1, nullptr); in HWTEST_F()
/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp2516 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F() local
2518 slots.push_back(slot1); in HWTEST_F()
2572 sptr<NotificationSlot> slot1 = new NotificationSlot(NotificationConstant::SlotType::OTHER); in HWTEST_F() local
2574 slots.push_back(slot1); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp1702 sptr<NotificationSlot> slot1 = new NotificationSlot(); in HWTEST_F() local
1708 data.WriteStrongParcelable(slot1); in HWTEST_F()

Completed in 31 milliseconds