Lines Matching refs:intent
52 Intent intent = new Intent(Intent.ACTION_VIEW);
53 intent.setClass(this, TestShellActivity.class);
54 intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
55 intent.putExtra(TestShellActivity.TEST_URL, "file://" + filename);
56 intent.putExtra(TestShellActivity.TOTAL_TEST_COUNT, 1);
57 intent.putExtra(TestShellActivity.CURRENT_TEST_NUMBER, 1);
58 startActivity(intent);
64 Intent intent = new Intent(Intent.ACTION_VIEW);
65 intent.setClass(this, TestShellActivity.class);
66 intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
67 intent.putExtra(TestShellActivity.UI_AUTO_TEST, LAYOUT_TESTS_LIST_FILE);
68 intent.putExtra(TestShellActivity.TOTAL_TEST_COUNT, testCount);
69 // TestShellActivity will process this intent once and increment the test index
71 intent.putExtra(TestShellActivity.CURRENT_TEST_NUMBER, 0);
72 startActivity(intent);