Searched refs:ShellHelper (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/services/mediatranscoding/tests/ |
D | mediatranscodingservice_simulated_tests.cpp | 372 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in TEST_F() 373 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in TEST_F() 374 EXPECT_TRUE(ShellHelper::Stop(kClientPackageA)); in TEST_F() 375 EXPECT_TRUE(ShellHelper::Stop(kClientPackageB)); in TEST_F() 376 EXPECT_TRUE(ShellHelper::Stop(kClientPackageC)); in TEST_F() 381 EXPECT_TRUE(ShellHelper::Start(kClientPackageA, kTestActivityName)); in TEST_F() 393 EXPECT_TRUE(ShellHelper::Start(kClientPackageB, kTestActivityName)); in TEST_F() 407 EXPECT_TRUE(ShellHelper::Start(kClientPackageA, kTestActivityName)); in TEST_F() 423 EXPECT_TRUE(ShellHelper::Stop(kClientPackageA)); in TEST_F() 424 EXPECT_TRUE(ShellHelper::Stop(kClientPackageB)); in TEST_F() [all …]
|
D | mediatranscodingservice_resource_tests.cpp | 138 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in TEST_F() 139 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in TEST_F() 140 EXPECT_TRUE(ShellHelper::Stop(kClientPackageA)); in TEST_F() 149 EXPECT_TRUE(ShellHelper::Start(kClientPackageA, kTestActivityName)); in TEST_F() 164 EXPECT_TRUE(ShellHelper::Start(kClientPackageA, kResourcePolicyTestActivity)); in TEST_F() 200 EXPECT_TRUE(ShellHelper::Stop(kClientPackageA)); in TEST_F()
|
D | mediatranscodingservice_real_tests.cpp | 248 EXPECT_TRUE(ShellHelper::Start(kClientPackageA, kTestActivityName)); in TEST_F() 259 EXPECT_TRUE(ShellHelper::Start(kClientPackageB, kTestActivityName)); in TEST_F() 300 EXPECT_TRUE(ShellHelper::Start(kClientPackageA, kTestActivityName)); in TEST_F() 313 EXPECT_TRUE(ShellHelper::Stop(kClientPackageA)); in TEST_F() 339 EXPECT_TRUE(ShellHelper::Start(kClientPackageB, kTestActivityName)); in TEST_F() 350 EXPECT_TRUE(ShellHelper::Start(kClientPackageA, kTestActivityName)); in TEST_F() 355 EXPECT_TRUE(ShellHelper::Stop(kClientPackageA)); in TEST_F() 359 EXPECT_TRUE(ShellHelper::Stop(kClientPackageB)); in TEST_F() 384 EXPECT_TRUE(ShellHelper::Start(kClientPackageB, kTestActivityName)); in TEST_F() 393 EXPECT_TRUE(ShellHelper::Start(kClientPackageA, kTestActivityName)); in TEST_F() [all …]
|
D | MediaTranscodingServiceTestHelper.h | 92 struct ShellHelper { struct 539 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in dismissKeyguard() 540 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in dismissKeyguard() 544 EXPECT_TRUE(ShellHelper::Stop(kClientPackageA)); in stopAppPackages() 545 EXPECT_TRUE(ShellHelper::Stop(kClientPackageB)); in stopAppPackages() 546 EXPECT_TRUE(ShellHelper::Stop(kClientPackageC)); in stopAppPackages()
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | TracePerfTest.java | 22 import android.perftests.utils.ShellHelper; 41 ShellHelper.runShellCommandRaw("atrace -c --async_start -a *"); in startTracing() 46 ShellHelper.runShellCommandRaw("atrace --async_stop"); in endTracing()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | SettingsHelper.java | 45 ShellHelper.runShellCommand("settings put %s %s %s default", namespace, key, value); in set() 76 ShellHelper.runShellCommand("settings delete %s %s", namespace, key); in delete() 103 return ShellHelper.runShellCommand("settings get %s %s", namespace, key); in get()
|
D | ShellHelper.java | 31 public final class ShellHelper { class 68 private ShellHelper() { in ShellHelper() method in ShellHelper
|
/frameworks/base/native/android/tests/activitymanager/nativeTests/src/ |
D | ActivityManagerNativeTest.cpp | 84 struct ShellHelper { struct 125 EXPECT_TRUE(ShellHelper::Start(kTestPackage, kTestActivity)); in TEST_F() 132 EXPECT_TRUE(ShellHelper::Stop(kTestPackage)); in TEST_F()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | BenchmarkRunner.java | 21 import android.perftests.utils.ShellHelper; 78 ShellHelper.runShellCommand("am wait-for-broadcast-idle"); in prepareForNextRun()
|
D | UserLifecycleTests.java | 46 import android.perftests.utils.ShellHelper; 780 String result = ShellHelper.runShellCommand( in setUserTypePackageWhitelistMode()
|