Searched defs:test (Results 1 - 25 of 222) sorted by last modified time

123456789

/frameworks/compile/libbcc/runtime/test/timing/
H A Dtime3 function test () { function
29 test $ARCH $FILE libgcc ""
30 test $ARCH $FILE tuned ../../darwin_fat/Release/libcompiler_rt.a
32 test $ARCH $FILE installed $INSTALLED
/frameworks/compile/libbcc/tests/data/src/
H A Dfilm.c3 int test(int x, int y) { function
36 int a = test(x,y);
/frameworks/base/native/android/
H A Dconfiguration.cpp223 int32_t AConfiguration_isBetterThan(AConfiguration* base, AConfiguration* test, argument
225 return base->isBetterThan(*test, requested);
/frameworks/base/opengl/tests/filter/
H A Dfilter.cpp22 const int test = atoi(argv[1]); local
111 switch(test)
/frameworks/base/opengl/tests/testPauseResume/src/com/android/test/
H A DTestActivity.java17 package com.android.test;
H A DTestView.java17 package com.android.test;
/frameworks/base/opengl/tests/testViewport/src/com/android/test/
H A DTestActivity.java17 package com.android.test;
H A DTestView.java17 package com.android.test;
/frameworks/base/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp193 bool test(OP op, int v1, int v2);
206 bool MCameraClient::test(OP op, int v1, int v2) { function in class:MCameraClient
219 if (!test(op, v1, v2)) {
286 if (test(op, v, count)) {
298 if (test(op, v, count)) {
591 // Run a test case
602 // Base test case after the the camera is connected.
666 // Base test case after the the camera is connected and the preview is started.
/frameworks/base/telephony/java/com/android/internal/telephony/test/
H A DModelInterpreter.java17 package com.android.internal.telephony.test;
H A DSimulatedCommands.java17 package com.android.internal.telephony.test;
H A DSimulatedGsmCallState.java17 package com.android.internal.telephony.test;
H A DSimulatedRadioControl.java17 package com.android.internal.telephony.test;
/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase.java17 package android.test;
24 * This class provides functional testing of a single activity. The activity under test will
29 * <p>If you prefer an isolated unit test, see {@link android.test.ActivityUnitTestCase}.
32 * {@link android.test.ActivityInstrumentationTestCase2}, which provides more options for
33 * configuring the Activity under test
46 * @param activityClass The activity to test. This must be a class in the instrumentation
57 * @param activityClass The activity to test. This must be a class in the instrumentation
87 // 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 DActivityTestCase.java17 package android.test;
25 * This is common code used to support Activity test cases. For more useful classes, please see
26 * {@link android.test.ActivityUnitTestCase} and
27 * {@link android.test.ActivityInstrumentationTestCase}.
32 * The activity that will be set up for use in each test method.
37 * @return Returns the activity under test.
44 * Set the activity under test.
45 * @param testActivity The activity under test
54 * test case creates a non-static inner class (thus referencing the test cas
[all...]
H A DActivityUnitTestCase.java17 package android.test;
27 import android.test.mock.MockApplication;
31 * This class provides isolated testing of a single activity. The activity under test will
36 * <p>If you prefer a functional test, see {@link android.test.ActivityInstrumentationTestCase}.
38 * <p>It must be noted that, as a true unit test, your Activity will not be running in the
55 * <p>The following methods may be called but will not do anything. For test purposes, you can use
63 * <p>The following methods may be called but will not do anything. For test purposes, you can use
103 * Start the activity under test, in the same way as if it was started by
109 * cycle methods, you must call them yourself from your test cas
[all...]
H A DAndroidTestRunner.java17 package android.test;
59 public void setTest(Test test) { argument
60 setTest(test, test.getClass());
63 private void setTest(Test test, Class<? extends Test> testClass) { argument
64 mTestCases = (List<TestCase>) TestCaseUtil.getTests(test, true);
66 mTestClassName = TestCaseUtil.getTestName(test);
87 runFailed("Could not find test class. Class: " + testClassName);
98 runFailed("Could not access test class. Class: " + testClass.getName());
100 runFailed("Could not instantiate test clas
173 setContextIfAndroidTestCase(Test test, Context context, Context testContext) argument
184 setInstrumentationIfInstrumentationTestCase( Test test, Instrumentation instrumentation) argument
191 setPerformanceWriterIfPerformanceCollectorTestCase( Test test, PerformanceResultsWriter writer) argument
229 testFailed(int status, Test test, Throwable t) argument
[all...]
H A DApplicationTestCase.java17 package android.test;
26 * This test case provides a framework in which you can test Application classes in
34 * In order to support the lifecycle of a Application, this test case will make the
37 * <ul><li>The test case will not call onCreate() until your test calls
39 * to set up or adjust any additional framework or test logic before
41 * <li>After your test completes, the test case {@link #tearDown} method is
50 * dependencies, and thus perform a true unit test
[all...]
H A DAssertionFailedError.java17 package android.test;
H A DClassPathPackageInfo.java17 package android.test;
H A DClassPathPackageInfoSource.java17 package android.test;
82 // Don't try to load classes that are generated. They usually aren't in test apks.
H A DComparisonFailure.java17 package android.test;
H A DDatabaseTestUtils.java17 package android.test;
H A DInstrumentationCoreTestRunner.java17 package android.test;
35 import android.test.suitebuilder.TestMethod;
36 import android.test.suitebuilder.annotation.HasAnnotation;
40 * This test runner extends the default InstrumentationTestRunner. It overrides
58 * True if (and only if) we are running in single-test mode (as opposed to
90 * The last test class we executed code from.
95 * The minimum time we expect a test to take.
100 * The start time of our current test in System.currentTimeMillis().
104 public void startTest(Test test) {
105 if (test
[all...]

Completed in 671 milliseconds

123456789