/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | accessibility_ability_command.cpp | 323 resultReceiver_.append(ACCESSIBILITY_HELP_MSG); in RunAsHelpCommand() 374 resultReceiver_.append(argument.command + ": " + ACCESSIBILITY_HELP_MSG_NO_OPTION); in MakeEnableCommandArgumentFromCmd() 383 resultReceiver_.append(argument.command + ": " + ACCESSIBILITY_ABILITY_NO_ABILITY_ARGUMENT_VALUE); in MakeEnableCommandArgumentFromCmd() 387 resultReceiver_.append(argument.command + ": " + ACCESSIBILITY_ABILITY_NO_BUNDLE_ARGUMENT_VALUE); in MakeEnableCommandArgumentFromCmd() 391 resultReceiver_.append(argument.command + ": " + in MakeEnableCommandArgumentFromCmd() 402 return CheckEnableCommandArgument(argument, resultReceiver_); in MakeEnableCommandArgumentFromCmd() 410 return CheckDisableCommandArgument(argument, resultReceiver_); in MakeDisableCommandArgumentFromCmd() 427 resultReceiver_ = ACCESSIBILITY_STRING_ENABLE_ABILITY_OK + "\n"; in RunAsEnableAbility() 429 resultReceiver_ = ACCESSIBILITY_STRING_ENABLE_ABILITY_NG; in RunAsEnableAbility() 430 resultReceiver_ in RunAsEnableAbility() [all...] |
H A D | ability_command.cpp | 228 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand() 251 resultReceiver_ = STRING_START_ABILITY_OK + "\n"; in RunAsStartAbility() 255 resultReceiver_ = STRING_START_ABILITY_NG + "\n"; in RunAsStartAbility() 257 resultReceiver_.append(GetMessageFromCode(result)); in RunAsStartAbility() 260 resultReceiver_.append(HELP_MSG_START); in RunAsStartAbility() 278 resultReceiver_ = STRING_STOP_SERVICE_ABILITY_OK + "\n"; in RunAsStopService() 282 resultReceiver_ = STRING_STOP_SERVICE_ABILITY_NG + "\n"; in RunAsStopService() 284 resultReceiver_.append(GetMessageFromCode(result)); in RunAsStopService() 287 resultReceiver_.append(HELP_MSG_STOP_SERVICE); in RunAsStopService() 308 resultReceiver_ in RunAsDumpsysCommand() [all...] |
H A D | ability_tool_command.cpp | 144 resultReceiver_.append(ABILITY_TOOL_HELP_MSG); in RunAsHelpCommand() 155 resultReceiver_.append(ABILITY_TOOL_HELP_MSG_START); in RunAsStartAbility() 163 resultReceiver_ = STRING_START_ABILITY_NG + "\n"; in RunAsStartAbility() 165 resultReceiver_.append(GetMessageFromCode(result)); in RunAsStartAbility() 170 resultReceiver_ = STRING_START_ABILITY_OK + "\n"; in RunAsStartAbility() 180 resultReceiver_.append(ABILITY_TOOL_HELP_MSG_STOP_SERVICE); in RunAsStopService() 187 resultReceiver_ = STRING_STOP_SERVICE_ABILITY_NG + "\n"; in RunAsStopService() 188 resultReceiver_.append(GetMessageFromCode(result)); in RunAsStopService() 193 resultReceiver_ = STRING_STOP_SERVICE_ABILITY_OK + "\n"; in RunAsStopService() 200 resultReceiver_ in RunAsForceStop() [all...] |
H A D | shell_command.cpp | 52 resultReceiver_.append(GetCommandErrorMsg()); in OnCommand() 83 resultReceiver_ = "error: failed to execute your command.\n"; in ExecCommand() 86 return resultReceiver_; in ExecCommand()
|
/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_command.cpp | 255 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand() 260 resultReceiver_.append(ENABLE_DISABLE_HELP_MSG); in RunAsHelpCommand() 266 resultReceiver_.append(CLEAN_HELP_MSG); in RunAsHelpCommand() 321 resultReceiver_.append(HELP_MSG_NO_OPTION + "\n"); in RunAsCopyApCommand() 327 resultReceiver_.append(HELP_MSG_COPY_AP); in RunAsCopyApCommand() 334 resultReceiver_.append(copyApResult); in RunAsCopyApCommand() 349 resultReceiver_.append(STRING_REQUIRE_CORRECT_VALUE); in ParseCopyApCommand() 359 resultReceiver_.append(unknownOptionMsg); in ParseCopyApCommand() 421 resultReceiver_.append(HELP_MSG_NO_OPTION + "\n"); in RunAsCompileCommand() 442 resultReceiver_ in RunAsCompileCommand() [all...] |
H A D | bundle_test_tool.cpp | 1070 resultReceiver_.append(HELP_MSG); in RunAsHelpCommand() 1195 resultReceiver_.append(HELP_MSG_NO_OPTION + "\n"); in CheckRemovableErrorOption() 1207 resultReceiver_.append(unknownOptionMsg); in CheckRemovableErrorOption() 1210 resultReceiver_.append("error: -i option requires a value.\n"); in CheckRemovableErrorOption() 1216 resultReceiver_.append("error: -m option requires a value.\n"); in CheckRemovableErrorOption() 1221 resultReceiver_.append("error: -n option requires a value.\n"); in CheckRemovableErrorOption() 1228 resultReceiver_.append(unknownOptionMsg); in CheckRemovableErrorOption() 1256 resultReceiver_.append(unknownOptionMsg); in CheckRemovableCorrectOption() 1263 resultReceiver_.append(STRING_REQUIRE_CORRECT_VALUE); in CheckRemovableCorrectOption() 1278 resultReceiver_ in CheckRemovableCorrectOption() [all...] |
H A D | shell_command.cpp | 50 resultReceiver_.append(GetCommandErrorMsg()); in OnCommand() 79 resultReceiver_ = "error: failed to execute your command.\n"; in ExecCommand() 82 return resultReceiver_; in ExecCommand()
|
/foundation/deviceprofile/device_info_manager/old/tools/dp/src/ |
H A D | dp_command.cpp | 130 resultReceiver_.append(DP_HELP_MSG); in HelpCommand() 136 resultReceiver_.append("[remote device list]\n"); in GetDeviceCommand() 141 resultReceiver_.append("get remote device list error\n"); in GetDeviceCommand() 148 resultReceiver_.append("networkId: " + std::string(info->networkId) in GetDeviceCommand() 153 resultReceiver_.append("[local device list]\n"); in GetDeviceCommand() 157 resultReceiver_.append("get local device error\n"); in GetDeviceCommand() 161 resultReceiver_.append("networkId: " + std::string(localInfo.networkId) in GetDeviceCommand() 190 resultReceiver_.append("ServiceId:" + profile.GetServiceId() + "\n"); in QueryCommand() 191 resultReceiver_.append("ServiceType:" + profile.GetServiceType() + "\n"); in QueryCommand() 192 resultReceiver_ in QueryCommand() [all...] |
H A D | shell_command.cpp | 58 resultReceiver_.append(GetCommandErrorMsg()); in OnCommand() 86 resultReceiver_ = "error: failed to execute your command.\n"; in ExecCommand() 89 return resultReceiver_; in ExecCommand()
|
/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/ |
H A D | accessibility_ability_command_first_test.cpp | 125 EXPECT_EQ(cmd.resultReceiver_, ACCESSIBILITY_HELP_MSG); in HWTEST_F() 587 EXPECT_EQ(cmd.resultReceiver_, "enable: " + ACCESSIBILITY_HELP_MSG_NO_OPTION); in HWTEST_F() 611 EXPECT_EQ(cmd.resultReceiver_, "enable: " + ACCESSIBILITY_ABILITY_NO_ABILITY_ARGUMENT_VALUE); in HWTEST_F() 637 EXPECT_EQ(cmd.resultReceiver_, "enable: " + ACCESSIBILITY_ABILITY_NO_BUNDLE_ARGUMENT_VALUE); in HWTEST_F() 665 EXPECT_EQ(cmd.resultReceiver_, "enable: " + ACCESSIBILITY_ABILITY_NO_CAPABILITIES_ARGUMENT_VALUE); in HWTEST_F() 697 EXPECT_EQ(cmd.resultReceiver_, "enable: " + ACCESSIBILITY_ABILITY_TOO_MANY_ARGUMENT + in HWTEST_F() 728 EXPECT_EQ(cmd.resultReceiver_, "enable: the auxiliary application bundle/ability" + in HWTEST_F() 851 EXPECT_EQ(cmd.resultReceiver_, ACCESSIBILITY_ABILITY_TOO_MANY_ARGUMENT); in HWTEST_F() 1011 EXPECT_EQ(cmd.resultReceiver_, "\n" + ACCESSIBILITY_HELP_MSG_ENABLE_ABILITY); in HWTEST_F() 1032 EXPECT_EQ(cmd.resultReceiver_, "\ in HWTEST_F() [all...] |
H A D | accessibility_ability_command_second_test.cpp | 91 EXPECT_EQ(cmd.resultReceiver_, ACCESSIBILITY_SET_AUDIO_BALANCE_OK); in HWTEST_F() 115 EXPECT_EQ(cmd.resultReceiver_, ACCESSIBILITY_SET_AUDIO_BALANCE_OK); in HWTEST_F() 139 EXPECT_EQ(cmd.resultReceiver_, "setAudioBalance: " + ACCESSIBILITY_ABILITY_SET_VALUE_INVALID + in HWTEST_F() 161 EXPECT_EQ(cmd.resultReceiver_, "\n" + ACCESSIBILITY_HELP_MSG_SET_AUDIO_BALANCE); in HWTEST_F() 191 EXPECT_EQ(cmd.resultReceiver_, "setShortkeyTarget: " + ACCESSIBILITY_ABILITY_NO_ABILITY_ARGUMENT); in HWTEST_F() 217 EXPECT_EQ(cmd.resultReceiver_, ": "); in HWTEST_F() 260 EXPECT_EQ(cmd.resultReceiver_, ": " + ACCESSIBILITY_HELP_MSG_NO_OPTION); in HWTEST_F() 284 EXPECT_EQ(cmd.resultReceiver_, ": " + ACCESSIBILITY_ABILITY_NO_SET_ARGUMENT_VALUE); in HWTEST_F() 308 EXPECT_EQ(cmd.resultReceiver_, ": unknown arguments -a "); in HWTEST_F() 386 EXPECT_EQ(cmd.resultReceiver_, " in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/tools/aa/include/ |
H A D | shell_command.h | 63 std::string resultReceiver_ = ""; member in OHOS::AAFwk::ShellCommand
|
/foundation/bundlemanager/bundle_tool/frameworks/include/ |
H A D | shell_command.h | 62 std::string resultReceiver_ = ""; member in OHOS::AppExecFwk::ShellCommand
|
/foundation/deviceprofile/device_info_manager/old/tools/dp/include/ |
H A D | shell_command.h | 59 std::string resultReceiver_ = ""; member in OHOS::DeviceProfile::ShellCommand
|
/foundation/ability/ability_runtime/tools/test/unittest/aa/ |
H A D | aa_command_ability_first_test.cpp | 114 EXPECT_EQ(cmd.resultReceiver_, STRING_FORCE_STOP_OK + "\n"); in HWTEST_F() 1033 EXPECT_EQ(cmd->resultReceiver_, STRING_START_NATIVE_PROCESS_NG); in HWTEST_F()
|