/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_request.cpp | 63 NotificationRequest::NotificationRequest(const NotificationRequest &other) in NotificationRequest() function in OHOS::Notification::NotificationRequest 69 NotificationRequest &NotificationRequest::operator=(const NotificationRequest &other) in operator =() 77 NotificationRequest::~NotificationRequest() in ~NotificationRequest() 423 void NotificationRequest::SetGroupAlertType(NotificationRequest::GroupAlertType type) in SetGroupAlertType() 428 NotificationRequest::GroupAlertType NotificationRequest::GetGroupAlertType() const in GetGroupAlertType() 549 void NotificationRequest::SetBadgeIconStyle(NotificationRequest::BadgeStyle style) in SetBadgeIconStyle() 554 NotificationRequest::BadgeStyle NotificationRequest::GetBadgeIconStyle() const in GetBadgeIconStyle() 847 NotificationRequest *NotificationRequest::FromJson(const nlohmann::json &jsonObject) in FromJson() 1428 NotificationRequest *NotificationRequest::Unmarshalling(Parcel &parcel) in Unmarshalling() 1846 void NotificationRequest::CopyBase(const NotificationRequest &other) in CopyBase() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_test.cpp | 114 sptr<NotificationRequest> request = new NotificationRequest(1); 288 sptr<NotificationRequest> request = new NotificationRequest(); 302 sptr<NotificationRequest> request = new NotificationRequest(); 338 sptr<NotificationRequest> request = new NotificationRequest(); 353 sptr<NotificationRequest> request = new NotificationRequest(); 369 sptr<NotificationRequest> request = new NotificationRequest(); 392 sptr<NotificationRequest> request = new NotificationRequest(); 487 sptr<NotificationRequest> request = new NotificationRequest(1); 504 sptr<NotificationRequest> request = new NotificationRequest(1); 538 sptr<NotificationRequest> request = new NotificationRequest(); [all …]
|
H A D | notification_request_test.cpp | 466 …Notification::NotificationRequest* target = new Notification::NotificationRequest(myNotificationId… in HWTEST_F() 637 sptr<NotificationRequest> oldNotificationRequest(new (std::nothrow) NotificationRequest()); in HWTEST_F() 660 sptr<NotificationRequest> oldNotificationRequest(new (std::nothrow) NotificationRequest()); in HWTEST_F() 687 sptr<NotificationRequest> oldNotificationRequest(new (std::nothrow) NotificationRequest()); in HWTEST_F() 715 sptr<NotificationRequest> oldNotificationRequest(new (std::nothrow) NotificationRequest()); in HWTEST_F() 744 sptr<NotificationRequest> oldNotificationRequest(new (std::nothrow) NotificationRequest()); in HWTEST_F() 773 sptr<NotificationRequest> oldNotificationRequest(new (std::nothrow) NotificationRequest()); in HWTEST_F() 801 sptr<NotificationRequest> oldNotificationRequest(new (std::nothrow) NotificationRequest()); in HWTEST_F() 861 sptr<NotificationRequest> oldNotificationRequest(new (std::nothrow) NotificationRequest()); in HWTEST_F() 883 sptr<NotificationRequest> oldNotificationRequest(new (std::nothrow) NotificationRequest()); in HWTEST_F() [all …]
|
/ohos5.0/base/location/frameworks/js/napi/notification/include/ |
H A D | notification_napi.h | 233 const napi_env &env, const napi_value &value, NotificationRequest &request); 244 const napi_env &env, const napi_value &value, NotificationRequest &request); 255 const napi_env &env, const napi_value &value, NotificationRequest &request); 266 const napi_env &env, const napi_value &value, NotificationRequest &request); 277 const napi_env &env, const napi_value &value, NotificationRequest &request); 298 const napi_env &env, const napi_value &value, NotificationRequest &request); 309 const napi_env &env, const napi_value &value, NotificationRequest &request); 320 const napi_env &env, const napi_value &value, NotificationRequest &request); 331 const napi_env &env, const napi_value &value, NotificationRequest &request); 342 const napi_env &env, const napi_value &value, NotificationRequest &request); [all …]
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/ |
H A D | mock_notification_helper.cpp | 48 ErrCode NotificationHelper::PublishContinuousTaskNotification(const NotificationRequest &request) in PublishContinuousTaskNotification() 93 …sptr<NotificationRequest> notificationRequest1 = sptr<NotificationRequest>(new NotificationRequest… in GetAllActiveNotifications() 98 …sptr<NotificationRequest> notificationRequest2 = sptr<NotificationRequest>(new NotificationRequest… in GetAllActiveNotifications() 103 …sptr<NotificationRequest> notificationRequest3 = sptr<NotificationRequest>(new NotificationRequest… in GetAllActiveNotifications() 108 …sptr<NotificationRequest> notificationRequest4 = sptr<NotificationRequest>(new NotificationRequest… in GetAllActiveNotifications() 121 …sptr<NotificationRequest> notificationRequest = sptr<NotificationRequest>(new NotificationRequest(… in GetAllActiveNotifications()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 611 const napi_env &env, const napi_value &value, NotificationRequest &request); 622 const napi_env &env, const napi_value &value, NotificationRequest &request); 633 const napi_env &env, const napi_value &value, NotificationRequest &request); 644 const napi_env &env, const napi_value &value, NotificationRequest &request); 655 const napi_env &env, const napi_value &value, NotificationRequest &request); 676 const napi_env &env, const napi_value &value, NotificationRequest &request); 687 const napi_env &env, const napi_value &value, NotificationRequest &request); 698 const napi_env &env, const napi_value &value, NotificationRequest &request); 709 const napi_env &env, const napi_value &value, NotificationRequest &request); 720 const napi_env &env, const napi_value &value, NotificationRequest &request); [all …]
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_request.h | 172 NotificationRequest() = default; 180 explicit NotificationRequest(int32_t notificationId); 187 NotificationRequest(const NotificationRequest &other); 194 NotificationRequest &operator=(const NotificationRequest &other); 196 virtual ~NotificationRequest(); 880 NotificationRequest::BadgeStyle GetBadgeIconStyle() const; 1443 void CopyBase(const NotificationRequest &other); 1444 void CopyOther(const NotificationRequest &other); 1470 uint32_t color_ {NotificationRequest::COLOR_DEFAULT}; 1503 NotificationRequest::GroupAlertType groupAlertType_ {NotificationRequest::GroupAlertType::ALL}; [all …]
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/ |
H A D | advanced_notification_service_publish_test.cpp | 203 sptr<NotificationRequest> req = new NotificationRequest(1); 230 sptr<NotificationRequest> req = new NotificationRequest(1); 258 sptr<NotificationRequest> req = new NotificationRequest(); 286 sptr<NotificationRequest> req = new NotificationRequest(); 315 sptr<NotificationRequest> req = new NotificationRequest(); 343 sptr<NotificationRequest> req = new NotificationRequest(); 370 sptr<NotificationRequest> req = new NotificationRequest(); 397 sptr<NotificationRequest> req = new NotificationRequest(); 424 sptr<NotificationRequest> req = new NotificationRequest(); 451 sptr<NotificationRequest> req = new NotificationRequest(); [all …]
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/ |
H A D | distributed_notification_manager_test.cpp | 63 sptr<NotificationRequest> request = new NotificationRequest(1000); 80 sptr<NotificationRequest> request = new NotificationRequest(1000); 97 sptr<NotificationRequest> request = new NotificationRequest(1000); 114 sptr<NotificationRequest> request = new NotificationRequest(1000); 131 sptr<NotificationRequest> request = new NotificationRequest(1000); 148 sptr<NotificationRequest> request = new NotificationRequest(1000); 167 sptr<NotificationRequest> request = new NotificationRequest(1000); 224 std::vector<sptr<NotificationRequest>> requestList; 340 sptr<NotificationRequest> request = new NotificationRequest(1); 353 sptr<NotificationRequest> request = new NotificationRequest(1000); [all …]
|
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/ |
H A D | ans_module_test.cpp | 146 sptr<NotificationRequest> req = new NotificationRequest(0); 148 sptr<NotificationRequest> req1 = new NotificationRequest(1); 150 sptr<NotificationRequest> req2 = new NotificationRequest(2); 192 sptr<NotificationRequest> req = new NotificationRequest(0); 247 sptr<NotificationRequest> req = new NotificationRequest(0); 248 sptr<NotificationRequest> req1 = new NotificationRequest(1); 287 sptr<NotificationRequest> req = new NotificationRequest(0); 341 sptr<NotificationRequest> req = new NotificationRequest(0); 382 sptr<NotificationRequest> req = new NotificationRequest(0); 422 sptr<NotificationRequest> req = new NotificationRequest(0); [all …]
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_live_view_service_test.cpp | 106 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 139 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 182 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 205 sptr<NotificationRequest> newRequest = new (std::nothrow) NotificationRequest(); 212 sptr<NotificationRequest> oldRequest = new (std::nothrow) NotificationRequest(); 235 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 259 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 285 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 318 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest();
|
H A D | advanced_notification_publish_service_test.cpp | 88 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); in TestAddNotification() 120 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 144 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 170 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 201 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 217 sptr<NotificationRequest> request2 = new (std::nothrow) NotificationRequest(); 240 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 266 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); 614 sptr<NotificationRequest> req = new (std::nothrow) NotificationRequest(); 659 sptr<NotificationRequest> req = new (std::nothrow) NotificationRequest(); [all …]
|
H A D | advanced_notification_service_test.cpp | 451 sptr<NotificationRequest> request(new NotificationRequest()); 971 sptr<NotificationRequest> req = new NotificationRequest(); 986 sptr<NotificationRequest> req = new NotificationRequest(); 1056 sptr<NotificationRequest> req = new NotificationRequest(); 1070 sptr<NotificationRequest> req = new NotificationRequest(); 1085 sptr<NotificationRequest> req = new NotificationRequest(); 1100 sptr<NotificationRequest> req = new NotificationRequest(); 1115 sptr<NotificationRequest> req = new NotificationRequest(); 1210 sptr<NotificationRequest> req = new NotificationRequest(); 1956 sptr<NotificationRequest> req = new NotificationRequest(); [all …]
|
H A D | notification_hisysevent_test.cpp | 90 sptr<NotificationRequest> request = nullptr; in HWTEST_F() 115 sptr<NotificationRequest> request = nullptr; in HWTEST_F() 145 sptr<NotificationRequest> request = nullptr; in HWTEST_F() 171 sptr<NotificationRequest> request = nullptr; in HWTEST_F() 195 sptr<NotificationRequest> request = nullptr; in HWTEST_F() 233 sptr<NotificationRequest> request = nullptr; in HWTEST_F() 263 sptr<NotificationRequest> request = nullptr; in HWTEST_F() 288 sptr<NotificationRequest> request = nullptr; in HWTEST_F() 314 sptr<NotificationRequest> request = nullptr; in HWTEST_F() 340 sptr<NotificationRequest> request = nullptr; in HWTEST_F() [all …]
|
H A D | advanced_notification_utils_test.cpp | 129 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest(); in TestAddNotification() 149 sptr<NotificationRequest> oldRequest = new (std::nothrow) NotificationRequest(); 160 sptr<NotificationRequest> newRequest; 196 sptr<NotificationRequest> newRequest; 213 sptr<NotificationRequest> newRequest; 233 sptr<NotificationRequest> oldRequest = new (std::nothrow) NotificationRequest(); 256 sptr<NotificationRequest> newRequest; 278 sptr<NotificationRequest> request = new (std::nothrow) NotificationRequest();
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 59 sptr<NotificationRequest> request {nullptr}; 1098 void SetRequestBySlotType(const sptr<NotificationRequest> &request, 1268 void TriggerRemoveWantAgent(const sptr<NotificationRequest> &request); 1321 ErrCode PrePublishRequest(const sptr<NotificationRequest> &request); 1323 bool IsNeedPushCheck(const sptr<NotificationRequest> &request); 1324 void FillExtraInfoToJson(const sptr<NotificationRequest> &request, 1326 ErrCode PushCheck(const sptr<NotificationRequest> &request); 1351 bool IsLiveViewCanRecover(const sptr<NotificationRequest> request); 1386 void FillActionButtons(const sptr<NotificationRequest> &request); 1395 bool IsNeedNotifyConsumed(const sptr<NotificationRequest> &request); [all …]
|
H A D | base_publish_process.h | 27 …virtual ErrCode PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllow… 28 virtual ErrCode PublishNotificationByApp(const sptr<NotificationRequest> &request) = 0; 29 ErrCode CommonPublishCheck(const sptr<NotificationRequest> &request); 30 ErrCode CommonPublishProcess(const sptr<NotificationRequest> &request);
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-notification.md | 177 |type有变化|类名:NotificationRequest;<br>方法or属性:id?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性… 179 |type有变化|类名:NotificationRequest;<br>方法or属性:isOngoing?: boolean;<br>旧版本信息:|类名:NotificationRequest;<b… 181 |type有变化|类名:NotificationRequest;<br>方法or属性:deliveryTime?: number;<br>旧版本信息:|类名:NotificationRequest;… 186 |type有变化|类名:NotificationRequest;<br>方法or属性:color?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法o… 188 |type有变化|类名:NotificationRequest;<br>方法or属性:isAlertOnce?: boolean;<br>旧版本信息:|类名:NotificationRequest;… 189 |type有变化|类名:NotificationRequest;<br>方法or属性:isStopwatch?: boolean;<br>旧版本信息:|类名:NotificationRequest;… 192 |type有变化|类名:NotificationRequest;<br>方法or属性:label?: string;<br>旧版本信息:|类名:NotificationRequest;<br>方法o… 198 |type有变化|类名:NotificationRequest;<br>方法or属性:groupName?: string;<br>旧版本信息:|类名:NotificationRequest;<br… 212 |type有变化|类名:NotificationRequest;<br>方法or属性:badgeNumber?: number;<br>旧版本信息:|类名:NotificationRequest;<… 236 …request: NotificationRequest;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly request: Noti… [all …]
|
H A D | js-apidiff-resource-scheduler.md | 5 … NotificationRequest): Promise\<void>;<br>旧版本信息:|类名:particleAbility;<br>方法or属性:function startBackg… 7 … NotificationRequest): Promise\<void>;<br>旧版本信息:|类名:particleAbility;<br>方法or属性:function startBackg… 8 … NotificationRequest): Promise\<void>;<br>旧版本信息:|类名:particleAbility;<br>方法or属性:function startBackg…
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/ |
H A D | publishnotification_fuzzer.cpp | 29 Notification::NotificationRequest request; in DoSomethingInterestingWithMyAPI() 33 Notification::NotificationRequest::BadgeStyle badgeStyle = in DoSomethingInterestingWithMyAPI() 34 Notification::NotificationRequest::BadgeStyle(style); in DoSomethingInterestingWithMyAPI() 64 Notification::NotificationRequest::GroupAlertType groupAlertType = in DoSomethingInterestingWithMyAPI() 65 Notification::NotificationRequest::GroupAlertType(color); in DoSomethingInterestingWithMyAPI() 80 …sptr<Notification::NotificationRequest> requester = new Notification::NotificationRequest(request); in DoSomethingInterestingWithMyAPI() 81 std::vector<sptr<Notification::NotificationRequest>> requested; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/reminder_request_branch_test/ |
H A D | reminder_request_branch_test.cpp | 181 reminderRequest->notificationRequest_ = new (std::nothrow) NotificationRequest(notificationId_); 199 reminderRequest->notificationRequest_ = new (std::nothrow) NotificationRequest(notificationId_); 217 reminderRequest->notificationRequest_ = new (std::nothrow) NotificationRequest(notificationId_); 236 reminderRequest->notificationRequest_ = new (std::nothrow) NotificationRequest(notificationId_); 255 reminderRequest->notificationRequest_ = new (std::nothrow) NotificationRequest(notificationId_); 289 reminderRequest->notificationRequest_ = new (std::nothrow) NotificationRequest(notificationId_); 313 reminderRequest->notificationRequest_ = new (std::nothrow) NotificationRequest(notificationId_); 341 reminderRequest->notificationRequest_ = new (std::nothrow) NotificationRequest(notificationId); 366 reminderRequest->notificationRequest_ = new (std::nothrow) NotificationRequest(notificationId_); 391 reminderRequest->notificationRequest_ = new (std::nothrow) NotificationRequest(notificationIds); [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_manager_impl.cpp | 177 NotificationRequest &request) in GetNotificationBasicContent() 194 NotificationRequest &request) in GetNotificationLongTextContent() 212 NotificationRequest &request) in GetNotificationPictureContent() 251 NotificationRequest &request) in GetNotificationMultiLineContent() 400 static bool GetNotificationSlotType(int32_t slotType, NotificationRequest &request) in GetNotificationSlotType() 410 static bool GetNotificationSmallIcon(int64_t smallIcon, NotificationRequest request) in GetNotificationSmallIcon() 423 static bool GetNotificationLargeIcon(int64_t largeIcon, NotificationRequest request) in GetNotificationLargeIcon() 438 NotificationRequest request) in GetNotificationSupportDisplayDevices() 461 NotificationRequest request) in GetNotificationSupportOperateDevices() 484 NotificationRequest request) in GetNotificationRequestDistributedOptions() [all …]
|
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_convert_request.cpp | 34 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationRequestByNumber() 70 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationRequestByString() 97 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationRequestByBool() 139 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationRequestByCustom() 202 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationRequest() 221 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationSmallIcon() 250 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationLargeIcon() 279 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationOverlayIcon() 308 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationSupportDisplayDevices() 353 const napi_env &env, const napi_value &value, NotificationRequest &request) in GetNotificationSupportOperateDevices() [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-notification.md | 342 |type有变化|类名:NotificationRequest;<br>方法or属性:id?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性… 344 |type有变化|类名:NotificationRequest;<br>方法or属性:isOngoing?: boolean;<br>旧版本信息:|类名:NotificationRequest;<b… 346 |type有变化|类名:NotificationRequest;<br>方法or属性:deliveryTime?: number;<br>旧版本信息:|类名:NotificationRequest;… 351 |type有变化|类名:NotificationRequest;<br>方法or属性:color?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法o… 353 |type有变化|类名:NotificationRequest;<br>方法or属性:isAlertOnce?: boolean;<br>旧版本信息:|类名:NotificationRequest;… 354 |type有变化|类名:NotificationRequest;<br>方法or属性:isStopwatch?: boolean;<br>旧版本信息:|类名:NotificationRequest;… 357 |type有变化|类名:NotificationRequest;<br>方法or属性:label?: string;<br>旧版本信息:|类名:NotificationRequest;<br>方法o… 363 |type有变化|类名:NotificationRequest;<br>方法or属性:groupName?: string;<br>旧版本信息:|类名:NotificationRequest;<br… 377 |type有变化|类名:NotificationRequest;<br>方法or属性:badgeNumber?: number;<br>旧版本信息:|类名:NotificationRequest;<… 401 …request: NotificationRequest;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly request: Noti… [all …]
|
/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 | 38 …const std::string &deviceId, const std::string &bundleName, sptr<NotificationRequest> &request) {}; in OnPublish() 40 …const std::string &deviceId, const std::string &bundleName, sptr<NotificationRequest> &request) {}; in OnUpdate() 135 sptr<NotificationRequest> request = nullptr; 167 sptr<NotificationRequest> request = nullptr; 215 sptr<NotificationRequest> request = nullptr; 230 sptr<NotificationRequest> request = nullptr; 242 sptr<NotificationRequest> request = new NotificationRequest(1000); 289 std::vector<sptr<NotificationRequest>> requestList; 302 std::vector<sptr<NotificationRequest>> requestList;
|