Home
last modified time | relevance | path

Searched refs:TestShellActivity (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DMenu.java53 intent.setClass(this, TestShellActivity.class); in processFile()
55 intent.putExtra(TestShellActivity.TEST_URL, "file://" + filename); in processFile()
56 intent.putExtra(TestShellActivity.TOTAL_TEST_COUNT, 1); in processFile()
57 intent.putExtra(TestShellActivity.CURRENT_TEST_NUMBER, 1); in processFile()
65 intent.setClass(this, TestShellActivity.class); in processDirectory()
67 intent.putExtra(TestShellActivity.UI_AUTO_TEST, LAYOUT_TESTS_LIST_FILE); in processDirectory()
68 intent.putExtra(TestShellActivity.TOTAL_TEST_COUNT, testCount); in processDirectory()
71 intent.putExtra(TestShellActivity.CURRENT_TEST_NUMBER, 0); in processDirectory()
DLoadTestsAutoTest.java43 public class LoadTestsAutoTest extends ActivityInstrumentationTestCase2<TestShellActivity> {
57 super(TestShellActivity.class); in LoadTestsAutoTest()
103 final TestShellActivity activity = (TestShellActivity) getActivity(); in runPageCyclerTest()
218 private void runTestAndWaitUntilDone(TestShellActivity activity, String url, int timeout, in runTestAndWaitUntilDone()
234 intent.setClass(activity, TestShellActivity.class); in runTestAndWaitUntilDone()
236 intent.putExtra(TestShellActivity.TEST_URL, url); in runTestAndWaitUntilDone()
237 intent.putExtra(TestShellActivity.TIMEOUT_IN_MILLIS, timeout); in runTestAndWaitUntilDone()
238 intent.putExtra(TestShellActivity.RESULT_FILE, LOAD_TEST_RESULT); in runTestAndWaitUntilDone()
239 intent.putExtra(TestShellActivity.GET_DRAW_TIME, getDrawTime); in runTestAndWaitUntilDone()
241 intent.putExtra(TestShellActivity.SAVE_IMAGE, saveImagePath); in runTestAndWaitUntilDone()
DLayoutTestsAutoTest.java19 import com.android.dumprendertree.TestShellActivity.DumpDataType;
126 public class LayoutTestsAutoTest extends ActivityInstrumentationTestCase2<TestShellActivity> {
164 super(TestShellActivity.class); in LayoutTestsAutoTest()
305 …private void runTestAndWaitUntilDone(TestShellActivity activity, String test, int timeout, boolean… in runTestAndWaitUntilDone()
336 intent.setClass(activity, TestShellActivity.class); in runTestAndWaitUntilDone()
338 intent.putExtra(TestShellActivity.TEST_URL, FsUtils.getTestUrl(test)); in runTestAndWaitUntilDone()
339 intent.putExtra(TestShellActivity.RESULT_FILE, resultFile); in runTestAndWaitUntilDone()
340 intent.putExtra(TestShellActivity.TIMEOUT_IN_MILLIS, timeout); in runTestAndWaitUntilDone()
341 intent.putExtra(TestShellActivity.TOTAL_TEST_COUNT, mTestCount); in runTestAndWaitUntilDone()
342 intent.putExtra(TestShellActivity.CURRENT_TEST_NUMBER, testNumber); in runTestAndWaitUntilDone()
[all …]
DTestShellActivity.java66 public class TestShellActivity extends Activity implements LayoutTestController { class
94 TestShellActivity.this.dump(mTimedOut, (String)msg.obj); in handleMessage()
264 TestShellActivity.this.finish(); in moveToNextTest()
277 intent.putExtra(TestShellActivity.TEST_URL, FsUtils.getTestUrl(url)); in moveToNextTest()
278 intent.putExtra(TestShellActivity.CURRENT_TEST_NUMBER, ++mCurrentTestNumber); in moveToNextTest()
794 WebView newWindowView = new NewWindowWebView(TestShellActivity.this, jsIfaces);