Home
last modified time | relevance | path

Searched refs:resultReceiver_ (Results 1 – 10 of 10) sorted by relevance

/base/powermgr/power_manager/utils/shell/src/
Dpower_shell_command.cpp144 resultReceiver_.clear(); in RunAsHelpCommand()
145 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
153 resultReceiver_.clear(); in RunAsSetModeCommand()
155 resultReceiver_.append(SETMODE_HELP_MSG); in RunAsSetModeCommand()
159 resultReceiver_.append("Error! please input your mode value. \n"); in RunAsSetModeCommand()
160 resultReceiver_.append(SETMODE_HELP_MSG); in RunAsSetModeCommand()
165 resultReceiver_.append("Set Mode: "); in RunAsSetModeCommand()
166 resultReceiver_.append(argList_[0]); in RunAsSetModeCommand()
167 resultReceiver_.append("\n"); in RunAsSetModeCommand()
172 resultReceiver_.append("Set Mode Success!\n"); in RunAsSetModeCommand()
[all …]
/base/notification/distributed_notification_service/tools/dump/src/
Dnotification_shell_command.cpp130 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
136 resultReceiver_.append(DUMP_HELP_MSG); in RunHelp()
152 resultReceiver_.clear(); in RunAsDumpCommand()
153 resultReceiver_ = "request a option 'A' or 'R' or 'D'\n"; in RunAsDumpCommand()
154 resultReceiver_.append(DUMP_HELP_MSG); in RunAsDumpCommand()
161 resultReceiver_.append("No." + std::to_string(++index) + "\n"); in RunAsDumpCommand()
162 resultReceiver_.append(info); in RunAsDumpCommand()
174 resultReceiver_.append("set recent count success\n"); in RunDumpCmd()
176 resultReceiver_.append("set recent count failed\n"); in RunDumpCmd()
179 resultReceiver_.append("Total:" + std::to_string(infos.size()) + "\n"); in RunDumpCmd()
[all …]
Dshell_command.cpp47 resultReceiver_.append(GetCommandErrorMsg()); in OnCommand()
67 resultReceiver_ = "error: failed to execute your command.\n"; in ExecCommand()
69 return resultReceiver_; in ExecCommand()
/base/notification/common_event_service/tools/cem/src/
Dcommon_event_command.cpp67 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
79 resultReceiver_.append(HELP_MSG_NO_OPTION); in RunAsPublishCommand()
80 resultReceiver_.append(HELP_MSG_PUBLISH); in RunAsPublishCommand()
83 if (result == ERR_OK && resultReceiver_.empty() && cmdInfo.action.empty()) { in RunAsPublishCommand()
84 resultReceiver_.append(HELP_MSG_NO_EVENT_OPTION); in RunAsPublishCommand()
101 resultReceiver_ = STRING_PUBLISH_COMMON_EVENT_OK; in RunAsPublishCommand()
103 resultReceiver_ = STRING_PUBLISH_COMMON_EVENT_NG; in RunAsPublishCommand()
106 resultReceiver_.append(HELP_MSG_PUBLISH); in RunAsPublishCommand()
153 resultReceiver_.append("error: option 'e' requires a value.\n"); in CheckPublishOpt()
157 resultReceiver_.append("error: option 'c' requires a value.\n"); in CheckPublishOpt()
[all …]
Dshell_command.cpp49 resultReceiver_.append(GetCommandErrorMsg()); in OnCommand()
69 resultReceiver_ = "error: failed to execute your command.\n"; in ExecCommand()
71 return resultReceiver_; in ExecCommand()
/base/account/os_account/tools/acm/src/
Daccount_command.cpp85 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
123 resultReceiver_.append(HELP_MSG_NO_NAME_OPTION + "\n"); in RunAsCreateCommand()
127 resultReceiver_.append(HELP_MSG_NO_TYPE_OPTION + "\n"); in RunAsCreateCommand()
135 resultReceiver_.append(HELP_MSG_CREATE); in RunAsCreateCommand()
145 resultReceiver_ = STRING_CREATE_OS_ACCOUNT_OK + "\n"; in RunAsCreateCommand()
147 resultReceiver_ = STRING_CREATE_OS_ACCOUNT_NG + "\n"; in RunAsCreateCommand()
163 resultReceiver_.append(HELP_MSG_DELETE); in RunAsDeleteCommand()
170 resultReceiver_ = STRING_DELETE_OS_ACCOUNT_OK + "\n"; in RunAsDeleteCommand()
172 resultReceiver_ = STRING_DELETE_OS_ACCOUNT_NG + "\n"; in RunAsDeleteCommand()
188 resultReceiver_.append(HELP_MSG_DUMP); in RunAsDumpCommand()
[all …]
/base/security/access_token/tools/accesstoken/src/
Datm_command.cpp112 resultReceiver_.append(GetCommandErrorMsg()); in ExecCommand()
117 return resultReceiver_; in ExecCommand()
122 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
140 resultReceiver_.append(HELP_MSG_NO_OPTION + "\n"); in RunAsCommandError()
171 resultReceiver_.append("error: option "); in RunAsCommandMissingOptionArgument()
172 resultReceiver_.append("requires a value.\n"); in RunAsCommandMissingOptionArgument()
178 resultReceiver_.append(unknownOptionMsg); in RunAsCommandMissingOptionArgument()
281 resultReceiver_.append("error: miss option \n"); in RunCommandByOperationType()
284 resultReceiver_.append(dumpInfo + "\n"); in RunCommandByOperationType()
320 resultReceiver_.append(helpMsg + "\n"); in HandleComplexCommand()
/base/notification/common_event_service/tools/cem/include/
Dshell_command.h88 std::string resultReceiver_; variable
/base/notification/distributed_notification_service/tools/dump/include/
Dshell_command.h107 std::string resultReceiver_; variable
/base/security/access_token/tools/accesstoken/include/
Datm_command.h72 std::string resultReceiver_; variable