Home
last modified time | relevance | path

Searched refs:GetNotificationType (Results 1 – 8 of 8) sorted by relevance

/base/notification/distributed_notification_service/frameworks/core/src/
Dans_notification.cpp170 …if (request.GetContent() == nullptr || request.GetNotificationType() == NotificationContent::Type:… in PublishNotification()
202 if (IsNonDistributedNotificationType(reqPtr->GetNotificationType())) { in PublishNotification()
300 …if (request.GetContent() == nullptr || request.GetNotificationType() == NotificationContent::Type:… in PublishNotificationAsBundle()
332 if (IsNonDistributedNotificationType(reqPtr->GetNotificationType())) { in PublishNotificationAsBundle()
889 …if (request.GetContent() == nullptr || request.GetNotificationType() == NotificationContent::Type:… in PublishContinuousTaskNotification()
923 if (IsNonDistributedNotificationType(sptrReq->GetNotificationType())) { in PublishContinuousTaskNotification()
1113 if (NotificationContent::Type::MEDIA != request.GetNotificationType()) { in CanPublishMediaContent()
Dans_manager_proxy.cpp44 notification->GetNotificationType() == NotificationContent::Type::LOCAL_LIVE_VIEW && in Publish()
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_event_service.cpp89 eventInfo.contentType = static_cast<int32_t>(request->GetNotificationType()); in SendPublishHiSysEvent()
Dadvanced_notification_live_view_service.cpp189 request->GetSlotType(), request->GetNotificationType()); in SetNotificationRequestToDb()
Dadvanced_notification_utils.cpp639 notification->request->GetNotificationType() == contentType) { in GetTargetRecordList()
1658 request->GetNotificationType() == NotificationContent::Type::LOCAL_LIVE_VIEW && in CheckLocalLiveViewSubscribed()
1669 request->GetNotificationType() == NotificationContent::Type::LOCAL_LIVE_VIEW) { in CheckLocalLiveViewAllowed()
Dadvanced_notification_service.cpp1466 NotificationContent::Type contentType = request->GetNotificationType(); in IsNeedPushCheck()
1543 jsonObject["contentType"] = static_cast<int32_t>(request->GetNotificationType()); in PushCheck()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_request.cpp390 NotificationContent::Type NotificationRequest::GetNotificationType() const in GetNotificationType() function in OHOS::Notification::NotificationRequest
2056 GetSlotType(), GetNotificationType()); in CheckNotificationRequest()
2078 oldRequest->GetSlotType(), oldRequest->GetNotificationType()); in CheckNotificationRequest()
2258 auto contentType = GetNotificationType(); in CheckImageSizeForContent()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_request.h602 NotificationContent::Type GetNotificationType() const;