Home
last modified time | relevance | path

Searched refs:resultReceiver_ (Results 1 - 14 of 14) sorted by relevance

/base/powermgr/power_manager/utils/shell/src/
H A Dpower_shell_command.cpp186 resultReceiver_.append("too few arguments \n"); in RunAsForceTimeOutCommand()
200 resultReceiver_.clear(); in RunAsTimeOutScreenLockCommand()
204 resultReceiver_.append("too few arguments \n"); in RunAsTimeOutScreenLockCommand()
236 resultReceiver_.clear(); in RunAsHelpCommand()
237 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
248 resultReceiver_.clear(); in RunAsSetModeCommand()
250 resultReceiver_.append(SETMODE_HELP_MSG); in RunAsSetModeCommand()
254 resultReceiver_.append("Error! please input your mode value. \n"); in RunAsSetModeCommand()
255 resultReceiver_.append(SETMODE_HELP_MSG); in RunAsSetModeCommand()
260 resultReceiver_ in RunAsSetModeCommand()
[all...]
/base/notification/common_event_service/tools/cem/src/
H A Dcommon_event_command.cpp55 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
67 resultReceiver_.append(HELP_MSG_NO_OPTION); in RunAsPublishCommand()
68 resultReceiver_.append(HELP_MSG_PUBLISH); in RunAsPublishCommand()
71 if (result == ERR_OK && resultReceiver_.empty() && cmdInfo.action.empty()) { in RunAsPublishCommand()
72 resultReceiver_.append(HELP_MSG_NO_EVENT_OPTION); in RunAsPublishCommand()
89 resultReceiver_ = STRING_PUBLISH_COMMON_EVENT_OK; in RunAsPublishCommand()
91 resultReceiver_ = STRING_PUBLISH_COMMON_EVENT_NG; in RunAsPublishCommand()
94 resultReceiver_.append(HELP_MSG_PUBLISH); in RunAsPublishCommand()
141 resultReceiver_.append("error: option 'e' requires a value.\n"); in CheckPublishOpt()
145 resultReceiver_ in CheckPublishOpt()
[all...]
H A Dshell_command.cpp49 resultReceiver_.append(GetCommandErrorMsg()); in OnCommand()
65 resultReceiver_ = "error: failed to execute your command.\n"; in ExecCommand()
67 return resultReceiver_; in ExecCommand()
/base/notification/distributed_notification_service/tools/dump/src/
H A Dnotification_shell_command.cpp139 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
145 resultReceiver_.append(DUMP_HELP_MSG); in RunHelp()
152 resultReceiver_.append("error: user version cannot use dump.\n"); in RunAsDumpCommand()
166 resultReceiver_.clear(); in RunAsDumpCommand()
167 resultReceiver_ = "request a option 'A' or 'R' or 'D'\n"; in RunAsDumpCommand()
168 resultReceiver_.append(DUMP_HELP_MSG); in RunAsDumpCommand()
175 resultReceiver_.append("No." + std::to_string(++index) + "\n"); in RunAsDumpCommand()
176 resultReceiver_.append(info); in RunAsDumpCommand()
188 resultReceiver_.append("set recent count success\n"); in RunDumpCmd()
190 resultReceiver_ in RunDumpCmd()
[all...]
H A Dshell_command.cpp47 resultReceiver_.append(GetCommandErrorMsg()); in OnCommand()
68 resultReceiver_ = "error: failed to execute your command.\n"; in ExecCommand()
70 return resultReceiver_; in ExecCommand()
/base/account/os_account/tools/acm/src/
H A Daccount_command.cpp112 resultReceiver_.append(GetCommandErrorMsg()); in OnCommand()
123 return resultReceiver_; in ExecCommand()
129 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
175 resultReceiver_.append(HELP_MSG_NO_NAME_OPTION + "\n"); in RunAsCreateCommand()
179 resultReceiver_.append(HELP_MSG_NO_TYPE_OPTION + "\n"); in RunAsCreateCommand()
187 resultReceiver_.append(HELP_MSG_CREATE); in RunAsCreateCommand()
200 resultReceiver_ = STRING_CREATE_OS_ACCOUNT_OK + "\n"; in RunAsCreateCommand()
203 resultReceiver_ = "create failed, reason: multiple-os-account feature not enabled\n"; in RunAsCreateCommand()
206 resultReceiver_ = STRING_CREATE_OS_ACCOUNT_NG + "\n"; in RunAsCreateCommand()
222 resultReceiver_ in RunAsDeleteCommand()
[all...]
/base/security/access_token/tools/accesstoken/src/
H A Datm_command.cpp159 resultReceiver_.append(GetCommandErrorMsg()); in ExecCommand()
164 return resultReceiver_; in ExecCommand()
169 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
187 resultReceiver_.append(HELP_MSG_NO_OPTION + "\n"); in RunAsCommandError()
218 resultReceiver_.append("error: option "); in RunAsCommandMissingOptionArgument()
219 resultReceiver_.append("requires a value.\n"); in RunAsCommandMissingOptionArgument()
225 resultReceiver_.append(unknownOptionMsg); in RunAsCommandMissingOptionArgument()
401 resultReceiver_.append("error: miss option \n"); in RunCommandByOperationType()
404 resultReceiver_.append(dumpInfo + "\n"); in RunCommandByOperationType()
443 resultReceiver_ in HandleComplexCommand()
[all...]
/base/customization/enterprise_device_management/tools/edm/src/
H A Dedm_command.cpp75 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand()
178 resultReceiver_.append(cmd_ + " success.\n"); in ReportMessage()
182 resultReceiver_.append(GetMessageFromCode(code)); in ReportMessage()
189 resultReceiver_.append(HELP_MSG_ENABLE_ADMIN); in ReportMessage()
191 resultReceiver_.append(HELP_MSG_DISABLE_ADMIN); in ReportMessage()
H A Dshell_command.cpp69 resultReceiver_ = "error: failed to execute your command.\n"; in ExecCommand()
71 return resultReceiver_; in ExecCommand()
/base/notification/common_event_service/tools/cem/include/
H A Dshell_command.h81 std::string resultReceiver_; member in OHOS::EventFwk::ShellCommand
/base/customization/enterprise_device_management/tools/edm/include/
H A Dshell_command.h54 std::string resultReceiver_; member in OHOS::EDM::ShellCommand
/base/notification/distributed_notification_service/tools/dump/include/
H A Dshell_command.h107 std::string resultReceiver_; member in OHOS::Notification::ShellCommand
/base/security/access_token/tools/accesstoken/include/
H A Datm_command.h66 std::string resultReceiver_; member in OHOS::Security::AccessToken::final
/base/account/os_account/tools/acm/include/
H A Daccount_command.h158 std::string resultReceiver_; member in OHOS::AccountSA::AccountCommand

Completed in 6 milliseconds