Searched refs:stdResult (Results 1 - 11 of 11) sorted by relevance
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/ |
H A D | shell_cmd_result.cpp | 20 ShellCmdResult::ShellCmdResult(const int32_t exitCode, const std::string &stdResult) in ShellCmdResult() argument 21 : exitCode_(exitCode), stdResult_(stdResult) in ShellCmdResult() 27 stdResult_ = result.stdResult; in ShellCmdResult() 40 void ShellCmdResult::SetStdResult(const std::string &stdResult) in SetStdResult() argument 42 stdResult_ = stdResult; in SetStdResult() 52 return "ShellCmdResult { exitCode = " + std::to_string(exitCode_) + ", stdResult = " + stdResult_ + "}"; in Dump()
|
/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/ |
H A D | shell_command_result_test.cpp | 61 shellCmd.stdResult = SHELL_COMMAND_RESULT; in HWTEST_F() 76 shellCmd.stdResult = SHELL_COMMAND_RESULT; in HWTEST_F() 81 EXPECT_EQ(shellCmd.stdResult, SHELL_COMMAND_RESULT); in HWTEST_F()
|
H A D | test_observer_test.cpp | 96 EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0); in HWTEST_F()
|
H A D | test_observer_proxy_test.cpp | 148 EXPECT_EQ(testObserverProxy.ExecuteShellCommand(CMD.c_str(), 0).stdResult.size(), 0); in HWTEST_F()
|
/foundation/ability/ability_runtime/tools/test/moduletest/ability_delegator/ |
H A D | shell_command_result_module_test.cpp | 62 shellCmd.stdResult = SHELL_COMMAND_RESULT; in HWTEST_F() 77 shellCmd.stdResult = SHELL_COMMAND_RESULT; in HWTEST_F() 82 EXPECT_EQ(shellCmd.stdResult, SHELL_COMMAND_RESULT); in HWTEST_F()
|
H A D | test_observer_module_test.cpp | 79 EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0); in HWTEST_F()
|
/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | shell_command_result.cpp | 29 if (!parcel.WriteString(stdResult)) { in Marshalling() 30 TAG_LOGE(AAFwkTag::AA_TOOL, "write stdResult failed"); in Marshalling() 40 stdResult = parcel.ReadString(); in ReadFromParcel()
|
H A D | shell_command_executor.cpp | 59 realResult.stdResult = cmdResult_.stdResult; in WaitWorkDone() 109 cmdResult_.stdResult.append(commandResult); in DoWork()
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_delegator/ |
H A D | shell_cmd_result.h | 35 * @param stdResult Indicates the cmd standard result. 37 ShellCmdResult(const int32_t exitCode, const std::string &stdResult); 68 * @param stdResult Indicates the standard result. 70 void SetStdResult(const std::string &stdResult);
|
/foundation/ability/ability_runtime/tools/aa/include/ |
H A D | shell_command_result.h | 26 std::string stdResult; member
|
/foundation/ability/ability_runtime/test/unittest/cj_ability_delegator_test/ |
H A D | cj_ability_delegator_test.cpp | 181 std::string stdResult = shellCmdResult.GetStdResult(); in HWTEST_F() local 182 EXPECT_TRUE(stdResult.empty()); in HWTEST_F()
|
Completed in 3 milliseconds