Home
last modified time | relevance | path

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

12

/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_notification.cpp42 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 Dpublish.cpp72 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 Dsubscribe.cpp400 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 Dcommon_convert_request.cpp727 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 Dadvanced_notification_live_view_service.cpp194 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 Dnotification_subscriber_manager.cpp491 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 Dadvanced_notification_reminder_service.cpp72 sptr<NotificationRequest> notificationRequest = reminder->GetNotificationRequest(); in PublishReminder()
H A Dreminder_event_manager.cpp322 NotificationRequest request = notification->GetNotificationRequest(); in OnCanceled()
H A Dadvanced_notification_service.cpp1223 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 Dadvanced_notification_publish_service.cpp1363 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 Dreminder_data_manager.cpp313 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 Dadvanced_notification_utils.cpp419 const auto &notificationRequest = recentNotification->notification->GetNotificationRequest(); in RecentNotificationDump()
1265 if (!notification->GetNotificationRequest().GetNotificationDistributedOptions().IsDistributed()) { in DoDistributedDelete()
/base/notification/distributed_notification_service/test/fuzztest/notification_fuzzer/
H A Dnotification_fuzzer.cpp43 notification.GetNotificationRequest(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/
H A Dreminderrequestannex_fuzzer.cpp44 reminderRequest.GetNotificationRequest(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dreminder_request_test.cpp1432 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 Dnotification.h135 NotificationRequest GetNotificationRequest() const;
H A Dreminder_request.h363 sptr<NotificationRequest> GetNotificationRequest() const;
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_subscriber_proxy.cpp99 if (notification->GetNotificationRequest().IsCommonLiveView()) { in OnConsumed()
186 if (notification->GetNotificationRequest().IsCommonLiveView()) { in OnCanceled()
/base/location/frameworks/js/napi/source/
H A Dgeofence_napi.cpp127 NotificationNapi::GetNotificationRequest(env, elementValue, notificationRequest); in GenNotificationRequest()
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_live_view_service_test.cpp304 record->notification->GetNotificationRequest().SetSlotType(NotificationConstant::SlotType::LIVE_VIEW); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification.cpp140 NotificationRequest Notification::GetNotificationRequest() const in GetNotificationRequest() function in OHOS::Notification::Notification
/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h232 static napi_value GetNotificationRequest(
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h608 static napi_value GetNotificationRequest(
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp403 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 Dnotification_napi_convert_request.cpp201 napi_value NotificationNapi::GetNotificationRequest( in GetNotificationRequest() function in OHOS::Location::NotificationNapi

Completed in 43 milliseconds

12