/platform_testing/libraries/health/options/tests/src/android/platform/test/options/ |
D | TestOptionTest.java | 16 package android.platform.test.option; 72 TestableOption option = new TestableOption(OPTION_NAME); in testSuppliedValue_valid() local 73 option.stubValue(VALUE_VALID); in testSuppliedValue_valid() 78 Assert.assertEquals(VALUE_VALID, option.get()); in testSuppliedValue_valid() 81 Statement withOption = option.apply(testStatement, Description.EMPTY); in testSuppliedValue_valid() 90 TestableOption option = new TestableOption(OPTION_NAME); in testSuppliedValue_invalid() local 91 option.stubValue(VALUE_INVALID); in testSuppliedValue_invalid() 96 Assert.assertEquals(VALUE_VALID, option.get()); in testSuppliedValue_invalid() 99 Statement withOption = option.apply(testStatement, Description.EMPTY); in testSuppliedValue_invalid() 108 TestableOption option = new TestableOption(OPTION_NAME).setRequired(true); in testRequiredValueAbsent_explicit() local [all …]
|
D | BooleanOptionTest.java | 16 package android.platform.test.option; 51 TestableBooleanOption option = new TestableBooleanOption(OPTION_NAME); in testParsing_true() local 52 option.stubValue(String.valueOf(true)); in testParsing_true() 57 Assert.assertEquals(true, option.get()); in testParsing_true() 60 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_true() 67 TestableBooleanOption option = new TestableBooleanOption(OPTION_NAME); in testParsing_false() local 68 option.stubValue("not true"); in testParsing_false() 73 Assert.assertEquals(false, option.get()); in testParsing_false() 76 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_false()
|
D | LongOptionTest.java | 16 package android.platform.test.option; 55 TestableLongOption option = new TestableLongOption(OPTION_NAME); in testParsing_valid() local 58 option.stubValue(String.valueOf(value)); in testParsing_valid() 63 Assert.assertEquals(value, option.get()); in testParsing_valid() 66 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_valid() 75 TestableLongOption option = new TestableLongOption(OPTION_NAME); in testParsing_invalid() local 76 option.stubValue("not an long"); in testParsing_invalid() 81 option.get(); in testParsing_invalid() 84 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_invalid()
|
D | IntegerOptionTest.java | 16 package android.platform.test.option; 55 TestableIntegerOption option = new TestableIntegerOption(OPTION_NAME); in testParsing_valid() local 58 option.stubValue(String.valueOf(value)); in testParsing_valid() 63 Assert.assertEquals(value, option.get()); in testParsing_valid() 66 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_valid() 75 TestableIntegerOption option = new TestableIntegerOption(OPTION_NAME); in testParsing_invalid() local 76 option.stubValue("not an integer"); in testParsing_invalid() 81 option.get(); in testParsing_invalid() 84 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_invalid()
|
D | DoubleOptionTest.java | 16 package android.platform.test.option; 55 TestableDoubleOption option = new TestableDoubleOption(OPTION_NAME); in testParsing_valid() local 58 option.stubValue(String.valueOf(value)); in testParsing_valid() 63 Assert.assertEquals(value, option.get()); in testParsing_valid() 66 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_valid() 75 TestableDoubleOption option = new TestableDoubleOption(OPTION_NAME); in testParsing_invalid() local 76 option.stubValue("not a number"); in testParsing_invalid() 81 option.get(); in testParsing_invalid() 84 Statement withOption = option.apply(testStatement, Description.EMPTY); in testParsing_invalid()
|
D | StringOptionTest.java | 16 package android.platform.test.option; 51 TestableStringOption option = new TestableStringOption(OPTION_NAME); in testRetrieval() local 53 option.stubValue(value); in testRetrieval() 58 Assert.assertEquals(value, option.get()); in testRetrieval() 61 Statement withOption = option.apply(testStatement, Description.EMPTY); in testRetrieval()
|
/platform_testing/libraries/health/runners/longevity/platform/tests/assets/ |
D | testExtraArgs_unregisteredAfterTest.textpb | 6 key: "class-level-option" 14 value: "class-level-option" 20 key: "test-level-option" 28 value: "test-level-option" 34 key: "in-test-option" 42 value: "in-test-option"
|
D | testExtraArgs_registeredBeforeTest.textpb | 6 key: "class-level-option" 13 key: "test-level-option" 20 key: "in-test-option"
|
/platform_testing/libraries/sts-common-util/sts-sdk/package/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
D | UiBenchLeanbackJankTests.java | 100 Option option = method.getAnnotation(Option.class); in beforeTest() local 102 extrasBundle.putBoolean(EXTRA_BITMAP_UPLOAD, option.extraBitmapUpload()); in beforeTest() 103 extrasBundle.putBoolean(EXTRA_SHOW_FAST_LANE, option.extraShowFastLane()); in beforeTest() 104 mHelper.launchActivity(option.activity(), extrasBundle, option.expectedText()); in beforeTest()
|
/platform_testing/utils/shell-as/ |
D | command-line.cpp | 99 struct option long_options[] = { in ParseOptions() 107 int option; in ParseOptions() local 112 while ((option = getopt_long(argc, argv, short_options, long_options, in ParseOptions() 114 switch (option) { in ParseOptions()
|
/platform_testing/tests/jank/jankmicrobenchmark/src/com/android/jankmicrobenchmark/janktests/ |
D | ApiDemoJankTests.java | 98 UiObject2 option = mDevice.wait(Until.findObject( in selectAnimation() local 101 while (option == null && maxAttempt > 0) { in selectAnimation() 104 option = mDevice.wait(Until.findObject(By.res(RES_PACKAGE_NAME, "text1") in selectAnimation() 108 Assert.assertNotNull("Target option in APiDemos animation for test isn't found", option); in selectAnimation() 109 option.click(); in selectAnimation() 290 UiObject2 option = null; in selectViews() local 292 while (option == null && maxAttempt > 0) { in selectViews() 293 option = mDevice.wait(Until.findObject(By.res(RES_PACKAGE_NAME, "text1") in selectViews() 295 if (option == null) { in selectViews() 301 Assert.assertNotNull("Target option to be tested in ApiDemos Views can't be found", option); in selectViews() [all …]
|
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/system/ |
D | ScreenOff.java | 21 import android.platform.test.option.BooleanOption; 22 import android.platform.test.option.LongOption;
|
/platform_testing/libraries/health/options/src/android/platform/test/option/ |
D | StringOption.java | 16 package android.platform.test.option;
|
D | IntegerOption.java | 16 package android.platform.test.option;
|
D | DoubleOption.java | 16 package android.platform.test.option;
|
D | BooleanOption.java | 16 package android.platform.test.option;
|
D | LongOption.java | 16 package android.platform.test.option;
|
/platform_testing/tests/apphealth/scenarios/src/android/platform/test/scenario/facebook/ |
D | OpenApp.java | 20 import android.platform.test.option.IntegerOption; 21 import android.platform.test.option.StringOption;
|
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/sample/ |
D | SampleTest.java | 20 import android.platform.test.option.BooleanOption; 120 public static void failIfRequested(BooleanOption option, String location) { in failIfRequested() argument 121 if (option.get()) { in failIfRequested()
|
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/generic/ |
D | OpenApps.java | 21 import android.platform.test.option.LongOption; 22 import android.platform.test.option.StringOption;
|
D | OpenApp.java | 24 import android.platform.test.option.LongOption; 25 import android.platform.test.option.StringOption;
|
D | MathWork.java | 20 import android.platform.test.option.IntegerOption; 21 import android.platform.test.option.LongOption;
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/ |
D | IAutoSystemSettingsHelper.java | 104 boolean verifyUsageinGB(String option); in verifyUsageinGB() argument
|
/platform_testing/tests/health/scenarios/tests/src/android/platform/test/scenario/generic/ |
D | IdleInAppMicrobenchmark.java | 24 import android.platform.test.option.LongOption; 25 import android.platform.test.option.StringOption;
|