Home
last modified time | relevance | path

Searched refs:isUpdateByOwnerAllowed (Results 1 - 7 of 7) sorted by relevance

/base/notification/distributed_notification_service/services/ans/src/advanced_notification_publish/
H A Dlive_publish_process.cpp48 ErrCode LivePublishProcess::PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed) in PublishPreWork() argument
51 if (!CheckLocalLiveViewAllowed(request, isUpdateByOwnerAllowed)) { in PublishPreWork()
66 if (isUpdateByOwnerAllowed && isHap) { in PublishPreWork()
98 const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed, int32_t uid) in CheckLocalLiveViewSubscribed()
101 return GetLiveViewSubscribeState(uid) || isUpdateByOwnerAllowed; in CheckLocalLiveViewSubscribed()
117 const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed) in CheckLocalLiveViewAllowed()
123 return isUpdateByOwnerAllowed; in CheckLocalLiveViewAllowed()
97 CheckLocalLiveViewSubscribed( const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed, int32_t uid) CheckLocalLiveViewSubscribed() argument
116 CheckLocalLiveViewAllowed( const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed) CheckLocalLiveViewAllowed() argument
H A Dbase_publish_process.cpp31 ErrCode BasePublishProcess::PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed) in PublishPreWork() argument
/base/notification/distributed_notification_service/services/ans/include/
H A Dlive_publish_process.h26 ErrCode PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed) override;
31 const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed, int32_t uid);
34 bool CheckLocalLiveViewAllowed(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed);
H A Dbase_publish_process.h27 virtual ErrCode PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed);
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_request.h1393 * @brief Set notification isUpdateByOwnerAllowed value.
1395 * @param isUpdateByOwnerAllowed Indicates the isUpdateByOwnerAllowed value of this notification.
1397 void SetUpdateByOwnerAllowed(bool isUpdateByOwnerAllowed);
1400 * @brief Obtains the value of isUpdateByOwnerAllowed.
1402 * @return Returns the isUpdateByOwnerAllowed value of the notification.
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp109 bool isUpdateByOwnerAllowed = IsUpdateSystemLiveviewByOwner(request); in Publish() local
110 ErrCode result = publishProcess_[request->GetSlotType()]->PublishPreWork(request, isUpdateByOwnerAllowed); in Publish()
163 result = PublishPreparedNotification(request, bundleOption, isUpdateByOwnerAllowed); in Publish()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_request.cpp2796 void NotificationRequest::SetUpdateByOwnerAllowed(bool isUpdateByOwnerAllowed) in SetUpdateByOwnerAllowed() argument
2798 isUpdateByOwnerAllowed_ = isUpdateByOwnerAllowed; in SetUpdateByOwnerAllowed()

Completed in 11 milliseconds