/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_slot_filter_test.cpp | 51 NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM; in HWTEST_F() 69 NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM; in HWTEST_F()
|
H A D | notification_preferences_info_test.cpp | 65 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F()
|
H A D | advanced_notification_service_test.cpp | 506 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 D | notification_service_test.cpp | 134 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 D | native_module_manager.cpp | 70 if (napi_create_int32(env, static_cast<int32_t>(ReminderRequest::ActionButtonType::CUSTOM), &prop) == napi_ok) { in ConstantInit()
|
H A D | native_module.cpp | 67 if (napi_create_int32(env, static_cast<int32_t>(ReminderRequest::ActionButtonType::CUSTOM), &prop) == napi_ok) { in ConstantInit()
|
H A D | reminder_common.cpp | 83 (ReminderRequest::ActionButtonType(buttonType) == ReminderRequest::ActionButtonType::CUSTOM && in GenActionButtons() 109 if (ReminderRequest::ActionButtonType(buttonType) == ReminderRequest::ActionButtonType::CUSTOM) { in HandleActionButtonTitle()
|
H A D | publish.cpp | 663 if (it->second.type == ReminderRequest::ActionButtonType::CUSTOM) { in ParseActionButtons()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_constant.h | 64 CUSTOM, // the notification type is custom enumerator
|
H A D | notification_slot.h | 52 NotificationSlot(NotificationConstant::SlotType type = NotificationConstant::SlotType::CUSTOM);
|
H A D | reminder_request.h | 171 CUSTOM, member in OHOS::Notification::ReminderRequest::ActionButtonType
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_slot.cpp | 127 type_ = NotificationConstant::SlotType::CUSTOM; in SetType() 457 NotificationSlot *notificationSlot = new (std::nothrow) NotificationSlot(NotificationConstant::SlotType::CUSTOM); in Unmarshalling()
|
H A D | reminder_request.cpp | 199 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 D | notification_preferences_info.cpp | 123 case NotificationConstant::SlotType::CUSTOM: in GetSlotFlagsKeyFromType() 124 return NotificationConstant::SLOTTYPECCMNAMES[NotificationConstant::SlotType::CUSTOM]; in GetSlotFlagsKeyFromType()
|
H A D | advanced_notification_service.cpp | 421 if ((request->GetSlotType() == NotificationConstant::SlotType::CUSTOM) && in PrepareNotificationInfo()
|
H A D | advanced_notification_publish_service.cpp | 284 NotificationConstant::SlotType::CUSTOM, commonNotificationPublishProcess); in InitPublishProcess()
|
H A D | reminder_data_manager.cpp | 1889 UpdateAppDatabase(reminder, ReminderRequest::ActionButtonType::CUSTOM); in HandleCustomButtonClick()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/reminder_request_branch_test/ |
H A D | reminder_request_branch_test.cpp | 407 * 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 D | ans_convert_enum.cpp | 118 case NotificationConstant::SlotType::CUSTOM: in SlotTypeCToJS()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 142 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 D | advanced_notification_service_publish_test.cpp | 286 * @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 D | ans_log_test.cpp | 153 NotificationConstant::SlotType inType = NotificationConstant::SlotType::CUSTOM; in HWTEST_F()
|
/base/notification/distributed_notification_service/services/test/moduletest/ |
H A D | ans_module_test.cpp | 1116 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 D | ans_innerkits_module_publish_test.cpp | 174 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 D | notification_utils.cpp | 682 case NotificationConstant::SlotType::CUSTOM: in SlotTypeCToCJ()
|