Home
last modified time | relevance | path

Searched refs:recvUserId (Results 1 - 17 of 17) sorted by relevance

/base/notification/distributed_notification_service/tools/dump/include/
H A Dnotification_shell_command.h48 void SetDumpCmdInfo(std::string &cmd, std::string &bundle, int32_t &userId, ErrCode &ret, int32_t &recvUserId);
49 ErrCode RunDumpCmd(const std::string& cmd, const std::string& bundle, int32_t userId, int32_t recvUserId,
/base/notification/distributed_notification_service/tools/dump/src/
H A Dnotification_shell_command.cpp160 int32_t recvUserId = SUBSCRIBE_USER_INIT; in RunAsDumpCommand() local
161 SetDumpCmdInfo(cmd, bundle, userId, ret, recvUserId); in RunAsDumpCommand()
172 ret = RunDumpCmd(cmd, bundle, userId, recvUserId, infos); in RunAsDumpCommand()
182 int32_t userId, int32_t recvUserId, std::vector<std::string> &infos) in RunDumpCmd()
185 ErrCode ret = ans_->ShellDump(cmd, bundle, userId, recvUserId, infos); in RunDumpCmd()
201 ErrCode &ret, int32_t &recvUserId) in SetDumpCmdInfo()
235 recvUserId = atoi(optarg); in SetDumpCmdInfo()
181 RunDumpCmd(const std::string& cmd, const std::string& bundle, int32_t userId, int32_t recvUserId, std::vector<std::string> &infos) RunDumpCmd() argument
200 SetDumpCmdInfo(std::string &cmd, std::string &bundle, int32_t &userId, ErrCode &ret, int32_t &recvUserId) SetDumpCmdInfo() argument
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_proxy_utils.cpp54 int32_t recvUserId, std::vector<std::string> &dumpInfo) in ShellDump()
73 if (!data.WriteInt32(recvUserId)) { in ShellDump()
74 ANS_LOGE("[ShellDump] fail: write dump recvUserId failed."); in ShellDump()
53 ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId, std::vector<std::string> &dumpInfo) ShellDump() argument
H A Dans_manager_stub_invalid.cpp568 int32_t recvUserId, std::vector<std::string> &dumpInfo) in ShellDump()
567 ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId, std::vector<std::string> &dumpInfo) ShellDump() argument
H A Dans_manager_stub.cpp1882 int32_t recvUserId; in HandleShellDump() local
1883 if (!data.ReadInt32(recvUserId)) { in HandleShellDump()
1884 ANS_LOGE("[HandleShellDump] fail: read recvUserId failed."); in HandleShellDump()
1888 ErrCode result = ShellDump(cmd, bundle, userId, recvUserId, notificationsInfo); in HandleShellDump()
H A Dans_notification.cpp1716 int32_t recvUserId, std::vector<std::string> &dumpInfo) in ShellDump()
1724 return proxy->ShellDump(cmd, bundle, userId, recvUserId, dumpInfo); in ShellDump()
1715 ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId, std::vector<std::string> &dumpInfo) ShellDump() argument
/base/notification/distributed_notification_service/tools/test/mock/
H A Dmock_ans_manager_stub.h42 virtual ErrCode ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId,
H A Dmock_ans_manager_stub.cpp38 int32_t recvUserId, std::vector<std::string> &dumpInfo) in ShellDump()
37 ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId, std::vector<std::string> &dumpInfo) ShellDump() argument
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_utils.cpp364 int32_t recvUserId, std::vector<std::string> &dumpInfo) in ActiveNotificationDump()
375 if (recvUserId != SUBSCRIBE_USER_INIT && recvUserId != record->notification->GetRecvUserId()) { in ActiveNotificationDump()
411 int32_t recvUserId, std::vector<std::string> &dumpInfo) in RecentNotificationDump()
423 if (recvUserId != SUBSCRIBE_USER_INIT && recvUserId != recentNotification->notification->GetRecvUserId()) { in RecentNotificationDump()
457 int32_t recvUserId, std::vector<std::string> &dumpInfo) in DistributedNotificationDump()
468 if (recvUserId != SUBSCRIBE_USER_INIT && recvUserId != record->notification->GetRecvUserId()) { in DistributedNotificationDump()
1488 int32_t recvUserId, st in ShellDump()
363 ActiveNotificationDump(const std::string& bundle, int32_t userId, int32_t recvUserId, std::vector<std::string> &dumpInfo) ActiveNotificationDump() argument
410 RecentNotificationDump(const std::string& bundle, int32_t userId, int32_t recvUserId, std::vector<std::string> &dumpInfo) RecentNotificationDump() argument
456 DistributedNotificationDump(const std::string& bundle, int32_t userId, int32_t recvUserId, std::vector<std::string> &dumpInfo) DistributedNotificationDump() argument
1487 ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId, std::vector<std::string> &dumpInfo) ShellDump() argument
[all...]
H A Dnotification_subscriber_manager.cpp527 int32_t recvUserId = notification->GetNotificationRequest().GetReceiverUserId(); in IsSubscribedBysubscriber() local
529 if (record->userId == recvUserId) { in IsSubscribedBysubscriber()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dpublish.cpp85 int32_t recvUserId = SUBSCRIBE_USER_INIT; in ParseParameters() local
86 NAPI_CALL(env, napi_get_value_int32(env, argv[PARAM1], &recvUserId)); in ParseParameters()
87 params.request.SetOwnerUserId(recvUserId); in ParseParameters()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h962 ErrCode ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId,
1245 ErrCode ActiveNotificationDump(const std::string& bundle, int32_t userId, int32_t recvUserId,
1247 ErrCode RecentNotificationDump(const std::string& bundle, int32_t userId, int32_t recvUserId,
1250 ErrCode DistributedNotificationDump(const std::string& bundle, int32_t userId, int32_t recvUserId,
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h798 * @param recvUserId Indicates the specified receiver UserId
802 virtual ErrCode ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId,
H A Dans_manager_proxy.h789 ErrCode ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId,
H A Dans_notification.h954 * @param recvUserId Indicates the specified receiver userId.
958 ErrCode ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId,
H A Dans_manager_stub.h791 virtual ErrCode ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId,
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp486 ErrCode ShellDump(const std::string &cmd, const std::string &bundle, int32_t userId, int32_t recvUserId,

Completed in 23 milliseconds