Home
last modified time | relevance | path

Searched refs:GetNotificationId (Results 1 - 25 of 31) sorted by relevance

12

/base/notification/distributed_notification_service/services/distributed/test/unittest/
H A Ddistributed_notification_manager_test.cpp68 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 Dnapi_publish.cpp56 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 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 Dadvanced_notification_live_view_service.cpp258 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 Dreminder_data_manager_inner.cpp98 if (reminder->GetUid() != uid || notificationId != reminder->GetNotificationId() || in HandleAutoDeleteReminder()
H A Dreminder_event_manager.cpp332 int32_t notificationId = request.GetNotificationId(); in OnCanceled()
H A Dadvanced_notification_service.cpp1372 oldRequest.GetNotificationId() == notificationId && in GetFromNotificationList()
1388 delayRequest.GetNotificationId() == notificationId && in GetFromDelayedNotificationList()
2128 jsonObject["notifyId"] = request->GetNotificationId(); in PushCheck()
H A Dreminder_data_manager.cpp324 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 Dnotificationrequest_fuzzer.cpp40 request.GetNotificationId(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/
H A Dreminderrequestannex_fuzzer.cpp43 reminderRequest.GetNotificationId(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp150 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 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()), 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 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, 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 Ddistributed_notification_manager_branch_test.cpp247 int32_t id = request->GetNotificationId(); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_request_test.cpp825 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 Dnotification_test.cpp135 EXPECT_EQ(rrc->GetNotificationRequestPoint()->GetNotificationId(), notificationId); in HWTEST_F()
/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
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 Dnotification.cpp132 return request_->GetNotificationId(); in GetId()
/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_analytics_util.cpp199 want.SetParam("id", request->GetNotificationId()); in ReportNotificationEvent()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dreminder_request.h349 int32_t GetNotificationId() const;
H A Dnotification_request.h270 int32_t GetNotificationId() const;
/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h287 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 Dcommon.h663 static napi_value GetNotificationId(const napi_env &env, const napi_value &value, NotificationRequest &request);
/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

Completed in 38 milliseconds

12