Home
last modified time | relevance | path

Searched refs:oldRequest (Results 1 - 8 of 8) sorted by relevance

/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_utils_test.cpp149 sptr<NotificationRequest> oldRequest = new (std::nothrow) NotificationRequest(); in HWTEST_F() local
150 oldRequest->SetSlotType(slotType); in HWTEST_F()
157 oldRequest->SetContent(content); in HWTEST_F()
161 ErrCode ret = advancedNotificationService_->FillRequestByKeys(oldRequest, keys, newRequest); in HWTEST_F()
233 sptr<NotificationRequest> oldRequest = new (std::nothrow) NotificationRequest(); in HWTEST_F() local
234 oldRequest->SetSlotType(slotType); in HWTEST_F()
242 oldRequest->SetContent(content); in HWTEST_F()
243 oldRequest->SetNotificationId(notificationId); in HWTEST_F()
245 oldRequest->SetLabel(label); in HWTEST_F()
247 auto record = advancedNotificationService_->MakeNotificationRecord(oldRequest, bundl in HWTEST_F()
[all...]
H A Dadvanced_notification_live_view_service_test.cpp212 sptr<NotificationRequest> oldRequest = new (std::nothrow) NotificationRequest(); in HWTEST_F() local
213 oldRequest->SetSlotType(slotType); in HWTEST_F()
214 oldRequest->SetNotificationId(1); in HWTEST_F()
220 oldRequest->SetContent(oldContent); in HWTEST_F()
222 advancedNotificationService_->FillLockScreenPicture(newRequest, oldRequest); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_request.cpp2453 ErrCode NotificationRequest::CheckVersion(const sptr<NotificationRequest> &oldRequest) const in CheckVersion()
2457 auto oldContent = oldRequest->GetContent()->GetNotificationContent(); in CheckVersion()
2478 ErrCode NotificationRequest::CheckNotificationRequest(const sptr<NotificationRequest> &oldRequest) const in CheckNotificationRequest()
2481 if ((oldRequest != nullptr) && oldRequest->IsCommonLiveView()) { in CheckNotificationRequest()
2493 if (oldRequest == nullptr) { in CheckNotificationRequest()
2502 if (!oldRequest->IsCommonLiveView()) { in CheckNotificationRequest()
2504 oldRequest->GetSlotType(), oldRequest->GetNotificationType()); in CheckNotificationRequest()
2514 auto oldContent = oldRequest in CheckNotificationRequest()
2526 FillMissingParameters(const sptr<NotificationRequest> &oldRequest) FillMissingParameters() argument
[all...]
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_request.h1250 ErrCode CheckNotificationRequest(const sptr<NotificationRequest> &oldRequest) const;
1255 * @param oldRequest Indicates the old request.
1257 void FillMissingParameters(const sptr<NotificationRequest> &oldRequest);
1447 ErrCode CheckVersion(const sptr<NotificationRequest> &oldRequest) const;
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_live_view_service.cpp451 const sptr<NotificationRequest> &oldRequest) in FillLockScreenPicture()
453 if (oldRequest->GetContent() == nullptr || in FillLockScreenPicture()
457 if (oldRequest->GetContent()->GetNotificationContent() == nullptr || in FillLockScreenPicture()
465 auto oldContent = oldRequest->GetContent()->GetNotificationContent(); in FillLockScreenPicture()
450 FillLockScreenPicture(const sptr<NotificationRequest> &newRequest, const sptr<NotificationRequest> &oldRequest) FillLockScreenPicture() argument
H A Dadvanced_notification_service.cpp1370 auto oldRequest = item->notification->GetNotificationRequest(); in GetFromNotificationList() local
1371 if (oldRequest.GetOwnerUid() == ownerUid && in GetFromNotificationList()
1372 oldRequest.GetNotificationId() == notificationId && in GetFromNotificationList()
1373 oldRequest.IsSystemLiveView() && oldRequest.IsUpdateByOwnerAllowed()) { in GetFromNotificationList()
H A Dadvanced_notification_utils.cpp227 ErrCode AdvancedNotificationService::FillRequestByKeys(const sptr<NotificationRequest> &oldRequest, in FillRequestByKeys() argument
231 oldRequest->GetContent()->GetNotificationContent()); in FillRequestByKeys()
234 newRequest = sptr<NotificationRequest>::MakeSptr(*(oldRequest)); in FillRequestByKeys()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h1375 ErrCode FillRequestByKeys(const sptr<NotificationRequest> &oldRequest,
1393 const sptr<NotificationRequest> &oldRequest);

Completed in 21 milliseconds