Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/generic/
DOpenAppMicrobenchmark.java16 package android.platform.test.scenario.generic;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.IorapCompilationRule;
22 import android.platform.test.rule.KillAppsRule;
23 import android.platform.test.rule.PressHomeRule;
/platform_testing/libraries/health/runners/longevity/
DREADME.md3 This library serves as a test runner for longevity suites, which exercise test cases repeatedly in
4 order to exercise or stress the device under test. Annotate a collection of JUnit test classes with
20 **Run simple test suite 50 times, and quit when an error is encountered.**
23 org.junit.runner.JUnitCore android.host.test.longevity.samples.SimpleSuite`
25 **Run simple test suite 10 times, shuffle all tests, and quit after 30 minutes.**
29 org.junit.runner.JUnitCore android.host.test.longevity.samples.SimpleSuite`
36 android.platform.test.longevity.samples/androidx.runner.AndroidJUnitRunner`
38 **Run simple test suite 50 times, and quit when an error is encountered.**
41 -e class android.platform.test.longevity.samples.SimpleSuite
42 android.platform.test.longevity.samples/androidx.test.runner.AndroidJUnitRunner`
[all …]
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/performancelaunch/hermeticapp/
DOpenSimpleSurfaceGLActivityMicrobenchmark.java16 package android.platform.test.scenario.performancelaunch.hermeticapp;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
DOpenManyConfigResourceActivityMicrobenchmark.java16 package android.platform.test.scenario.performancelaunch.hermeticapp;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
DOpenEmptyWebViewActivityMicrobenchmark.java16 package android.platform.test.scenario.performancelaunch.hermeticapp;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
DOpenEmptyActivityMicrobenchmark.java16 package android.platform.test.scenario.performancelaunch.hermeticapp;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/businesscard/
DOpenAppMicrobenchmark.java16 package android.platform.test.scenario.businesscard;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/performancelaunch/
DOpenAppMicrobenchmark.java16 package android.platform.test.scenario.performancelaunch;
18 import android.platform.test.microbenchmark.Microbenchmark;
19 import android.platform.test.rule.CompilationFilterRule;
20 import android.platform.test.rule.DropCachesRule;
21 import android.platform.test.rule.KillAppsRule;
22 import android.platform.test.rule.PressHomeRule;
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/profile/
DCommonUserProfileTest.java17 package android.platform.test.scenario.profile;
19 import android.platform.test.longevity.ProfileSuite;
20 import android.platform.test.rule.NaturalOrientationRule;
29 android.platform.test.scenario.generic.OpenApp.class,
30 android.platform.test.scenario.sleep.Idle.class,
/platform_testing/libraries/health/runners/longevity/platform/samples/assets/
Dsample_indexed_profile.textpb4 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
7 journey: "android.platform.test.longevity.samples.SimpleSuite$FailingTest"
10 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
13 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
16 journey: "android.platform.test.longevity.samples.SimpleSuite$FailingTest"
Dsample_scheduled_profile.textpb4 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
8 journey: "android.platform.test.longevity.samples.SimpleSuite$FailingTest"
11 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
15 journey: "android.platform.test.longevity.samples.SimpleSuite$PassingTest"
19 journey: "android.platform.test.longevity.samples.SimpleSuite$FailingTest"
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DSettingsFlingJankTest.java21 import android.support.test.jank.GfxMonitor;
22 import android.support.test.jank.JankTest;
23 import android.support.test.jank.JankTestBase;
24 import android.support.test.jank.WindowAnimationFrameStatsMonitor;
25 import android.support.test.uiautomator.By;
26 import android.support.test.uiautomator.Direction;
27 import android.support.test.uiautomator.UiDevice;
28 import android.support.test.uiautomator.UiObject2;
29 import android.support.test.uiautomator.Until;
DAppLauncherFlingJankTest.java23 import android.support.test.jank.GfxMonitor;
24 import android.support.test.jank.JankTest;
25 import android.support.test.jank.JankTestBase;
26 import android.support.test.uiautomator.By;
27 import android.support.test.uiautomator.Direction;
28 import android.support.test.uiautomator.UiDevice;
29 import android.support.test.uiautomator.UiObject2;
30 import android.support.test.uiautomator.Until;
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DILauncherStrategy.java16 package android.support.test.launcherhelper;
18 import android.support.test.uiautomator.BySelector;
19 import android.support.test.uiautomator.Direction;
20 import android.support.test.uiautomator.UiDevice;
21 import android.support.test.uiautomator.UiObject2;
DLauncher3Strategy.java16 package android.support.test.launcherhelper;
18 import android.support.test.uiautomator.By;
19 import android.support.test.uiautomator.BySelector;
20 import android.support.test.uiautomator.UiObject2;
DAllAppsScreenHelper.java17 package android.support.test.launcherhelper;
20 import android.support.test.InstrumentationRegistry;
21 import android.support.test.uiautomator.By;
22 import android.support.test.uiautomator.UiDevice;
23 import android.support.test.uiautomator.UiObject2;
24 import android.support.test.uiautomator.Until;
46 mInstrumentation = androidx.test.InstrumentationRegistry.getInstrumentation(); in AllAppsScreenHelper()
/platform_testing/tests/jank/webview/src/com/android/webview/chromium/tests/jank/
DWebViewFlingTest.java22 import android.support.test.jank.JankTest;
23 import android.support.test.jank.JankTestBase;
24 import android.support.test.jank.GfxMonitor;
25 import android.support.test.jank.WindowContentFrameStatsMonitor;
26 import android.support.test.uiautomator.By;
27 import android.support.test.uiautomator.Direction;
28 import android.support.test.uiautomator.UiDevice;
29 import android.support.test.uiautomator.UiObject2;
30 import android.support.test.uiautomator.UiScrollable;
31 import android.support.test.uiautomator.UiSelector;
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDexTestRunner.java17 package android.support.test.aupt;
20 import android.test.AndroidTestRunner;
173 Test test = null; in addTestClassByName() local
177 test = (Test) testClass.getConstructor().newInstance(); in addTestClassByName()
181 test = (Test) testClass.getConstructor(String.class).newInstance(methodName); in addTestClassByName()
184 addTest(test); in addTestClassByName()
198 public void setTest(Test test) { in setTest() argument
200 addTest(test); in setTest()
203 if (TestSuite.class.isAssignableFrom(test.getClass())) { in setTest()
204 mTestClassName = ((TestSuite) test).getName(); in setTest()
[all …]
DAuptTestRunner.java17 package android.support.test.aupt;
28 import android.support.test.uiautomator.UiDevice;
29 import android.test.AndroidTestRunner;
30 import android.test.InstrumentationTestCase;
31 import android.test.InstrumentationTestRunner;
34 import androidx.test.InstrumentationRegistry;
208 for (TestCase test: mTestCases) { in onCreate()
209 injectInstrumentation(test); in onCreate()
272 private void injectInstrumentation(Test test) { in injectInstrumentation() argument
273 if (InstrumentationTestCase.class.isAssignableFrom(test.getClass())) { in injectInstrumentation()
[all …]
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/system/
DScreenOff.java17 package android.platform.test.scenario.system;
21 import android.platform.test.option.BooleanOption;
22 import android.platform.test.option.LongOption;
23 import android.platform.test.scenario.annotation.Scenario;
24 import android.support.test.uiautomator.UiDevice;
25 import androidx.test.InstrumentationRegistry;
DScreenOn.java17 package android.platform.test.scenario.system;
21 import android.platform.test.option.LongOption;
22 import android.platform.test.scenario.annotation.Scenario;
23 import android.support.test.uiautomator.UiDevice;
24 import androidx.test.InstrumentationRegistry;
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchWebView.java22 import android.support.test.jank.GfxMonitor;
23 import android.support.test.jank.JankTest;
24 import android.support.test.jank.JankTestBase;
25 import android.support.test.uiautomator.By;
26 import android.support.test.uiautomator.UiDevice;
27 import android.support.test.uiautomator.Until;
DUiBenchTransitionsJankTests.java22 import android.support.test.jank.GfxMonitor;
23 import android.support.test.jank.JankTest;
24 import android.support.test.jank.JankTestBase;
25 import android.support.test.uiautomator.By;
26 import android.support.test.uiautomator.UiDevice;
27 import android.support.test.uiautomator.UiObject2;
28 import android.support.test.uiautomator.Until;
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DHotseatHelper.java21 import android.support.test.InstrumentationRegistry;
22 import android.support.test.uiautomator.By;
23 import android.support.test.uiautomator.UiDevice;
24 import android.support.test.uiautomator.UiObject2;
25 import android.support.test.uiautomator.UiObjectNotFoundException;
26 import android.support.test.uiautomator.Until;
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/performancelaunch/hermeticapp/
DPerformanceBase.java16 package android.platform.test.scenario.performancelaunch.hermeticapp;
20 import android.support.test.uiautomator.UiDevice;
21 import android.support.test.uiautomator.Until;
22 import android.support.test.uiautomator.By;
24 import androidx.test.InstrumentationRegistry;

12345678910>>...19