Home
last modified time | relevance | path

Searched refs:ShellHelper (Results 1 – 10 of 10) sorted by relevance

/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()
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 …]
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()
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()
Dmediatranscodingservice_real_tests.cpp248 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 …]
DMediaTranscodingServiceTestHelper.h92 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/
DTracePerfTest.java22 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/
DSettingsHelper.java45 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()
DShellHelper.java31 public final class ShellHelper { class
68 private ShellHelper() { in ShellHelper() method in ShellHelper
/frameworks/base/native/android/tests/activitymanager/nativeTests/src/
DActivityManagerNativeTest.cpp84 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/
DBenchmarkRunner.java21 import android.perftests.utils.ShellHelper;
78 ShellHelper.runShellCommand("am wait-for-broadcast-idle"); in prepareForNextRun()
DUserLifecycleTests.java46 import android.perftests.utils.ShellHelper;
780 String result = ShellHelper.runShellCommand( in setUserTypePackageWhitelistMode()