Home
last modified time | relevance | path

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

/ohos5.0/base/notification/distributed_notification_service/services/ans/src/advanced_notification_publish/
H A Dlive_publish_process.cpp48 …blishProcess::PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed) in PublishPreWork() argument
51 if (!CheckLocalLiveViewAllowed(request, isUpdateByOwnerAllowed)) { in PublishPreWork()
67 if (isUpdateByOwnerAllowed && isHap) { in PublishPreWork()
100 const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed, int32_t uid) in CheckLocalLiveViewSubscribed() argument
103 return GetLiveViewSubscribeState(uid) || isUpdateByOwnerAllowed; in CheckLocalLiveViewSubscribed()
119 const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed) in CheckLocalLiveViewAllowed() argument
125 return isUpdateByOwnerAllowed; in CheckLocalLiveViewAllowed()
H A Dbase_publish_process.cpp31 …blishProcess::PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed) in PublishPreWork() argument
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dlive_publish_process.h26 …ErrCode PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed) over…
31 const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed, int32_t uid);
34 …l CheckLocalLiveViewAllowed(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed);
H A Dbase_publish_process.h27 …tual ErrCode PublishPreWork(const sptr<NotificationRequest> &request, bool isUpdateByOwnerAllowed);
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_request.h1397 void SetUpdateByOwnerAllowed(bool isUpdateByOwnerAllowed);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp111 bool isUpdateByOwnerAllowed = IsUpdateSystemLiveviewByOwner(request); in Publish() local
112 … result = publishProcess_[request->GetSlotType()]->PublishPreWork(request, isUpdateByOwnerAllowed); in Publish()
162 result = PublishPreparedNotification(request, bundleOption, isUpdateByOwnerAllowed); in Publish()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_request.cpp2740 void NotificationRequest::SetUpdateByOwnerAllowed(bool isUpdateByOwnerAllowed) in SetUpdateByOwnerAllowed() argument
2742 isUpdateByOwnerAllowed_ = isUpdateByOwnerAllowed; in SetUpdateByOwnerAllowed()