/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_check_request_test.cpp | 39 NotificationCheckRequest checkRequest; variable 52 NotificationCheckRequest checkRequest; variable 65 NotificationCheckRequest checkRequest; variable 68 checkRequest.SetExtraKeys(vector); 69 auto getVector = checkRequest.GetExtraKeys(); 81 NotificationCheckRequest checkRequest; variable 82 checkRequest.SetUid(1); 83 EXPECT_EQ(1, checkRequest.GetUid()); 95 NotificationCheckRequest checkRequest; variable 98 checkRequest.SetExtraKeys(vector); [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_push.cpp | 89 sptr<NotificationCheckRequest> checkRequest = new NotificationCheckRequest(); in OnRegisterPushCallback() local 90 if (ParseCheckRequest(env, argv[INDEX_ONE], checkRequest) == nullptr) { in OnRegisterPushCallback() 109 NotificationConstant::SlotType outSlotType = checkRequest->GetSlotType(); in OnRegisterPushCallback() 111 … auto result = NotificationHelper::RegisterPushCallback(jsPushCallBack_->AsObject(), checkRequest); in OnRegisterPushCallback() 186 const napi_value &obj, sptr<NotificationCheckRequest> &checkRequest) in ParseCheckRequest() argument 206 checkRequest->SetContentType(outContentType); in ParseCheckRequest() 218 checkRequest->SetSlotType(outSlotType); in ParseCheckRequest() 226 checkRequest->SetExtraKeys(extraInfoKeys); in ParseCheckRequest()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/manager/ |
H A D | napi_push.h | 39 const napi_value &obj, sptr<NotificationCheckRequest> &checkRequest);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 690 sptr<NotificationCheckRequest> checkRequest = new (std::nothrow) NotificationCheckRequest(); variable 691 ErrCode ret = ansNotification->RegisterPushCallback(pushCallback, checkRequest); 707 sptr<NotificationCheckRequest> checkRequest = new (std::nothrow) NotificationCheckRequest(); variable 708 ansNotification->RegisterPushCallback(pushCallback, checkRequest);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_test.cpp | 2283 sptr<NotificationCheckRequest> checkRequest = new (std::nothrow) NotificationCheckRequest(); variable 2286 … ASSERT_EQ(advancedNotificationService_->RegisterPushCallback(pushCallback, checkRequest), ERR_OK); 2306 sptr<NotificationCheckRequest> checkRequest = new (std::nothrow) NotificationCheckRequest(); variable 2307 ASSERT_EQ(advancedNotificationService_->RegisterPushCallback(pushCallback, checkRequest), 2331 sptr<NotificationCheckRequest> checkRequest = new (std::nothrow) NotificationCheckRequest(); variable 2333 …advancedNotificationService_->pushCallBacks_.insert_or_assign(checkRequest->GetSlotType(), pushCal… 2335 …ASSERT_EQ(advancedNotificationService_->RegisterPushCallback(pushCallback, checkRequest), (int)ERR… 2358 sptr<NotificationCheckRequest> checkRequest = new (std::nothrow) NotificationCheckRequest(); variable 2360 …advancedNotificationService_->pushCallBacks_.insert_or_assign(checkRequest->GetSlotType(), pushCal… 2562 sptr<NotificationCheckRequest> checkRequest = new (std::nothrow) NotificationCheckRequest(); variable [all …]
|
H A D | advanced_notification_publish_service_test.cpp | 104 sptr<NotificationCheckRequest> checkRequest = new (std::nothrow) NotificationCheckRequest(); in RegisterPushCheck() local 105 checkRequest->SetSlotType(NotificationConstant::SlotType::LIVE_VIEW); in RegisterPushCheck() 109 … ASSERT_EQ(advancedNotificationService_->RegisterPushCallback(pushCallback, checkRequest), ERR_OK); in RegisterPushCheck()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_service.cpp | 2004 …const sptr<NotificationRequest> &request, sptr<NotificationCheckRequest> &checkRequest, nlohmann::… in FillExtraInfoToJson() argument 2018 if (checkRequest->GetExtraKeys().size() == 0) { in FillExtraInfoToJson() 2021 for (auto key : checkRequest->GetExtraKeys()) { in FillExtraInfoToJson() 2041 sptr<NotificationCheckRequest> checkRequest = checkRequests_[request->GetSlotType()]; in PushCheck() local 2042 if (request->GetCreatorUid() == checkRequest->GetUid()) { in PushCheck() 2054 FillExtraInfoToJson(request, checkRequest, jsonObject); in PushCheck()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 401 sptr<NotificationCheckRequest> checkRequest = nullptr; variable 402 ErrCode ret1 = ans_->RegisterPushCallback(callback->AsObject(), checkRequest);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 1325 sptr<NotificationCheckRequest> &checkRequest, nlohmann::json &jsonObject);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-notificationManager-sys.md | 3650 on(type: 'checkNotification', checkRequest: NotificationCheckRequest, callback: (checkInfo: Notific… 3667 | checkRequest | [NotificationCheckRequest](js-apis-inner-notification-notificationRequest-sys.md#n…
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/ |
H A D | ans_manager_stub_test.cpp | 5063 sptr<NotificationCheckRequest> checkRequest = nullptr; variable 5067 data.WriteParcelable(checkRequest);
|
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-notificationManager-sys.md | 3650 on(type: 'checkNotification', checkRequest: NotificationCheckRequest, callback: (checkInfo: Notific… 3667 | checkRequest | [NotificationCheckRequest](js-apis-inner-notification-notificationRequest-sys.md#n…
|