Searched refs:isUpdateByOwnerAllowed (Results 1 - 7 of 7) sorted by relevance
/base/notification/distributed_notification_service/services/ans/src/advanced_notification_publish/ |
H A D | live_publish_process.cpp | 48 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 D | base_publish_process.cpp | 31 ErrCode BasePublishProcess::PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed) in PublishPreWork() argument
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | live_publish_process.h | 26 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 D | base_publish_process.h | 27 virtual ErrCode PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed);
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_request.h | 1393 * @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 D | advanced_notification_publish_service.cpp | 109 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 D | notification_request.cpp | 2796 void NotificationRequest::SetUpdateByOwnerAllowed(bool isUpdateByOwnerAllowed) in SetUpdateByOwnerAllowed() argument 2798 isUpdateByOwnerAllowed_ = isUpdateByOwnerAllowed; in SetUpdateByOwnerAllowed()
|
Completed in 11 milliseconds