Home
last modified time | relevance | path

Searched refs:TestListItem (Results 1 – 16 of 16) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceEmulatorTestActivity.java22 import com.android.cts.verifier.TestListAdapter.TestListItem;
46 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_emulator_tests)); in onCreate()
54 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_emulator, in onCreate()
58 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_emulator, in onCreate()
62 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_emulator, in onCreate()
66 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_emulator, in onCreate()
70 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_emulator, in onCreate()
74 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_non_payment_emulator, in onCreate()
78 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_non_payment_emulator, in onCreate()
82 … adapter.add(TestListItem.newTest(this, R.string.nfc_hce_conflicting_non_payment_emulator, in onCreate()
[all …]
DHceReaderTestActivity.java24 import com.android.cts.verifier.TestListAdapter.TestListItem;
42 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_reader_tests)); in onCreate()
44 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_reader, in onCreate()
48 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_reader, in onCreate()
52 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_reader, in onCreate()
56 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_reader, in onCreate()
60 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_reader, in onCreate()
64 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_non_payment_reader, in onCreate()
68 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_non_payment_reader, in onCreate()
72 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_conflicting_non_payment_reader, in onCreate()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DManifestTestListAdapter.java123 protected List<TestListItem> getRows() { in getRows()
132 Map<String, List<TestListItem>> testsByCategory = getTestsByCategory(infos); in getRows()
137 List<TestListItem> allRows = new ArrayList<TestListItem>(); in getRows()
139 List<TestListItem> tests = filterTests(testsByCategory.get(testCategory)); in getRows()
141 allRows.add(TestListItem.newCategory(testCategory)); in getRows()
142 Collections.sort(tests, new Comparator<TestListItem>() { in getRows()
144 public int compare(TestListItem item, TestListItem otherItem) { in getRows()
175 Map<String, List<TestListItem>> getTestsByCategory(List<ResolveInfo> list) { in getTestsByCategory()
176 Map<String, List<TestListItem>> testsByCategory = in getTestsByCategory()
177 new HashMap<String, List<TestListItem>>(); in getTestsByCategory()
[all …]
DArrayTestListAdapter.java30 private final List<TestListItem> mRows = new ArrayList<TestListItem>();
36 public void add(TestListItem item) { in add()
42 protected List<TestListItem> getRows() { in getRows()
DTestListAdapter.java66 private final List<TestListItem> mRows = new ArrayList<TestListItem>();
80 public static class TestListItem { class in TestListAdapter
100 public static TestListItem newTest(Context context, int titleResId, String testName, in newTest()
107 public static TestListItem newTest(Context context, int titleResId, String testName, in newTest()
113 public static TestListItem newTest(Context context, int titleResId, String testName, in newTest()
119 public static TestListItem newTest(String title, String testName, Intent intent, in newTest()
121 return new TestListItem(title, testName, intent, requiredFeatures, excludedFeatures, in newTest()
125 public static TestListItem newTest(String title, String testName, Intent intent, in newTest()
127 return new TestListItem(title, testName, intent, requiredFeatures, excludedFeatures, in newTest()
131 public static TestListItem newTest(String title, String testName, Intent intent, in newTest()
[all …]
DAbstractTestListActivity.java19 import com.android.cts.verifier.TestListAdapter.TestListItem;
42 TestListItem item = mAdapter.getItem(position); in getIntent()
DDialogTestListActivity.java167 TestListAdapter.TestListItem test = (TestListAdapter.TestListItem) getListAdapter() in handleItemClick()
213 protected static class DialogTestListItem extends TestListAdapter.TestListItem {
DTestResultsReport.java21 import com.android.cts.verifier.TestListAdapter.TestListItem;
120 TestListItem item = mAdapter.getItem(i); in getContents()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNfcTestActivity.java22 import com.android.cts.verifier.TestListAdapter.TestListItem;
54 adapter.add(TestListItem.newCategory(this, R.string.nfc_pee_2_pee)); in onCreate()
55 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_sender, in onCreate()
58 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_receiver, in onCreate()
63 adapter.add(TestListItem.newTest(this, R.string.nfc_llcp_version_check, in onCreate()
67 adapter.add(TestListItem.newCategory(this, R.string.nfc_tag_verification)); in onCreate()
68 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef, in onCreate()
71 adapter.add(TestListItem.newTest(this, R.string.nfc_mifare_ultralight, in onCreate()
76 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce)); in onCreate()
77 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_reader_tests, in onCreate()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DP2pTestListActivity.java34 import com.android.cts.verifier.TestListAdapter.TestListItem;
70 adapter.add(TestListItem.newCategory(this, R.string.p2p_group_formation)); in onCreate()
71 adapter.add(TestListItem.newTest(this, in onCreate()
75 adapter.add(TestListItem.newTest(this, in onCreate()
80 adapter.add(TestListItem.newCategory(this, R.string.p2p_join)); in onCreate()
81 adapter.add(TestListItem.newTest(this, in onCreate()
85 adapter.add(TestListItem.newTest(this, in onCreate()
90 adapter.add(TestListItem.newCategory(this, R.string.p2p_service_discovery)); in onCreate()
91 adapter.add(TestListItem.newTest(this, in onCreate()
95 adapter.add(TestListItem.newTest(this, in onCreate()
DRequesterTestListActivity.java29 import com.android.cts.verifier.TestListAdapter.TestListItem;
103 adapter.add(TestListItem.newTest(testcase.getTestName(), testcase.getTestId(), in addTestCase()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceOwnerNegativeTestActivity.java29 import com.android.cts.verifier.TestListAdapter.TestListItem;
59 adapter.add(TestListItem.newCategory(this, R.string.device_owner_provisioning_category)); in onCreate()
72 adapter.add(TestListItem.newTest(this, DEVICE_OWNER_NEGATIVE_TEST_INFO.getTitle(), in onCreate()
DDeviceOwnerPositiveTestActivity.java39 import com.android.cts.verifier.TestListAdapter.TestListItem;
89 adapter.add(TestListItem.newCategory(this, R.string.device_owner_positive_category)); in onCreate()
226 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, in createInteractiveTestItem()
232 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, in createInteractiveTestItem()
234 return TestListItem.newTest(activity, titleRes, in createInteractiveTestItem()
243 static TestListItem createTestItem(Activity activity, String id, int titleRes, in createTestItem()
245 return TestListItem.newTest(activity, titleRes, id, intent.putExtra(EXTRA_TEST_ID, id), in createTestItem()
DByodFlowTestActivity.java35 import com.android.cts.verifier.TestListAdapter.TestListItem;
81 private TestListItem mKeyguardDisabledFeaturesTest;
291 mKeyguardDisabledFeaturesTest = TestListItem.newTest(this, in setupTests()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java23 import com.android.cts.verifier.TestListAdapter.TestListItem;
183 adapter.add(TestListItem.newCategory("RTSP"));
191 adapter.add(TestListItem.newCategory("HTTP Progressive"));
219 streams.add(TestListItem.newTest(stream.name, PlayVideoActivity.getTestId(stream.code),
/cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/
DDeskClockTestsActivity.java14 import com.android.cts.verifier.TestListAdapter.TestListItem;
138 adapter.add(TestListItem.newCategory(this, R.string.deskclock_group_alarms)); in onCreate()
141 adapter.add(TestListItem.newCategory(this, R.string.deskclock_group_timers)); in onCreate()
158 adapter.add(TestListItem.newTest(this, title, info.getTestId(), in addTests()