Home
last modified time | relevance | path

Searched refs:CUSTOM (Results 1 – 18 of 18) sorted by relevance

/base/notification/distributed_notification_service/services/ans/test/unittest/
Dnotification_slot_filter_test.cpp51 NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM;
69 NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM;
Dadvanced_notification_service_test.cpp193 req->SetSlotType(NotificationConstant::SlotType::CUSTOM);
417 TestAddSlot(NotificationConstant::SlotType::CUSTOM);
421 req->SetSlotType(NotificationConstant::SlotType::CUSTOM);
787 EXPECT_EQ((int)advancedNotificationService_->RemoveSlotByType(NotificationConstant::CUSTOM), 0);
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_constant.h64 CUSTOM, // the notification type is custom enumerator
Dnotification_slot.h46 NotificationSlot(NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM);
Dreminder_request.h75 CUSTOM, enumerator
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
Dnotification_service_test.cpp129 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM); in BENCHMARK_F()
148 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM); in BENCHMARK_F()
156 … errCode = advancedNotificationService_->RemoveSlotByType(NotificationConstant::SlotType::CUSTOM); in BENCHMARK_F()
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dnative_module_manager.cpp66 …if (napi_create_int32(env, static_cast<int32_t>(ReminderRequest::ActionButtonType::CUSTOM), &prop)… in ConstantInit()
Dnative_module.cpp66 …if (napi_create_int32(env, static_cast<int32_t>(ReminderRequest::ActionButtonType::CUSTOM), &prop)… in ConstantInit()
Dreminder_common.cpp81 … (ReminderRequest::ActionButtonType(buttonType) == ReminderRequest::ActionButtonType::CUSTOM && in GenActionButtons()
88 … if (ReminderRequest::ActionButtonType(buttonType) == ReminderRequest::ActionButtonType::CUSTOM) { in GenActionButtons()
Dpublish.cpp533 if (it->second.type == ReminderRequest::ActionButtonType::CUSTOM) { in ParseActionButtons()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_slot.cpp94 type_ = NotificationConstant::SlotType::CUSTOM; in SetType()
340 …ot *notificationSlot = new (std::nothrow) NotificationSlot(NotificationConstant::SlotType::CUSTOM); in Unmarshalling()
Dreminder_request.cpp190 …onButtonType::CLOSE) && (type != ActionButtonType::SNOOZE) && (type != ActionButtonType::CUSTOM)) { in SetActionButton()
1430 case ActionButtonType::CUSTOM: in AddActionButtons()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/reminder_request_branch_test/
Dreminder_request_branch_test.cpp422 ReminderRequest::ActionButtonType actionButtonType = ReminderRequest::ActionButtonType::CUSTOM;
449 ReminderRequest::ActionButtonType actionButtonType = ReminderRequest::ActionButtonType::CUSTOM;
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
Dans_notification_unit_test.cpp130 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::CUSTOM;
169 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::CUSTOM;
692 NotificationConstant::SlotType slotType = NotificationConstant::SlotType::CUSTOM;
/base/notification/distributed_notification_service/services/test/moduletest/
Dans_module_test.cpp1070 sptr<NotificationSlot> slot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM);
1673 … sptr<NotificationSlot> customSlot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM);
2208 … sptr<NotificationSlot> customSlot = new NotificationSlot(NotificationConstant::SlotType::CUSTOM);
2221 …ECT_EQ(g_advancedNotificationService->RemoveSlotByType(NotificationConstant::SlotType::CUSTOM), 0);
2294 slots.push_back(new NotificationSlot(NotificationConstant::SlotType::CUSTOM));
2311 req4->SetSlotType(NotificationConstant::SlotType::CUSTOM);
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp140 EXPECT_EQ(NotificationConstant::CUSTOM, notificationRequest.GetSlotType()); in OnConsumed()
1084 NotificationSlot slot(NotificationConstant::CUSTOM);
1097 req.SetSlotType(NotificationConstant::CUSTOM);
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp467 if ((request->GetSlotType() == NotificationConstant::SlotType::CUSTOM) && in PrepareNotificationInfo()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dcommon.cpp4388 case NotificationConstant::SlotType::CUSTOM: in SlotTypeCToJS()