Searched refs:oldRequest (Results 1 – 8 of 8) sorted by relevance
149 sptr<NotificationRequest> oldRequest = new (std::nothrow) NotificationRequest(); variable150 oldRequest->SetSlotType(slotType);157 oldRequest->SetContent(content);161 ErrCode ret = advancedNotificationService_->FillRequestByKeys(oldRequest, keys, newRequest);233 sptr<NotificationRequest> oldRequest = new (std::nothrow) NotificationRequest(); variable234 oldRequest->SetSlotType(slotType);242 oldRequest->SetContent(content);243 oldRequest->SetNotificationId(notificationId);245 oldRequest->SetLabel(label);247 auto record = advancedNotificationService_->MakeNotificationRecord(oldRequest, bundle);
212 sptr<NotificationRequest> oldRequest = new (std::nothrow) NotificationRequest(); variable213 oldRequest->SetSlotType(slotType);214 oldRequest->SetNotificationId(1);220 oldRequest->SetContent(oldContent);222 advancedNotificationService_->FillLockScreenPicture(newRequest, oldRequest);
2401 auto oldContent = oldRequest->GetContent()->GetNotificationContent(); in CheckVersion()2425 if ((oldRequest != nullptr) && oldRequest->IsCommonLiveView()) { in CheckNotificationRequest()2437 if (oldRequest == nullptr) { in CheckNotificationRequest()2446 if (!oldRequest->IsCommonLiveView()) { in CheckNotificationRequest()2448 oldRequest->GetSlotType(), oldRequest->GetNotificationType()); in CheckNotificationRequest()2467 return CheckVersion(oldRequest); in CheckNotificationRequest()2472 if (!IsCommonLiveView() || (oldRequest == nullptr)) { in FillMissingParameters()2476 updateDeadLine_ = oldRequest->updateDeadLine_; in FillMissingParameters()2477 finishDeadLine_ = oldRequest->finishDeadLine_; in FillMissingParameters()2479 autoDeletedTime_ = oldRequest->autoDeletedTime_; in FillMissingParameters()[all …]
1250 ErrCode CheckNotificationRequest(const sptr<NotificationRequest> &oldRequest) const;1257 void FillMissingParameters(const sptr<NotificationRequest> &oldRequest);1447 ErrCode CheckVersion(const sptr<NotificationRequest> &oldRequest) const;
448 const sptr<NotificationRequest> &oldRequest) in FillLockScreenPicture() argument450 if (oldRequest->GetContent() == nullptr || in FillLockScreenPicture()454 if (oldRequest->GetContent()->GetNotificationContent() == nullptr || in FillLockScreenPicture()462 auto oldContent = oldRequest->GetContent()->GetNotificationContent(); in FillLockScreenPicture()
1359 auto oldRequest = item->notification->GetNotificationRequest(); in GetFromNotificationList() local1360 if (oldRequest.GetOwnerUid() == ownerUid && in GetFromNotificationList()1361 oldRequest.GetNotificationId() == notificationId && in GetFromNotificationList()1362 oldRequest.IsSystemLiveView() && oldRequest.IsUpdateByOwnerAllowed()) { in GetFromNotificationList()
226 ErrCode AdvancedNotificationService::FillRequestByKeys(const sptr<NotificationRequest> &oldRequest, in FillRequestByKeys() argument230 oldRequest->GetContent()->GetNotificationContent()); in FillRequestByKeys()233 newRequest = sptr<NotificationRequest>::MakeSptr(*(oldRequest)); in FillRequestByKeys()
1389 ErrCode FillRequestByKeys(const sptr<NotificationRequest> &oldRequest,1406 const sptr<NotificationRequest> &oldRequest);