/base/notification/distributed_notification_service/services/distributed/test/unittest/ |
H A D | distributed_notification_manager_test.cpp | 68 int32_t id = request->GetNotificationId(); in HWTEST_F() 85 int32_t id = request->GetNotificationId(); in HWTEST_F() 102 int32_t id = request->GetNotificationId(); in HWTEST_F() 119 int32_t id = request->GetNotificationId(); in HWTEST_F() 136 int32_t id = request->GetNotificationId(); in HWTEST_F() 154 int32_t id = request->GetNotificationId(); in HWTEST_F() 172 int32_t id = request->GetNotificationId(); in HWTEST_F() 370 int32_t id = request->GetNotificationId(); in HWTEST_F()
|
/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()
|
/base/notification/distributed_notification_service/services/ans/src/ |
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 | advanced_notification_live_view_service.cpp | 258 BundleName(request->GetCreatorBundleName()).NotificationId(request->GetNotificationId()); in SetNotificationRequestToDb() 262 request->GetCreatorBundleName().c_str(), request->GetNotificationId()); in SetNotificationRequestToDb() 269 bundleOption->GetBundleName().c_str(), request->GetNotificationId()); in SetNotificationRequestToDb() 284 request->GetCreatorBundleName().c_str(), request->GetNotificationId(), request->GetKey().c_str(), result); in SetNotificationRequestToDb() 534 request.GetNotificationId(), request.GetPublishDelayTime()); in UpdateInDelayNotificationList() 546 request.GetOwnerUid(), request.GetNotificationId(), request.GetPublishDelayTime()); in AddToDelayNotificationList() 650 auto oldRecord = GetFromDelayedNotificationList(ownerUid, request->GetNotificationId()); in IsUpdateSystemLiveviewByOwner() 661 oldRecord = GetFromNotificationList(ownerUid, request->GetNotificationId()); in IsUpdateSystemLiveviewByOwner() 694 auto notificationId = record->notification->GetNotificationRequest().GetNotificationId(); in UpdateRecordByOwner()
|
H A D | reminder_data_manager_inner.cpp | 98 if (reminder->GetUid() != uid || notificationId != reminder->GetNotificationId() || in HandleAutoDeleteReminder()
|
H A D | reminder_event_manager.cpp | 332 int32_t notificationId = request.GetNotificationId(); in OnCanceled()
|
H A D | advanced_notification_service.cpp | 1372 oldRequest.GetNotificationId() == notificationId && in GetFromNotificationList() 1388 delayRequest.GetNotificationId() == notificationId && in GetFromDelayedNotificationList() 2128 jsonObject["notifyId"] = request->GetNotificationId(); in PushCheck()
|
H A D | reminder_data_manager.cpp | 324 advancedNotificationService_->CancelPreparedNotification(notification->GetNotificationId(), in CancelNotification() 1352 int32_t notificationId = reminder->GetNotificationId(); in HandleSameNotificationIdShowing() 1374 if (notificationId == (*it)->GetNotificationId() && IsBelongToSameApp(bundleOption, option1)) { in HandleSameNotificationIdShowing()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/ |
H A D | notificationrequest_fuzzer.cpp | 40 request.GetNotificationId();
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/ |
H A D | reminderrequestannex_fuzzer.cpp | 43 reminderRequest.GetNotificationId();
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_publish_test.cpp | 150 GTEST_LOG_(INFO) << "OnConsumed notificationId : " << notificationRequest.GetNotificationId(); 151 if (CASE_ONE == notificationRequest.GetNotificationId()) { 153 } else if (CASE_TWO == notificationRequest.GetNotificationId()) { 155 } else if (CASE_THREE == notificationRequest.GetNotificationId()) { 157 } else if (CASE_FOUR == notificationRequest.GetNotificationId()) { 159 } else if (CASE_FIVE == notificationRequest.GetNotificationId()) { 161 } else if (CASE_SIX == notificationRequest.GetNotificationId()) { 163 } else if (CASE_SEVEN == notificationRequest.GetNotificationId()) { 165 } else if (CASE_EIGHT == notificationRequest.GetNotificationId()) { 167 } else if (CASE_NINE == notificationRequest.GetNotificationId()) { [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()), ERR_OK); in HWTEST_F() 1845 request.SetNotificationId(request.GetNotificationId() + 1); in HWTEST_F() 1880 NotificationHelper::RemoveNotification(bundleOption, request.GetNotificationId(), request.GetLabel()), ERR_OK); in HWTEST_F() 1908 request.SetNotificationId(request.GetNotificationId() + 1); in HWTEST_F() 1941 request.SetNotificationId(request.GetNotificationId() + 1); in HWTEST_F()
|
/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, NotificationRequest &request) in GetNotificationId() function in OHOS::NotificationNapi::Common
|
/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();
in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_request_test.cpp | 825 EXPECT_EQ(notificationRequest.GetNotificationId(), myNotificationId);
in HWTEST_F() 844 EXPECT_EQ(notificationRequest.GetNotificationId(), myNotificationId);
in HWTEST_F() 867 EXPECT_EQ(notificationRequest.GetNotificationId(), myNotificationId);
in HWTEST_F()
|
H A D | notification_test.cpp | 135 EXPECT_EQ(rrc->GetNotificationRequestPoint()->GetNotificationId(), notificationId);
in HWTEST_F()
|
/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 2466 GetNotificationId(), oldLiveView->GetVersion(), liveView->GetVersion()); in CheckVersion() 2472 GetNotificationId(), oldLiveView->GetVersion(), liveView->GetVersion()); in CheckVersion() 2496 GetCreatorBundleName().c_str(), GetNotificationId()); in CheckNotificationRequest() 2510 GetCreatorBundleName().c_str(), GetNotificationId()); in CheckNotificationRequest() 2519 GetCreatorBundleName().c_str(), GetNotificationId()); in CheckNotificationRequest()
|
H A D | notification.cpp | 132 return request_->GetNotificationId(); in GetId()
|
/base/notification/distributed_notification_service/services/ans/src/common/ |
H A D | notification_analytics_util.cpp | 199 want.SetParam("id", request->GetNotificationId()); in ReportNotificationEvent()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | reminder_request.h | 349 int32_t GetNotificationId() const;
|
H A D | notification_request.h | 270 int32_t GetNotificationId() const;
|
/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, NotificationRequest &request);
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 663 static napi_value GetNotificationId(const napi_env &env, const napi_value &value, NotificationRequest &request);
|
/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
|