Home
last modified time | relevance | path

Searched refs:RunCmd (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/native/android/tests/activitymanager/nativeTests/src/
DActivityManagerNativeTest.cpp85 static bool RunCmd(const std::string& cmdStr) { in RunCmd() function
95 return RunCmd("am start -W " + std::string(packageName) + "/" + std::string(activityName) + in Start()
100 return RunCmd("am force-stop " + std::string(packageName)); in Stop()
/frameworks/av/services/mediatranscoding/tests/
Dmediatranscodingservice_simulated_tests.cpp372 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()
Dmediatranscodingservice_resource_tests.cpp138 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in TEST_F()
139 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in TEST_F()
DMediaTranscodingServiceTestHelper.h93 static bool RunCmd(const std::string& cmdStr) { in RunCmd() function
103 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()