Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_slot_filter_test.cpp51 NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM; in HWTEST_F()
69 NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM; in HWTEST_F()
H A Dnotification_preferences_info_test.cpp65 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
H A Dadvanced_notification_service_test.cpp506 ASSERT_EQ((int)advancedNotificationService_->RemoveSlotByType(NotificationConstant::CUSTOM), 0); in HWTEST_F()
3030 notificationCheckRequest->SetSlotType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
3039 request->SetSlotType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
3057 request->SetSlotType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
3074 request->SetSlotType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
3123 notificationCheckRequest->SetSlotType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
3132 request->SetSlotType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
H A Dnotification_service_test.cpp134 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM); in BENCHMARK_F()
153 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM); in BENCHMARK_F()
161 errCode = advancedNotificationService_->RemoveSlotByType(NotificationConstant::SlotType::CUSTOM); in BENCHMARK_F()
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dnative_module_manager.cpp70 if (napi_create_int32(env, static_cast<int32_t>(ReminderRequest::ActionButtonType::CUSTOM), &prop) == napi_ok) { in ConstantInit()
H A Dnative_module.cpp67 if (napi_create_int32(env, static_cast<int32_t>(ReminderRequest::ActionButtonType::CUSTOM), &prop) == napi_ok) { in ConstantInit()
H A Dreminder_common.cpp83 (ReminderRequest::ActionButtonType(buttonType) == ReminderRequest::ActionButtonType::CUSTOM && in GenActionButtons()
109 if (ReminderRequest::ActionButtonType(buttonType) == ReminderRequest::ActionButtonType::CUSTOM) { in HandleActionButtonTitle()
H A Dpublish.cpp663 if (it->second.type == ReminderRequest::ActionButtonType::CUSTOM) { in ParseActionButtons()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_constant.h64 CUSTOM, // the notification type is custom enumerator
H A Dnotification_slot.h52 NotificationSlot(NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM);
H A Dreminder_request.h171 CUSTOM, member in OHOS::Notification::ReminderRequest::ActionButtonType
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_slot.cpp127 type_ = NotificationConstant::SlotType::CUSTOM; in SetType()
457 NotificationSlot *notificationSlot = new (std::nothrow) NotificationSlot(NotificationConstant::SlotType::CUSTOM); in Unmarshalling()
H A Dreminder_request.cpp199 if ((type != ActionButtonType::CLOSE) && (type != ActionButtonType::SNOOZE) && (type != ActionButtonType::CUSTOM)) { in SetActionButton()
1464 case ActionButtonType::CUSTOM: in AddActionButtons()
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_info.cpp123 case NotificationConstant::SlotType::CUSTOM: in GetSlotFlagsKeyFromType()
124 return NotificationConstant::SLOTTYPECCMNAMES[NotificationConstant::SlotType::CUSTOM]; in GetSlotFlagsKeyFromType()
H A Dadvanced_notification_service.cpp421 if ((request->GetSlotType() == NotificationConstant::SlotType::CUSTOM) && in PrepareNotificationInfo()
H A Dadvanced_notification_publish_service.cpp284 NotificationConstant::SlotType::CUSTOM, commonNotificationPublishProcess); in InitPublishProcess()
H A Dreminder_data_manager.cpp1889 UpdateAppDatabase(reminder, ReminderRequest::ActionButtonType::CUSTOM); in HandleCustomButtonClick()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/reminder_request_branch_test/
H A Dreminder_request_branch_test.cpp407 * 2.Type is ActionButtonType::CUSTOM and button.second.wantAgent is nullptr
418 ReminderRequest::ActionButtonType actionButtonType = ReminderRequest::ActionButtonType::CUSTOM; in HWTEST_F()
432 * 2.Type is ActionButtonType::CUSTOM and button.second.wantAgent is not nullptr
445 ReminderRequest::ActionButtonType actionButtonType = ReminderRequest::ActionButtonType::CUSTOM; in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/common/src/
H A Dans_convert_enum.cpp118 case NotificationConstant::SlotType::CUSTOM: in SlotTypeCToJS()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp142 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::CUSTOM; in HWTEST_F()
181 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::CUSTOM; in HWTEST_F()
989 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::CUSTOM; in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp286 * @tc.desc : When slotType is CUSTOM and not systemApp, the notification publish fails,
295 req->SetSlotType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
533 * @tc.desc : Create a slot of type CUSTOM and successfully publish a notification
537 TestAddSlot(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
542 req->SetSlotType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dans_log_test.cpp153 NotificationConstant::SlotType inType = NotificationConstant::SlotType::CUSTOM; in HWTEST_F()
/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp1116 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
1676 sptr<NotificationSlot> customSlot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
2237 sptr<NotificationSlot> customSlot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
2250 EXPECT_EQ(g_advancedNotificationService->RemoveSlotByType(NotificationConstant::SlotType::CUSTOM), 0); in HWTEST_F()
2327 slots.push_back(new NotificationSlot(NotificationConstant::SlotType::CUSTOM)); in HWTEST_F()
2348 req4->SetSlotType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp174 EXPECT_EQ(NotificationConstant::CUSTOM, notificationRequest.GetSlotType());
1154 * @tc.desc : Add notification slot(type is CUSTOM), make a subscriber and publish a local normal
1160 NotificationSlot slot(NotificationConstant::CUSTOM); in HWTEST_F()
1173 req.SetSlotType(NotificationConstant::CUSTOM); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp682 case NotificationConstant::SlotType::CUSTOM: in SlotTypeCToCJ()

Completed in 47 milliseconds