Home
last modified time | relevance | path

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

12

/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_enable.h26 constexpr int32_t SUBSCRIBE_USER_INIT = -1; member
31 int32_t userId = SUBSCRIBE_USER_INIT;
/base/usb/usb_manager/services/native/include/
H A Dusb_mass_storage_notification.h28 constexpr int32_t SUBSCRIBE_USER_INIT = -1; member
52 int32_t osAccountId = SUBSCRIBE_USER_INIT;
/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;
/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()
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_utils.cpp372 if (userId != SUBSCRIBE_USER_INIT && userId != record->notification->GetUserId()) { in ActiveNotificationDump()
375 if (recvUserId != SUBSCRIBE_USER_INIT && recvUserId != record->notification->GetRecvUserId()) { in ActiveNotificationDump()
420 if (userId != SUBSCRIBE_USER_INIT && userId != notificationRequest.GetOwnerUserId()) { in RecentNotificationDump()
423 if (recvUserId != SUBSCRIBE_USER_INIT && recvUserId != recentNotification->notification->GetRecvUserId()) { in RecentNotificationDump()
465 if (userId != SUBSCRIBE_USER_INIT && userId != record->notification->GetUserId()) { in DistributedNotificationDump()
468 if (recvUserId != SUBSCRIBE_USER_INIT && recvUserId != record->notification->GetRecvUserId()) { in DistributedNotificationDump()
805 int32_t userId = SUBSCRIBE_USER_INIT; in SetDoNotDisturbDate()
827 int32_t userId = SUBSCRIBE_USER_INIT; in GetDoNotDisturbDate()
850 int32_t userId = SUBSCRIBE_USER_INIT; in AddDoNotDisturbProfiles()
879 int32_t userId = SUBSCRIBE_USER_INIT; in RemoveDoNotDisturbProfiles()
[all...]
H A Dsystem_event_observer.cpp99 if (userId <= SUBSCRIBE_USER_INIT) { in OnReceiveEvent()
110 if (userId <= SUBSCRIBE_USER_INIT) { in OnReceiveEvent()
H A Dnotification_subscriber_manager.cpp44 int32_t userId {SUBSCRIBE_USER_INIT};
91 if (subInfo->GetAppUserId() == SUBSCRIBE_USER_INIT) { in AddSubscriber()
92 int32_t userId = SUBSCRIBE_USER_INIT; in AddSubscriber()
620 int32_t userId = SUBSCRIBE_USER_INIT; in NotifyBadgeEnabledChangedInner()
638 int32_t userId = SUBSCRIBE_USER_INIT; in NotifyEnabledNotificationChangedInner()
655 int32_t userId = SUBSCRIBE_USER_INIT; in SetBadgeNumber()
H A Dadvanced_notification_inline.cpp56 if (userId != SUBSCRIBE_USER_INIT && !OsAccountManagerHelper::GetInstance().CheckUserExists(userId)) { in CheckUserIdParams()
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()
221 int32_t userId = SUBSCRIBE_USER_INIT; in PrepareNotificationRequest()
228 if (request->GetOwnerUserId() == SUBSCRIBE_USER_INIT) { in PrepareNotificationRequest()
229 int32_t ownerUserId = SUBSCRIBE_USER_INIT; in PrepareNotificationRequest()
1827 if (userId <= SUBSCRIBE_USER_INIT) { in SetDoNotDisturbDate()
1849 if (userId <= SUBSCRIBE_USER_INIT) { in GetDoNotDisturbDate()
H A Dnotification_preferences.cpp430 if (userId <= SUBSCRIBE_USER_INIT) { in GetNotificationsEnabled()
444 if (userId <= SUBSCRIBE_USER_INIT) { in SetNotificationsEnabled()
487 if (userId <= SUBSCRIBE_USER_INIT) { in GetDoNotDisturbDate()
504 if (userId <= SUBSCRIBE_USER_INIT) { in SetDoNotDisturbDate()
H A Dadvanced_notification_publish_service.cpp686 int32_t activeUserId = SUBSCRIBE_USER_INIT; in DeleteAll()
918 int32_t userId = SUBSCRIBE_USER_INIT; in SetNotificationsEnabledForAllBundles()
1010 int32_t userId = SUBSCRIBE_USER_INIT; in IsAllowedNotify()
1125 int32_t userId = SUBSCRIBE_USER_INIT; in IsAllowedNotifySelf()
1154 int32_t userId = SUBSCRIBE_USER_INIT; in IsAllowedNotifyForBundle()
1206 int32_t userId = SUBSCRIBE_USER_INIT; in IsSpecialBundleAllowedNotify()
1235 int32_t userId = SUBSCRIBE_USER_INIT; in PublishContinuousTaskNotification()
1783 int32_t userId = SUBSCRIBE_USER_INIT; in IsNeedSilentInDoNotDisturbMode()
H A Dnotification_local_live_view_subscriber_manager.cpp39 int32_t userId {SUBSCRIBE_USER_INIT};
H A Dnotification_preferences_database.cpp791 int32_t currentUserId = SUBSCRIBE_USER_INIT; in HandleDataBaseMap()
1935 int32_t userId = SUBSCRIBE_USER_INIT; in SetSmartReminderEnabled()
1937 if (userId == SUBSCRIBE_USER_INIT) { in SetSmartReminderEnabled()
1951 int32_t userId = SUBSCRIBE_USER_INIT; in IsSmartReminderEnabled()
1953 if (userId == SUBSCRIBE_USER_INIT) { in IsSmartReminderEnabled()
H A Dadvanced_notification_slot_service.cpp938 result = NotificationPreferences::GetInstance()->SetKvToDb(key, value, SUBSCRIBE_USER_INIT); in SetAdditionConfig()
/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()
/base/notification/distributed_notification_service/frameworks/core/common/include/
H A Dans_const_define.h47 constexpr int32_t SUBSCRIBE_USER_INIT = -1; member
/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};
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp1569 if (userId <= SUBSCRIBE_USER_INIT) { in IsAllowedNotify()
1585 if (userId <= SUBSCRIBE_USER_INIT) { in SetNotificationsEnabledForAllBundles()
1600 if (userId <= SUBSCRIBE_USER_INIT) { in RemoveNotifications()
1617 if (userId <= SUBSCRIBE_USER_INIT) { in SetDoNotDisturbDate()
1640 if (userId <= SUBSCRIBE_USER_INIT) { in GetDoNotDisturbDate()
1729 if (userId <= SUBSCRIBE_USER_INIT) { in SetSyncNotificationEnabledWithoutApp()
1745 if (userId <= SUBSCRIBE_USER_INIT) { in GetSyncNotificationEnabledWithoutApp()
H A Dans_manager_stub.cpp2092 int32_t userId = SUBSCRIBE_USER_INIT; in HandleIsSpecialUserAllowedNotifyByUser()
2114 int32_t userId = SUBSCRIBE_USER_INIT; in HandleSetNotificationsEnabledByUser()
2136 int32_t userId = SUBSCRIBE_USER_INIT; in HandleDeleteAllByUser()
2152 int32_t userId = SUBSCRIBE_USER_INIT; in HandleSetDoNotDisturbDateByUser()
2175 int32_t userId = SUBSCRIBE_USER_INIT; in HandleGetDoNotDisturbDateByUser()
2290 int32_t userId = SUBSCRIBE_USER_INIT; in HandleDistributedSetEnabledWithoutApp()
2313 int32_t userId = SUBSCRIBE_USER_INIT; in HandleDistributedGetEnabledWithoutApp()
/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()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_request.cpp1873 if (receiverUserId_ == SUBSCRIBE_USER_INIT) { in GetReceiverUserId()
1874 if (ownerUserId_ == SUBSCRIBE_USER_INIT) { in GetReceiverUserId()

Completed in 37 milliseconds

12