Home
last modified time | relevance | path

Searched refs:allowedNotify (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_reminder_service.cpp101 bool allowedNotify = false; in PublishReminder() local
102 result = IsAllowedNotifySelf(bundleOption, allowedNotify); in PublishReminder()
103 if (!reminder->IsSystemApp() && (result != ERR_OK || !allowedNotify)) { in PublishReminder()
H A Dadvanced_notification_publish_service.cpp884 bool allowedNotify = false; in RequestEnableNotification() local
888 result = IsAllowedNotifySelf(bundleOption, allowedNotify); in RequestEnableNotification()
895 ANS_LOGI("allowedNotify = %{public}d, bundle = %{public}s", allowedNotify, in RequestEnableNotification()
897 if (allowedNotify) { in RequestEnableNotification()
1105 bool allowedNotify = false; in CanPopEnableNotificationDialog() local
1109 result = IsAllowedNotifySelf(bundleOption, allowedNotify); in CanPopEnableNotificationDialog()
1116 ANS_LOGI("allowedNotify = %{public}d", allowedNotify); in CanPopEnableNotificationDialog()
1117 if (allowedNotify) { in CanPopEnableNotificationDialog()