/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_convert_notification.cpp | 42 NotificationDistributedOptions options = notification->GetNotificationRequest().GetNotificationDistributedOptions(); in SetNotificationByDistributedOptions() 101 NotificationRequest request = notification->GetNotificationRequest(); in SetNotification() 120 napi_create_int32(env, notification->GetNotificationRequest().GetOwnerUid(), &value); in SetNotification() 160 napi_create_int32(env, notification->GetNotificationRequest().GetNotificationControlFlags(), &value); in SetNotification()
|
H A D | publish.cpp | 72 if (Common::GetNotificationRequest(env, argv[PARAM0], params.request) == nullptr) { in ParseParameters() 392 if (Common::GetNotificationRequest(env, argv[PARAM0], params.request) == nullptr) { in ParsePublishAsBundleParameters() 432 if (Common::GetNotificationRequest(env, argv[PARAM1], params.request) == nullptr) { in ParsePublishAsBundleParameters()
|
H A D | subscribe.cpp | 400 if (request->GetNotificationRequest().GetAgentBundle() != nullptr) { in OnConsumed() 402 request->GetNotificationRequest().GetAgentBundle()->Dump().c_str()); in OnConsumed() 406 auto notificationFlags = request->GetNotificationRequest().GetFlags(); in OnConsumed() 410 ANS_LOGD("OnConsumed Notification info is %{public}s", request->GetNotificationRequest().Dump().c_str()); in OnConsumed()
|
H A D | common_convert_request.cpp | 727 napi_value Common::GetNotificationRequest(const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationRequest() function in OHOS::NotificationNapi::Common
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_live_view_service.cpp | 194 notificationRecord->notification->GetNotificationRequest().IsCommonLiveView()) { in OnSubscriberAdd() 532 auto request = record->notification->GetNotificationRequest(); in UpdateInDelayNotificationList() 544 auto request = record->notification->GetNotificationRequest(); in AddToDelayNotificationList() 552 uint32_t delayTime = record->notification->GetNotificationRequest().GetPublishDelayTime(); in SaPublishSystemLiveViewAsBundle() 676 auto request = record->notification->GetNotificationRequest(); in IsSaCreateSystemLiveViewAsBundle() 693 auto creatorUid = record->notification->GetNotificationRequest().GetCreatorUid(); in UpdateRecordByOwner() 694 auto notificationId = record->notification->GetNotificationRequest().GetNotificationId(); in UpdateRecordByOwner() 702 auto downloadTemplate = record->notification->GetNotificationRequest().GetTemplate(); in UpdateRecordByOwner() 703 auto content = record->notification->GetNotificationRequest().GetContent(); in UpdateRecordByOwner() 704 auto wantAgent = record->notification->GetNotificationRequest() in UpdateRecordByOwner() [all...] |
H A D | notification_subscriber_manager.cpp | 491 bool isCommonLiveView = notification->GetNotificationRequest().IsCommonLiveView(); in NotifyCanceledInner() 495 notification->GetNotificationRequest().GetContent()->GetNotificationContent()); in NotifyCanceledInner() 518 (notification->GetNotificationRequest().GetCreatorUid() == record->subscriberUid); in IsSubscribedBysubscriber() 527 int32_t recvUserId = notification->GetNotificationRequest().GetReceiverUserId(); in IsSubscribedBysubscriber() 569 auto requestContent = notification->GetNotificationRequest().GetContent(); in BatchNotifyCanceledInner() 570 if (notification->GetNotificationRequest().IsCommonLiveView() && in BatchNotifyCanceledInner() 578 if (notification->GetNotificationRequest().IsSystemLiveView() && in BatchNotifyCanceledInner()
|
H A D | advanced_notification_reminder_service.cpp | 72 sptr<NotificationRequest> notificationRequest = reminder->GetNotificationRequest(); in PublishReminder()
|
H A D | reminder_event_manager.cpp | 322 NotificationRequest request = notification->GetNotificationRequest(); in OnCanceled()
|
H A D | advanced_notification_service.cpp | 1223 auto delayRequest = delayNotification.first->notification->GetNotificationRequest(); in GetNotificationKeys() 1263 record->notification->GetNotificationRequest().GetCreatorUid())) { in RemoveFromNotificationList() 1370 auto oldRequest = item->notification->GetNotificationRequest(); in GetFromNotificationList() 1386 auto delayRequest = delayNotification.first->notification->GetNotificationRequest(); in GetFromDelayedNotificationList()
|
H A D | advanced_notification_publish_service.cpp | 1363 if ((*iter).first->notification->GetNotificationRequest().GetCreatorUid() == uid && in RemoveSystemLiveViewNotificationsOfSa() 1364 (*iter).first->notification->GetNotificationRequest().IsInProgress()) { in RemoveSystemLiveViewNotificationsOfSa() 1378 if (item->notification->GetNotificationRequest().GetCreatorUid() == uid && in RemoveSystemLiveViewNotificationsOfSa() 1379 item->notification->GetNotificationRequest().IsInProgress()) { in RemoveSystemLiveViewNotificationsOfSa()
|
H A D | reminder_data_manager.cpp | 313 sptr<NotificationRequest> notification = reminder->GetNotificationRequest(); in CancelNotification() 833 sptr<NotificationRequest> notificationRequest = reminder->GetNotificationRequest(); in TerminateAlerting() 1069 sptr<NotificationRequest> notificationRequest = reminder->GetNotificationRequest(); in ShowReminder() 1168 sptr<NotificationRequest> notificationRequest = reminder->GetNotificationRequest(); in SnoozeReminderImpl()
|
H A D | advanced_notification_utils.cpp | 419 const auto ¬ificationRequest = recentNotification->notification->GetNotificationRequest(); in RecentNotificationDump() 1265 if (!notification->GetNotificationRequest().GetNotificationDistributedOptions().IsDistributed()) { in DoDistributedDelete()
|
/base/notification/distributed_notification_service/test/fuzztest/notification_fuzzer/ |
H A D | notification_fuzzer.cpp | 43 notification.GetNotificationRequest();
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/ |
H A D | reminderrequestannex_fuzzer.cpp | 44 reminderRequest.GetNotificationRequest();
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | reminder_request_test.cpp | 1432 sptr<NotificationRequest> ret = rrc->GetNotificationRequest(); in HWTEST_F() 1451 sptr<NotificationRequest> ret = rrc->GetNotificationRequest(); in HWTEST_F() 1470 sptr<NotificationRequest> ret = rrc->GetNotificationRequest(); in HWTEST_F() 1489 sptr<NotificationRequest> ret = rrc->GetNotificationRequest(); in HWTEST_F() 1508 sptr<NotificationRequest> ret = rrc->GetNotificationRequest(); in HWTEST_F() 1528 sptr<NotificationRequest> ret = rrc->GetNotificationRequest(); in HWTEST_F() 1552 sptr<NotificationRequest> ret = rrc->GetNotificationRequest(); in HWTEST_F() 1577 sptr<NotificationRequest> ret = rrc->GetNotificationRequest(); in HWTEST_F() 1601 sptr<NotificationRequest> ret = rrc->GetNotificationRequest(); in HWTEST_F() 1765 sptr<NotificationRequest> ret = rrc->GetNotificationRequest(); in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification.h | 135 NotificationRequest GetNotificationRequest() const;
|
H A D | reminder_request.h | 363 sptr<NotificationRequest> GetNotificationRequest() const;
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_subscriber_proxy.cpp | 99 if (notification->GetNotificationRequest().IsCommonLiveView()) { in OnConsumed() 186 if (notification->GetNotificationRequest().IsCommonLiveView()) { in OnCanceled()
|
/base/location/frameworks/js/napi/source/ |
H A D | geofence_napi.cpp | 127 NotificationNapi::GetNotificationRequest(env, elementValue, notificationRequest); in GenNotificationRequest()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_live_view_service_test.cpp | 304 record->notification->GetNotificationRequest().SetSlotType(NotificationConstant::SlotType::LIVE_VIEW); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification.cpp | 140 NotificationRequest Notification::GetNotificationRequest() const in GetNotificationRequest() function in OHOS::Notification::Notification
|
/base/location/frameworks/js/napi/notification/include/ |
H A D | notification_napi.h | 232 static napi_value GetNotificationRequest(
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 608 static napi_value GetNotificationRequest(
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_fw_module_test.cpp | 403 if (notification->GetNotificationRequest().GetNotificationId() == req.GetNotificationId() && in GetRequestInNotificationList() 404 notification->GetNotificationRequest().GetLabel() == req.GetLabel()) { in GetRequestInNotificationList()
|
/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_convert_request.cpp | 201 napi_value NotificationNapi::GetNotificationRequest( in GetNotificationRequest() function in OHOS::Location::NotificationNapi
|