Searched refs:test (Results 126 - 150 of 2693) sorted by relevance

1234567891011>>

/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DR$menu.class ... R.java package com.android.layoutlib.test.myapplication public final com.android.layoutlib. ...
H A DR$style.class ... R.java package com.android.layoutlib.test.myapplication public final com.android.layoutlib. ...
H A DR.class ... R.java package com.android.layoutlib.test.myapplication public final com.android.layoutlib. ...
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/
H A DJavaClass.java21 public static final String test = "test"; field in class:JavaClass
/frameworks/layoutlib/create/tests/mock_data/mock_android/view/
H A DView.java23 String x = JavaClass.test;
/frameworks/opt/setupwizard/library/platform/test/src/com/android/setupwizardlib/test/util/
H A DDrawingTestActivity.java17 package com.android.setupwizardlib.test.util;
22 * Activity to test view and drawable drawing behaviors. This is used to make sure that the drawing
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
H A DRecyclerViewTestActivity.java17 package android.support.v7.widget.test;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DTrivialRecyclerViewActivity.java16 package com.android.test.uibench;
20 import com.android.test.uibench.recyclerview.RvArrayAdapter;
21 import com.android.test.uibench.recyclerview.RvCompatListActivity;
/frameworks/base/test-runner/src/android/test/
H A DTestPrinter.java17 package android.test;
27 * Prints the test progress to stdout. Android includes a default
28 * implementation and calls these methods to print out test progress; you
30 * See the full {@link android.test} package description for information about
31 * getting test results.
73 private void failed(Test test, Throwable t) { argument
74 mFailedTests.add(test.toString());
75 failed(test.toString(), t);
78 public void addError(Test test, Throwable t) { argument
79 failed(test,
82 addFailure(Test test, junit.framework.AssertionFailedError t) argument
86 endTest(Test test) argument
94 startTest(Test test) argument
[all...]
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DRSTestListActivity.java17 package com.android.rs.test;
35 protected void logStartUnitTest(UnitTest test) { argument
36 test.logStart(TAG, "RenderScript Testing");
40 protected void logEndUnitTest(UnitTest test) { argument
41 test.logEnd(TAG);
/frameworks/base/tools/aapt2/process/
H A DSymbolTable_test.cpp19 #include "test/Test.h"
25 test::ResourceTableBuilder()
29 test::AttributeBuilder().Build())
33 EXPECT_NE(nullptr, symbol_source.FindByName(test::ParseNameOrDie("android:id/foo")));
34 EXPECT_NE(nullptr, symbol_source.FindByName(test::ParseNameOrDie("android:id/bar")));
37 symbol_source.FindByName(test::ParseNameOrDie("android:attr/foo"));
44 test::ResourceTableBuilder()
46 test::AttributeBuilder().Build())
51 symbol_source.FindByName(test::ParseNameOrDie("android:attr/foo"));
58 test
[all...]
/frameworks/base/legacy-test/src/junit/framework/
H A DTestResult.java11 * a test case. It is an instance of the Collecting Parameter pattern.
12 * The test framework distinguishes between <i>failures</i> and <i>errors</i>.
40 public synchronized void addError(Test test, Throwable t) { argument
41 fErrors.add(new TestFailure(test, t));
43 each.addError(test, t);
49 public synchronized void addFailure(Test test, AssertionFailedError t) { argument
50 fFailures.add(new TestFailure(test, t));
52 each.addFailure(test, t);
75 * Informs the result that a test was completed.
77 public void endTest(Test test) { argument
111 run(final TestCase test) argument
131 runProtected(final Test test, Protectable p) argument
154 startTest(Test test) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DDragHandleUtils.java19 import static android.support.test.espresso.Espresso.onView;
20 import static android.support.test.espresso.assertion.ViewAssertions.matches;
21 import static android.support.test.espresso.matcher.RootMatchers.withDecorView;
22 import static android.support.test.espresso.matcher.ViewMatchers.hasDescendant;
23 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
24 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
25 import static android.support.test.espresso.matcher.ViewMatchers.withId;
28 import android.support.test.espresso.NoMatchingRootException;
29 import android.support.test.espresso.NoMatchingViewException;
30 import android.support.test
[all...]
H A DContextMenuUtils.java19 import static android.support.test.espresso.Espresso.onView;
20 import static android.support.test.espresso.assertion.ViewAssertions.matches;
21 import static android.support.test.espresso.matcher.RootMatchers.withDecorView;
22 import static android.support.test.espresso.matcher.ViewMatchers.hasDescendant;
23 import static android.support.test.espresso.matcher.ViewMatchers.hasFocus;
24 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
25 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
26 import static android.support.test.espresso.matcher.ViewMatchers.isEnabled;
27 import static android.support.test.espresso.matcher.ViewMatchers.withText;
33 import android.support.test
[all...]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestResultInstrumentation.java20 import android.test.InstrumentationTestRunner;
27 * Instrumentation that can show the test result in the TestResultActivity.
45 // Show the test result by using activity because we need to disconnect USB cable
52 public void addError(Test test, Throwable t) { argument
54 show("ERROR", test, t);
58 public void addFailure(Test test, AssertionFailedError t) { argument
60 show("FAIL", test, t);
64 public void endTest(Test test) { argument
66 show("PASS", test, null);
71 public void startTest(Test test) { argument
79 show(String tag, Test test, Throwable t) argument
[all...]
/frameworks/base/tools/aapt2/link/
H A DAutoVersioner_test.cpp20 #include "test/Test.h"
27 const ConfigDescription land_config = test::ParseConfigOrDie("land");
28 const ConfigDescription sw600dp_land_config = test::ParseConfigOrDie("sw600dp-land");
40 const ConfigDescription sw600dp_v13_config = test::ParseConfigOrDie("sw600dp-v13");
41 const ConfigDescription v21_config = test::ParseConfigOrDie("v21");
54 test::ResourceTableBuilder()
57 "app:style/Foo", test::ParseConfigOrDie("v4"),
59 test::StyleBuilder()
70 "app:style/Foo", test::ParseConfigOrDie("v21"),
72 test
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/
H A DAndroid.mk8 LOCAL_JAVA_LIBRARIES := android.test.runner
12 android-support-test \
14 legacy-android-test
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatImageViewTest.java18 import static android.support.test.espresso.Espresso.onView;
19 import static android.support.test.espresso.assertion.ViewAssertions.matches;
20 import static android.support.test.espresso.matcher.ViewMatchers.withId;
22 import android.support.test.espresso.ViewInteraction;
23 import android.support.test.filters.SmallTest;
24 import android.support.v7.appcompat.test.R;
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DListTestCaseNames.java17 package android.test.suitebuilder;
32 for (Test test : tests) {
33 if (test instanceof TestCase) {
34 testCaseNames.add(((TestCase) test).getName());
35 } else if (test instanceof TestSuite) {
36 testCaseNames.addAll(getTestCaseNames((TestSuite) test));
43 * Returns a list of test class and method names for each TestCase in suite.
48 for (Test test : tests) {
49 if (test instanceof TestCase) {
50 String className = test
[all...]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests/src/com/android/multidexlegacytestapp/test/
H A DSubTest.java1 package com.android.multidexlegacytestapp.test;
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTest.java17 package android.test;
23 * This annotation can be used on an {@link junit.framework.TestCase}'s test methods. When the
24 * annotation is present, the test method is profiled for bandwidth metrics and the results
26 * which is equivalent to tagging all test methods with this annotation.
/frameworks/base/libs/hwui/tests/common/
H A DLeakChecker.h20 namespace test { namespace in namespace:android::uirenderer
27 } /* namespace test */
/frameworks/base/test-runner/src/android/test/mock/
H A DMockDialogInterface.java17 package android.test.mock;
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/constructor/
H A DProtectedConstructorTest.java17 package android.test.suitebuilder.examples.constructor;
22 * A protected constructor test case that should not be loaded.
H A DPublicConstructorTest.java17 package android.test.suitebuilder.examples.constructor;
22 * A public constructor test case that should be loaded.

Completed in 1294 milliseconds

1234567891011>>