Searched refs:RunCmd (Results 1 – 4 of 4) sorted by relevance
85 static bool RunCmd(const std::string& cmdStr) { in RunCmd() function95 return RunCmd("am start -W " + std::string(packageName) + "/" + std::string(activityName) + in Start()100 return RunCmd("am force-stop " + std::string(packageName)); in Stop()
372 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in TEST_F()373 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in TEST_F()433 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in TEST_F()434 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in TEST_F()489 EXPECT_TRUE(ShellHelper::RunCmd("cmd thermalservice override-status 3")); in TEST_F()493 EXPECT_TRUE(ShellHelper::RunCmd("cmd thermalservice override-status 4")); in TEST_F()497 EXPECT_TRUE(ShellHelper::RunCmd("cmd thermalservice override-status 2")); in TEST_F()501 EXPECT_TRUE(ShellHelper::RunCmd("cmd thermalservice override-status 1")); in TEST_F()
138 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in TEST_F()139 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in TEST_F()
93 static bool RunCmd(const std::string& cmdStr) { in RunCmd() function103 return RunCmd("am start -W " + std::string(packageName) + std::string(activityName) + in Start()108 return RunCmd("am force-stop " + std::string(packageName)); in Stop()539 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in dismissKeyguard()540 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in dismissKeyguard()