Home
last modified time | relevance | path

Searched refs:GetNotificationId (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/
H A Ddistributed_notification_manager_test.cpp68 int32_t id = request->GetNotificationId();
85 int32_t id = request->GetNotificationId();
102 int32_t id = request->GetNotificationId();
119 int32_t id = request->GetNotificationId();
136 int32_t id = request->GetNotificationId();
154 int32_t id = request->GetNotificationId();
172 int32_t id = request->GetNotificationId();
370 int32_t id = request->GetNotificationId();
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dbg_continuous_task_mgr.cpp229 int32_t notificationId = iter->second->GetNotificationId(); in CheckPersistenceData()
234 if (iter->second->GetNotificationId() == -1) { in CheckPersistenceData()
250 iter->second->GetNotificationId()); in CheckPersistenceData()
669 taskParam->notificationId_ = continuousTaskRecord->GetNotificationId(); in StartBackgroundRunning()
849 if (continuousTaskRecord->GetNotificationId() != -1) { in SendContinuousTaskNotification()
915 if (iter->second->GetNotificationId() != -1) { in StopBackgroundRunningInner()
955 continuousTaskInfosMap_[key]->GetNotificationId()); in HandleStopContinuousTask()
972 iter->second->GetNotificationId()); in RemoveContinuousTaskRecordByUid()
996 iter->second->GetNotificationId()); in RemoveContinuousTaskRecordByUidAndMode()
1198 item.second->GetNotificationId()); in DumpCancelTask()
[all …]
H A Dnotification_tools.cpp109 if (continuousTaskRecord->GetNotificationId() == -1) { in PublishNotification()
112 notificationRequest.SetNotificationId(continuousTaskRecord->GetNotificationId()); in PublishNotification()
120 if (continuousTaskRecord->GetNotificationId() == -1) { in PublishNotification()
H A Dcontinuous_task_record.cpp103 int32_t ContinuousTaskRecord::GetNotificationId() const in GetNotificationId() function in OHOS::BackgroundTaskMgr::ContinuousTaskRecord
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_live_view_service.cpp255 BundleName(request->GetCreatorBundleName()).NotificationId(request->GetNotificationId()); in SetNotificationRequestToDb()
259 request->GetCreatorBundleName().c_str(), request->GetNotificationId()); in SetNotificationRequestToDb()
266 bundleOption->GetBundleName().c_str(), request->GetNotificationId()); in SetNotificationRequestToDb()
281 …request->GetCreatorBundleName().c_str(), request->GetNotificationId(), request->GetKey().c_str(), … in SetNotificationRequestToDb()
531 request.GetNotificationId(), request.GetPublishDelayTime()); in UpdateInDelayNotificationList()
543 request.GetOwnerUid(), request.GetNotificationId(), request.GetPublishDelayTime()); in AddToDelayNotificationList()
647 auto oldRecord = GetFromDelayedNotificationList(ownerUid, request->GetNotificationId()); in IsUpdateSystemLiveviewByOwner()
658 oldRecord = GetFromNotificationList(ownerUid, request->GetNotificationId()); in IsUpdateSystemLiveviewByOwner()
691 auto notificationId = record->notification->GetNotificationRequest().GetNotificationId(); in UpdateRecordByOwner()
H A Dadvanced_notification_event_service.cpp89 eventInfo.notificationId = request->GetNotificationId(); in SendPublishHiSysEvent()
179 eventInfo.notificationId = record->request->GetNotificationId(); in SendFlowControlOccurHiSysEvent()
194 eventInfo.notificationId = record->request->GetNotificationId(); in SendLiveViewUploadHiSysEvent()
H A Dreminder_data_manager_inner.cpp102 if (reminder->GetUid() != uid || notificationId != reminder->GetNotificationId() || in HandleAutoDeleteReminder()
H A Dreminder_event_manager.cpp332 int32_t notificationId = request.GetNotificationId(); in OnCanceled()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_publish.cpp56 asynccallbackinfo->request.GetNotificationId(), in NapiPublish()
121 asynccallbackinfo->request.GetNotificationId(), in NapiShowNotification()
180 asynccallbackinfo->request.GetNotificationId(), in NapiPublishAsBundle()
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp151 if (CASE_ONE == notificationRequest.GetNotificationId()) { in OnConsumed()
153 } else if (CASE_TWO == notificationRequest.GetNotificationId()) { in OnConsumed()
155 } else if (CASE_THREE == notificationRequest.GetNotificationId()) { in OnConsumed()
157 } else if (CASE_FOUR == notificationRequest.GetNotificationId()) { in OnConsumed()
159 } else if (CASE_FIVE == notificationRequest.GetNotificationId()) { in OnConsumed()
161 } else if (CASE_SIX == notificationRequest.GetNotificationId()) { in OnConsumed()
163 } else if (CASE_SEVEN == notificationRequest.GetNotificationId()) { in OnConsumed()
165 } else if (CASE_EIGHT == notificationRequest.GetNotificationId()) { in OnConsumed()
167 } else if (CASE_NINE == notificationRequest.GetNotificationId()) { in OnConsumed()
169 } else if (CASE_TEN == notificationRequest.GetNotificationId()) { in OnConsumed()
[all …]
H A Dans_fw_module_test.cpp383 .append(ToString(req.GetNotificationId())); in GenerateDistributedKey()
403 … if (notification->GetNotificationRequest().GetNotificationId() == req.GetNotificationId() && in GetRequestInNotificationList()
1817 …ASSERT_EQ(NotificationHelper::CancelNotification(request.GetLabel(), request.GetNotificationId()),…
1845 request.SetNotificationId(request.GetNotificationId() + 1);
1880 …NotificationHelper::RemoveNotification(bundleOption, request.GetNotificationId(), request.GetLabel…
1908 request.SetNotificationId(request.GetNotificationId() + 1);
1941 request.SetNotificationId(request.GetNotificationId() + 1);
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/
H A Dreminderrequestannex_fuzzer.cpp43 reminderRequest.GetNotificationId(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/include/
H A Dcontinuous_task_record.h57 int32_t GetNotificationId() const;
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/
H A Dnotificationrequest_fuzzer.cpp40 request.GetNotificationId(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dpublish.cpp136 asynccallbackinfo->request.GetNotificationId(), in Publish()
341 asynccallbackinfo->request.GetNotificationId(), in ShowNotification()
494 asynccallbackinfo->request.GetNotificationId(), in PublishAsBundle()
H A Dcommon_convert_request.cpp85 napi_create_int32(env, request->GetNotificationId(), &value); in SetNotificationRequestByNumber()
560 if (GetNotificationId(env, value, request) == nullptr) { in GetNotificationRequestByNumber()
921 napi_value Common::GetNotificationId(const napi_env &env, const napi_value &value, NotificationRequ… in GetNotificationId() function in OHOS::NotificationNapi::Common
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_request.cpp125 int32_t NotificationRequest::GetNotificationId() const in GetNotificationId() function in OHOS::Notification::NotificationRequest
2410 GetNotificationId(), oldLiveView->GetVersion(), liveView->GetVersion()); in CheckVersion()
2416 GetNotificationId(), oldLiveView->GetVersion(), liveView->GetVersion()); in CheckVersion()
2440 GetCreatorBundleName().c_str(), GetNotificationId()); in CheckNotificationRequest()
2454 GetCreatorBundleName().c_str(), GetNotificationId()); in CheckNotificationRequest()
2463 GetCreatorBundleName().c_str(), GetNotificationId()); in CheckNotificationRequest()
H A Dnotification.cpp132 return request_->GetNotificationId(); in GetId()
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_notification_manager_branch_test/
H A Ddistributed_notification_manager_branch_test.cpp247 int32_t id = request->GetNotificationId();
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_test.cpp135 EXPECT_EQ(rrc->GetNotificationRequestPoint()->GetNotificationId(), notificationId);
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_request.h270 int32_t GetNotificationId() const;
H A Dreminder_request.h349 int32_t GetNotificationId() const;
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_analytics_util.cpp205 want.SetParam("id", request->GetNotificationId()); in ReportNotificationEvent()
/ohos5.0/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h287 …static napi_value GetNotificationId(const napi_env &env, const napi_value &value, NotificationRequ…
/ohos5.0/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_convert_request.cpp38 if (GetNotificationId(env, value, request) == nullptr) { in GetNotificationRequestByNumber()
398 napi_value NotificationNapi::GetNotificationId( in GetNotificationId() function in OHOS::Location::NotificationNapi

12