Searched refs:GetCmdResultFromPopen (Results 1 – 9 of 9) sorted by relevance
28 std::string GetCmdResultFromPopen(const std::string& cmd);32 (void)GetCmdResultFromPopen("hilog -b I"); in TearDownTestCase()33 (void)GetCmdResultFromPopen("hilog -G 256K"); in TearDownTestCase()34 (void)GetCmdResultFromPopen("hilog -w stop"); in TearDownTestCase()35 (void)GetCmdResultFromPopen("hilog -w start"); in TearDownTestCase()61 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function171 EXPECT_EQ(GetCmdResultFromPopen(cmd), str);172 EXPECT_EQ(GetCmdResultFromPopen(query), level + " \n");177 EXPECT_EQ(GetCmdResultFromPopen(cmd), errMsg);197 EXPECT_EQ(GetCmdResultFromPopen(cmd), str);[all …]
28 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function55 (void)GetCmdResultFromPopen("hilog -b X"); in SetUpTestCase()56 (void)GetCmdResultFromPopen("hilog -b I -D d002d00"); in SetUpTestCase()61 (void)GetCmdResultFromPopen("hilog -b I"); in TearDownTestCase()66 (void)GetCmdResultFromPopen("hilog -r"); in SetUp()102 std::string res = GetCmdResultFromPopen("hilog -T HILOGTEST_C -x");140 std::string res = GetCmdResultFromPopen("hilog -T HILOGTEST_C -x");166 std::string res = GetCmdResultFromPopen("hilog -T HILOGTEST_C -x");198 std::string res = GetCmdResultFromPopen("hilog -T HILOGTEST_C -x");
26 static std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function219 uint32_t pid = stoi(GetCmdResultFromPopen("pidof hilogd"));
24 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function49 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid()61 GetCmdResultFromPopen(cmd); in WaitForServiceReady()
27 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function52 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid()65 GetCmdResultFromPopen(cmd); in WaitForServiceReady()102 std::string result = GetCmdResultFromPopen(cmd);
80 static std::string GetCmdResultFromPopen(const std::string& cmd);
163 static string GetCmdResultFromPopen(const string& cmd) in GetCmdResultFromPopen() function207 string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid()236 (void)GetCmdResultFromPopen(launchCmd); in LaunchTestHap()
112 static std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function136 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid()147 (void)GetCmdResultFromPopen(launchCmd); in LaunchTestHap()
678 std::string FaultLoggerdSystemTest::GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function in FaultLoggerdSystemTest703 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid()714 (void)GetCmdResultFromPopen(launchCmd); in LaunchTestHap()