Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/distributed/test/unittest/
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();
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_publish.cpp53 asynccallbackinfo->request.GetNotificationId(), in NapiPublish()
127 asynccallbackinfo->request.GetNotificationId(), in NapiShowNotification()
194 asynccallbackinfo->request.GetNotificationId(), in NapiPublishAsBundle()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp116 … GTEST_LOG_(INFO) << "OnConsumed notificationId : " << notificationRequest.GetNotificationId(); in OnConsumed()
117 if (CASE_ONE == notificationRequest.GetNotificationId()) { in OnConsumed()
119 } else if (CASE_TWO == notificationRequest.GetNotificationId()) { in OnConsumed()
121 } else if (CASE_THREE == notificationRequest.GetNotificationId()) { in OnConsumed()
123 } else if (CASE_FOUR == notificationRequest.GetNotificationId()) { in OnConsumed()
125 } else if (CASE_FIVE == notificationRequest.GetNotificationId()) { in OnConsumed()
127 } else if (CASE_SIX == notificationRequest.GetNotificationId()) { in OnConsumed()
129 } else if (CASE_SEVEN == notificationRequest.GetNotificationId()) { in OnConsumed()
131 } else if (CASE_EIGHT == notificationRequest.GetNotificationId()) { in OnConsumed()
133 } else if (CASE_NINE == notificationRequest.GetNotificationId()) { in OnConsumed()
[all …]
Dans_fw_module_test.cpp376 .append(ToString(req.GetNotificationId())); in GenerateDistributedKey()
396 … if (notification->GetNotificationRequest().GetNotificationId() == req.GetNotificationId() && in GetRequestInNotificationList()
1810 …ASSERT_EQ(NotificationHelper::CancelNotification(request.GetLabel(), request.GetNotificationId()),…
1838 request.SetNotificationId(request.GetNotificationId() + 1);
1873 …NotificationHelper::RemoveNotification(bundleOption, request.GetNotificationId(), request.GetLabel…
1901 request.SetNotificationId(request.GetNotificationId() + 1);
1934 request.SetNotificationId(request.GetNotificationId() + 1);
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/
Dreminderrequestannex_fuzzer.cpp43 reminderRequest.GetNotificationId(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/
Dnotificationrequest_fuzzer.cpp40 request.GetNotificationId(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dpublish.cpp127 asynccallbackinfo->request.GetNotificationId(), in Publish()
335 asynccallbackinfo->request.GetNotificationId(), in ShowNotification()
471 asynccallbackinfo->request.GetNotificationId(), in PublishAsBundle()
Dsubscribe.cpp207 …I("OnCanceled NotificationId = %{public}d", request->GetNotificationRequest().GetNotificationId()); in OnCanceled()
Dcommon.cpp409 napi_create_int32(env, request->GetNotificationId(), &value); in SetNotificationRequestByNumber()
1519 if (GetNotificationId(env, value, request) == nullptr) { in GetNotificationRequestByNumber()
1680 napi_value Common::GetNotificationId(const napi_env &env, const napi_value &value, NotificationRequ… in GetNotificationId() function in OHOS::NotificationNapi::Common
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_notification_manager_branch_test/
Ddistributed_notification_manager_branch_test.cpp247 int32_t id = request->GetNotificationId();
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification.cpp125 return request_->GetNotificationId(); in GetId()
Dreminder_request.cpp773 int32_t ReminderRequest::GetNotificationId() const in GetNotificationId() function in OHOS::Notification::ReminderRequest
1756 values.PutInt(NOTIFICATION_ID, reminder->GetNotificationId()); in AppendValuesBucket()
Dnotification_request.cpp107 int32_t NotificationRequest::GetNotificationId() const in GetNotificationId() function in OHOS::Notification::NotificationRequest
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request.h222 int32_t GetNotificationId() const;
Dnotification_request.h226 int32_t GetNotificationId() const;
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_data_manager.cpp206 notification->GetNotificationId(), ReminderRequest::NOTIFICATION_LABEL, bundleOption); in CancelNotification()
1013 int32_t notificationId = reminder->GetNotificationId(); in HandleSameNotificationIdShowing()
1035 …if (notificationId == (*it)->GetNotificationId() && IsBelongToSameApp(bundleOption, mit->second)) { in HandleSameNotificationIdShowing()
Dadvanced_notification_service.cpp4272 eventInfo.notificationId = request->GetNotificationId(); in SendPublishHiSysEvent()
4361 eventInfo.notificationId = record->request->GetNotificationId(); in SendFlowControlOccurHiSysEvent()
4624 jsonObject["notifyId"] = request->GetNotificationId(); in PushCheck()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dcommon.h629 …static napi_value GetNotificationId(const napi_env &env, const napi_value &value, NotificationRequ…
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dpublish.cpp618 napi_create_int32(env, reminder.GetNotificationId(), &value); in SetValidReminder()
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_service_test.cpp1664 << req->GetLabel() << "_" << req->GetNotificationId();
2052 << req->GetLabel() << "_" << req->GetNotificationId();
2090 << req->GetLabel() << "_" << req->GetNotificationId();
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dreminder_request_test.cpp316 EXPECT_EQ(rrc->GetNotificationId(), notificationId);