Searched defs:test (Results 176 - 200 of 427) sorted by relevance

1234567891011>>

/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DCustomDate.class ... CustomDate.java package com.android.layoutlib.test.myapplication public com.android.layoutlib.test ...
H A DMyActivity.class ... MyActivity.java package com.android.layoutlib.test.myapplication public com.android.layoutlib.test ...
H A DR$layout.class ... R.java package com.android.layoutlib.test.myapplication public final com.android.layoutlib. ...
/frameworks/base/core/java/android/test/
H A DPerformanceTestCase.java17 package android.test;
20 * More complex interface performance for test cases.
22 * If you want your test to be used as a performance test, you must
42 * if you use it, you will probably want to ensure your test is only
43 * executed once by returning 1. Otherwise, return 0 to allow the test
49 * duration of the test whose performance should actually be measured.
59 * This method is used to determine what modes this test case can run in.
61 * @return true if this test case can only be run in performance mode.
/frameworks/base/core/tests/coretests/src/android/util/
H A DTouchModeFlexibleAsserts.java21 import android.test.InstrumentationTestCase;
22 import android.test.TouchUtils;
36 public static void assertInTouchModeAfterClick(InstrumentationTestCase test, View viewToTouch) { argument
40 TouchUtils.clickView(test, viewToTouch);
48 public static void assertInTouchModeAfterTap(InstrumentationTestCase test, View viewToTouch) { argument
52 TouchUtils.tapView(test, viewToTouch);
60 public static void assertNotInTouchModeAfterKey(InstrumentationTestCase test, int keyCode, View checkForTouchMode) { argument
61 test.sendKeys(keyCode);
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
H A DServicesTests.java17 package com.android.framework.multidexlegacytestservices.test;
20 import android.test.InstrumentationTestCase;
27 com.android.framework.multidexlegacytestservices.test/android.test.InstrumentationTestRunner
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java16 package android.test;
28 * A bandwidth test case that collects bandwidth statistics for tests that are
29 * annotated with {@link BandwidthTest} otherwise the test is executed
92 * If bandwidth profiling fails for whatever reason the test
133 // Report current iteration number, if test is repetitive
/frameworks/base/libs/androidfw/tests/
H A DConfigLocale_test.cpp174 ResTable_config test; local
175 test.setBcp47Locale("en-US");
176 EXPECT_EQ('e', test.language[0]);
177 EXPECT_EQ('n', test.language[1]);
178 EXPECT_EQ('U', test.country[0]);
179 EXPECT_EQ('S', test.country[1]);
180 EXPECT_EQ(0, test.localeScript[0]);
181 EXPECT_EQ(0, test.localeVariant[0]);
183 test.setBcp47Locale("eng-419");
185 test
[all...]
/frameworks/base/libs/hwui/tests/
H A DTestContext.cpp21 namespace test { namespace in namespace:android::uirenderer
75 } // namespace test
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DMimePredicate.java50 for (String test : tests) {
51 if (mimeMatches(filters, test)) {
62 for (String test : tests) {
63 if (mimeMatches(filter, test)) {
70 public static boolean mimeMatches(String[] filters, String test) { argument
75 if (mimeMatches(filter, test)) {
82 public static boolean mimeMatches(String filter, String test) { argument
83 if (test == null) {
87 } else if (filter.equals(test)) {
90 return filter.regionMatches(0, test,
[all...]
/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase.java17 package android.test;
22 * This class provides functional testing of a single activity. The activity under test will
27 * <p>If you prefer an isolated unit test, see {@link android.test.ActivityUnitTestCase}.
30 * {@link android.test.ActivityInstrumentationTestCase2}, which provides more options for
31 * configuring the Activity under test
44 * @param activityClass The activity to test. This must be a class in the instrumentation
55 * @param activityClass The activity to test. This must be a class in the instrumentation
85 // creates a non-static inner class (thus referencing the test case) and gives it to
H A DActivityInstrumentationTestCase2.java17 package android.test;
25 * This class provides functional testing of a single activity. The activity under test will
29 * <p>Other options supported by this test case include:
31 * <li>You can run any test method on the UI thread (see {@link android.test.UiThreadTest}).</li>
36 * <p>This class replaces {@link android.test.ActivityInstrumentationTestCase}, which is deprecated.
39 * <p>If you prefer an isolated unit test, see {@link android.test.ActivityUnitTestCase}.
57 * @param activityClass The activity to test. This must be a class in the instrumentation
70 * @param activityClass The activity to test
[all...]
H A DClassPathPackageInfo.java17 package android.test;
H A DSingleLaunchActivityTestCase.java17 package android.test;
22 * If you would like to test a single activity with an
23 * {@link android.test.InstrumentationTestCase}, this provides some of the boiler plate to
43 * @param activityClass The activity to test.
52 * The activity that will be set up for use in each test method.
63 // If it is the first test case, launch the activity.
74 // If it is the last test case, call finish on the activity.
H A DSyncBaseInstrumentation.java17 package android.test;
27 * If you would like to test sync a single provider with an
62 // Finish test if time to sync has exceeded max time.
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestPredicates.java17 package android.test.suitebuilder;
19 import android.test.InstrumentationTestCase;
20 import android.test.suitebuilder.annotation.HasAnnotation;
21 import android.test.suitebuilder.annotation.Suppress;
22 import android.test.suitebuilder.annotation.LargeTest;
23 import android.test.suitebuilder.annotation.MediumTest;
24 import android.test.suitebuilder.annotation.SmallTest;
25 import android.test.suitebuilder.annotation.Smoke;
/frameworks/base/test-runner/tests/src/android/test/
H A DTestCaseUtilTest.java17 package android.test;
47 Test test = TestCaseUtil.createTestSuite(OneTestTestCase.class);
48 assertEquals(1, test.countTestCases());
52 Test test = TestCaseUtil.createTestSuite(TwoTestsInTestSuite.class);
53 assertEquals(2, test.countTestCases());
57 Test test = TestCaseUtil.createTestSuite(OneTestTestCaseWithSuite.class);
58 assertEquals(1, test.countTestCases());
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
H A DHasAnnotationTest.java17 package android.test.suitebuilder.annotation;
19 import android.test.suitebuilder.TestMethod;
H A DHasClassAnnotationTest.java17 package android.test.suitebuilder.annotation;
19 import android.test.suitebuilder.TestMethod;
H A DHasMethodAnnotationTest.java17 package android.test.suitebuilder.annotation;
19 import android.test.suitebuilder.TestMethod;
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DIsolatedService.java17 package com.google.android.test.activity;
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DMainView.java17 package com.android.test.hwuicompare;
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DMainActivity.java1 package com.android.test.hierarchyviewer;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DAlpha8BitmapActivity.java17 package com.android.test.hwui;
H A DAssetsAtlasActivity.java17 package com.android.test.hwui;

Completed in 868 milliseconds

1234567891011>>