Home
last modified time | relevance | path

Searched refs:SUBSCRIBE_USER_INIT (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_enable.h26 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 Dusb_mass_storage_notification.h28 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 Dnotification_shell_command.cpp159 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 Ddisturb_mode.h32 int32_t userId = SUBSCRIBE_USER_INIT;
38 int32_t userId = SUBSCRIBE_USER_INIT;
H A Ddistributed.h80 int32_t userId = SUBSCRIBE_USER_INIT;
93 int32_t userId = SUBSCRIBE_USER_INIT;
H A Denable_notification.h31 int32_t userId = SUBSCRIBE_USER_INIT;
H A Dremove.h34 int32_t userId = SUBSCRIBE_USER_INIT;
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_utils.cpp776 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 Dnotification_subscriber_manager.cpp45 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 Dsystem_event_observer.cpp114 if (userId <= SUBSCRIBE_USER_INIT) { in OnReceiveEvent()
123 if (userId <= SUBSCRIBE_USER_INIT) { in OnReceiveEvent()
H A Dadvanced_notification_service.cpp134 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 Dadvanced_notification_inline.cpp56 …if (userId != SUBSCRIBE_USER_INIT && !OsAccountManagerHelper::GetInstance().CheckUserExists(userId… in CheckUserIdParams()
H A Dnotification_preferences.cpp449 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 Dnotification_local_live_view_subscriber_manager.cpp40 int32_t userId {SUBSCRIBE_USER_INIT};
H A Dadvanced_notification_publish_service.cpp691 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 Dnotification_preferences_database.cpp835 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 Dadvanced_notification_slot_service.cpp818 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 Dbase_publish_process.cpp44 if (request->GetReceiverUserId() != SUBSCRIBE_USER_INIT) { in CommonPublishCheck()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/common/include/
H A Dans_const_define.h50 constexpr int32_t SUBSCRIBE_USER_INIT = -1; variable
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_request.h1485 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 Dans_notification.cpp1612 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 Dans_manager_stub.cpp2100 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 Ddistributed.cpp618 if (params.userId <= SUBSCRIBE_USER_INIT) { in ParseParameters()
733 if (params.userId <= SUBSCRIBE_USER_INIT) { in ParseParameters()
H A Dpublish.cpp85 int32_t recvUserId = SUBSCRIBE_USER_INIT; in ParseParameters()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_request.cpp1827 if (receiverUserId_ == SUBSCRIBE_USER_INIT) { in GetReceiverUserId()
1828 if (ownerUserId_ == SUBSCRIBE_USER_INIT) { in GetReceiverUserId()

12