/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/ |
H A D | distributed_notification_manager_test.cpp | 68 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 D | bg_continuous_task_mgr.cpp | 229 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 D | notification_tools.cpp | 109 if (continuousTaskRecord->GetNotificationId() == -1) { in PublishNotification() 112 notificationRequest.SetNotificationId(continuousTaskRecord->GetNotificationId()); in PublishNotification() 120 if (continuousTaskRecord->GetNotificationId() == -1) { in PublishNotification()
|
H A D | continuous_task_record.cpp | 103 int32_t ContinuousTaskRecord::GetNotificationId() const in GetNotificationId() function in OHOS::BackgroundTaskMgr::ContinuousTaskRecord
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_live_view_service.cpp | 255 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 D | advanced_notification_event_service.cpp | 89 eventInfo.notificationId = request->GetNotificationId(); in SendPublishHiSysEvent() 179 eventInfo.notificationId = record->request->GetNotificationId(); in SendFlowControlOccurHiSysEvent() 194 eventInfo.notificationId = record->request->GetNotificationId(); in SendLiveViewUploadHiSysEvent()
|
H A D | reminder_data_manager_inner.cpp | 102 if (reminder->GetUid() != uid || notificationId != reminder->GetNotificationId() || in HandleAutoDeleteReminder()
|
H A D | reminder_event_manager.cpp | 332 int32_t notificationId = request.GetNotificationId(); in OnCanceled()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_publish.cpp | 56 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 D | ans_innerkits_module_publish_test.cpp | 151 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 D | ans_fw_module_test.cpp | 383 .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 D | reminderrequestannex_fuzzer.cpp | 43 reminderRequest.GetNotificationId(); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/include/ |
H A D | continuous_task_record.h | 57 int32_t GetNotificationId() const;
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/ |
H A D | notificationrequest_fuzzer.cpp | 40 request.GetNotificationId(); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | publish.cpp | 136 asynccallbackinfo->request.GetNotificationId(), in Publish() 341 asynccallbackinfo->request.GetNotificationId(), in ShowNotification() 494 asynccallbackinfo->request.GetNotificationId(), in PublishAsBundle()
|
H A D | common_convert_request.cpp | 85 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 D | notification_request.cpp | 125 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 D | notification.cpp | 132 return request_->GetNotificationId(); in GetId()
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_notification_manager_branch_test/ |
H A D | distributed_notification_manager_branch_test.cpp | 247 int32_t id = request->GetNotificationId();
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_test.cpp | 135 EXPECT_EQ(rrc->GetNotificationRequestPoint()->GetNotificationId(), notificationId);
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_request.h | 270 int32_t GetNotificationId() const;
|
H A D | reminder_request.h | 349 int32_t GetNotificationId() const;
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/ |
H A D | notification_analytics_util.cpp | 205 want.SetParam("id", request->GetNotificationId()); in ReportNotificationEvent()
|
/ohos5.0/base/location/frameworks/js/napi/notification/include/ |
H A D | notification_napi.h | 287 …static napi_value GetNotificationId(const napi_env &env, const napi_value &value, NotificationRequ…
|
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_convert_request.cpp | 38 if (GetNotificationId(env, value, request) == nullptr) { in GetNotificationRequestByNumber() 398 napi_value NotificationNapi::GetNotificationId( in GetNotificationId() function in OHOS::Location::NotificationNapi
|