/ohos5.0/base/notification/distributed_notification_service/frameworks/cj/ffi/include/ |
H A D | notification_enable.h | 26 constexpr int32_t SUBSCRIBE_USER_INIT = -1; variable 31 int32_t userId = SUBSCRIBE_USER_INIT;
|
/ohos5.0/base/usb/usb_manager/services/native/include/ |
H A D | usb_mass_storage_notification.h | 28 constexpr int32_t SUBSCRIBE_USER_INIT = -1; variable 52 int32_t osAccountId = SUBSCRIBE_USER_INIT;
|
/ohos5.0/base/notification/distributed_notification_service/tools/dump/src/ |
H A D | notification_shell_command.cpp | 159 int32_t userId = SUBSCRIBE_USER_INIT; in RunAsDumpCommand() 160 int32_t recvUserId = SUBSCRIBE_USER_INIT; in RunAsDumpCommand() 296 return RunDumpCmd(cmd, "", SUBSCRIBE_USER_INIT, SUBSCRIBE_USER_INIT, infos); in RunAsSettingCommand()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | disturb_mode.h | 32 int32_t userId = SUBSCRIBE_USER_INIT; 38 int32_t userId = SUBSCRIBE_USER_INIT;
|
H A D | distributed.h | 80 int32_t userId = SUBSCRIBE_USER_INIT; 93 int32_t userId = SUBSCRIBE_USER_INIT;
|
H A D | enable_notification.h | 31 int32_t userId = SUBSCRIBE_USER_INIT;
|
H A D | remove.h | 34 int32_t userId = SUBSCRIBE_USER_INIT;
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_utils.cpp | 776 int32_t userId = SUBSCRIBE_USER_INIT; in SetDoNotDisturbDate() 798 int32_t userId = SUBSCRIBE_USER_INIT; in GetDoNotDisturbDate() 821 int32_t userId = SUBSCRIBE_USER_INIT; in AddDoNotDisturbProfiles() 850 int32_t userId = SUBSCRIBE_USER_INIT; in RemoveDoNotDisturbProfiles() 874 int32_t userId = SUBSCRIBE_USER_INIT; in GetDoNotDisturbProfile() 1127 int32_t userId = SUBSCRIBE_USER_INIT; in GetDistributedEnableInApplicationInfo() 1409 if (userId <= SUBSCRIBE_USER_INIT) { in DeleteAllByUserInner() 1535 ShellDump(cmdValue, "", SUBSCRIBE_USER_INIT, SUBSCRIBE_USER_INIT, dumpInfo); in GetDumpInfo() 1690 int32_t userId = SUBSCRIBE_USER_INIT; in PrePublishNotificationBySa() 1703 int32_t ownerUserId = SUBSCRIBE_USER_INIT; in PrePublishNotificationBySa() [all …]
|
H A D | notification_subscriber_manager.cpp | 45 int32_t userId {SUBSCRIBE_USER_INIT}; 95 if (subInfo->GetAppUserId() == SUBSCRIBE_USER_INIT) { in AddSubscriber() 96 int32_t userId = SUBSCRIBE_USER_INIT; in AddSubscriber() 632 int32_t userId = SUBSCRIBE_USER_INIT; in NotifyBadgeEnabledChangedInner() 650 int32_t userId = SUBSCRIBE_USER_INIT; in NotifyEnabledNotificationChangedInner() 667 int32_t userId = SUBSCRIBE_USER_INIT; in SetBadgeNumber()
|
H A D | system_event_observer.cpp | 114 if (userId <= SUBSCRIBE_USER_INIT) { in OnReceiveEvent() 123 if (userId <= SUBSCRIBE_USER_INIT) { in OnReceiveEvent()
|
H A D | advanced_notification_service.cpp | 134 if (request->GetOwnerUserId() != SUBSCRIBE_USER_INIT) { in PrepareNotificationRequest() 143 int32_t userId = SUBSCRIBE_USER_INIT; in PrepareNotificationRequest() 185 int32_t userId = SUBSCRIBE_USER_INIT; in PrepareNotificationRequest() 187 if (request->GetOwnerUserId() != SUBSCRIBE_USER_INIT) { in PrepareNotificationRequest() 209 } else if (request->GetOwnerUserId() != SUBSCRIBE_USER_INIT) { in PrepareNotificationRequest() 228 int32_t userId = SUBSCRIBE_USER_INIT; in PrepareNotificationRequest() 235 if (request->GetOwnerUserId() == SUBSCRIBE_USER_INIT) { in PrepareNotificationRequest() 236 int32_t ownerUserId = SUBSCRIBE_USER_INIT; in PrepareNotificationRequest() 1742 if (userId <= SUBSCRIBE_USER_INIT) { in SetDoNotDisturbDate() 1764 if (userId <= SUBSCRIBE_USER_INIT) { in GetDoNotDisturbDate()
|
H A D | advanced_notification_inline.cpp | 56 …if (userId != SUBSCRIBE_USER_INIT && !OsAccountManagerHelper::GetInstance().CheckUserExists(userId… in CheckUserIdParams()
|
H A D | notification_preferences.cpp | 449 if (userId <= SUBSCRIBE_USER_INIT) { in GetNotificationsEnabled() 463 if (userId <= SUBSCRIBE_USER_INIT) { in SetNotificationsEnabled() 506 if (userId <= SUBSCRIBE_USER_INIT) { in GetDoNotDisturbDate() 523 if (userId <= SUBSCRIBE_USER_INIT) { in SetDoNotDisturbDate()
|
H A D | notification_local_live_view_subscriber_manager.cpp | 40 int32_t userId {SUBSCRIBE_USER_INIT};
|
H A D | advanced_notification_publish_service.cpp | 691 int32_t activeUserId = SUBSCRIBE_USER_INIT; in DeleteAll() 956 int32_t userId = SUBSCRIBE_USER_INIT; in SetNotificationsEnabledForAllBundles() 1063 int32_t userId = SUBSCRIBE_USER_INIT; in IsAllowedNotify() 1194 int32_t userId = SUBSCRIBE_USER_INIT; in IsAllowedNotifySelf() 1224 int32_t userId = SUBSCRIBE_USER_INIT; in IsAllowedNotifyForBundle() 1277 int32_t userId = SUBSCRIBE_USER_INIT; in IsSpecialBundleAllowedNotify() 1306 int32_t userId = SUBSCRIBE_USER_INIT; in PublishContinuousTaskNotification() 1857 int32_t userId = SUBSCRIBE_USER_INIT; in IsNeedSilentInDoNotDisturbMode()
|
H A D | notification_preferences_database.cpp | 835 int32_t currentUserId = SUBSCRIBE_USER_INIT; in HandleDataBaseMap() 1996 int32_t userId = SUBSCRIBE_USER_INIT; in SetSmartReminderEnabled() 1998 if (userId == SUBSCRIBE_USER_INIT) { in SetSmartReminderEnabled() 2012 int32_t userId = SUBSCRIBE_USER_INIT; in IsSmartReminderEnabled() 2014 if (userId == SUBSCRIBE_USER_INIT) { in IsSmartReminderEnabled()
|
H A D | advanced_notification_slot_service.cpp | 818 result = NotificationPreferences::GetInstance()->SetKvToDb(key, value, SUBSCRIBE_USER_INIT); in SetAdditionConfig()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/advanced_notification_publish/ |
H A D | base_publish_process.cpp | 44 if (request->GetReceiverUserId() != SUBSCRIBE_USER_INIT) { in CommonPublishCheck()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/common/include/ |
H A D | ans_const_define.h | 50 constexpr int32_t SUBSCRIBE_USER_INIT = -1; variable
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_request.h | 1485 int32_t creatorUserId_ {SUBSCRIBE_USER_INIT}; 1486 int32_t ownerUserId_ {SUBSCRIBE_USER_INIT}; 1487 int32_t receiverUserId_ {SUBSCRIBE_USER_INIT};
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_notification.cpp | 1612 if (userId <= SUBSCRIBE_USER_INIT) { in IsAllowedNotify() 1628 if (userId <= SUBSCRIBE_USER_INIT) { in SetNotificationsEnabledForAllBundles() 1643 if (userId <= SUBSCRIBE_USER_INIT) { in RemoveNotifications() 1660 if (userId <= SUBSCRIBE_USER_INIT) { in SetDoNotDisturbDate() 1683 if (userId <= SUBSCRIBE_USER_INIT) { in GetDoNotDisturbDate() 1772 if (userId <= SUBSCRIBE_USER_INIT) { in SetSyncNotificationEnabledWithoutApp() 1788 if (userId <= SUBSCRIBE_USER_INIT) { in GetSyncNotificationEnabledWithoutApp()
|
H A D | ans_manager_stub.cpp | 2100 int32_t userId = SUBSCRIBE_USER_INIT; in HandleIsSpecialUserAllowedNotifyByUser() 2122 int32_t userId = SUBSCRIBE_USER_INIT; in HandleSetNotificationsEnabledByUser() 2144 int32_t userId = SUBSCRIBE_USER_INIT; in HandleDeleteAllByUser() 2160 int32_t userId = SUBSCRIBE_USER_INIT; in HandleSetDoNotDisturbDateByUser() 2183 int32_t userId = SUBSCRIBE_USER_INIT; in HandleGetDoNotDisturbDateByUser() 2298 int32_t userId = SUBSCRIBE_USER_INIT; in HandleDistributedSetEnabledWithoutApp() 2321 int32_t userId = SUBSCRIBE_USER_INIT; in HandleDistributedGetEnabledWithoutApp()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | distributed.cpp | 618 if (params.userId <= SUBSCRIBE_USER_INIT) { in ParseParameters() 733 if (params.userId <= SUBSCRIBE_USER_INIT) { in ParseParameters()
|
H A D | publish.cpp | 85 int32_t recvUserId = SUBSCRIBE_USER_INIT; in ParseParameters()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_request.cpp | 1827 if (receiverUserId_ == SUBSCRIBE_USER_INIT) { in GetReceiverUserId() 1828 if (ownerUserId_ == SUBSCRIBE_USER_INIT) { in GetReceiverUserId()
|