Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DTestListActivity.java69 adapter.add(TestListAdapter.TestListItem.newCategory(this, in onCreate()
71 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
75 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
79 adapter.add(TestListAdapter.TestListItem.newCategory(this, in onCreate()
81 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
85 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
89 adapter.add(TestListAdapter.TestListItem.newCategory(this, in onCreate()
91 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
95 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
99 adapter.add(TestListAdapter.TestListItem.newCategory(this, in onCreate()
[all …]
/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/nfc/
DNfcTestActivity.java22 import com.android.cts.verifier.TestListAdapter.TestListItem;
59 adapter.add(TestListItem.newCategory(this, R.string.nfc_pee_2_pee)); in onCreate()
60 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_sender, in onCreate()
63 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_receiver, in onCreate()
68 adapter.add(TestListItem.newTest(this, R.string.nfc_llcp_version_check, in onCreate()
74 adapter.add(TestListItem.newCategory(this, R.string.nfc_tag_verification)); in onCreate()
75 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef, in onCreate()
78 adapter.add(TestListItem.newTest(this, R.string.nfc_mifare_ultralight, in onCreate()
83 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce)); in onCreate()
84 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_reader_tests, in onCreate()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DP2pTestListActivity.java35 import com.android.cts.verifier.TestListAdapter.TestListItem;
73 adapter.add(TestListItem.newCategory(this, R.string.p2p_group_formation)); in onCreate()
74 adapter.add(TestListItem.newTest(this, in onCreate()
78 adapter.add(TestListItem.newTest(this, in onCreate()
84 adapter.add(TestListItem.newCategory(this, R.string.p2p_join)); in onCreate()
85 adapter.add(TestListItem.newTest(this, in onCreate()
89 adapter.add(TestListItem.newTest(this, in onCreate()
94 adapter.add(TestListItem.newCategory(this, R.string.p2p_join_with_config)); in onCreate()
95 adapter.add(TestListItem.newTest(this, in onCreate()
99 adapter.add(TestListItem.newTest(this, in onCreate()
[all …]
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/
DTestListAdapter.java70 private final List<TestListItem> mRows = new ArrayList<TestListItem>();
89 protected Map<String, List<TestListItem>> mDisplayModesTests = new HashMap<>();
102 public static class TestListItem { class in TestListAdapter
133 public static TestListItem newTest(Context context, int titleResId, String testName, in newTest()
140 public static TestListItem newTest(Context context, int titleResId, String testName, in newTest()
146 public static TestListItem newTest(Context context, int titleResId, String testName, in newTest()
152 public static TestListItem newTest(String title, String testName, Intent intent, in newTest()
155 return new TestListItem(title, testName, intent, requiredFeatures, requiredConfigs, in newTest()
159 public static TestListItem newTest(String title, String testName, Intent intent, in newTest()
162 return new TestListItem(title, testName, intent, requiredFeatures, requiredConfigs, in newTest()
[all …]
DArrayTestListAdapter.java30 private final List<TestListItem> mRows = new ArrayList<TestListItem>();
39 public void add(TestListItem item) { in add()
45 protected List<TestListItem> getRows() { in getRows()
DManifestTestListAdapter.java183 protected List<TestListItem> getRows() { in getRows()
190 List<TestListItem> allRows = new ArrayList<TestListItem>(); in getRows()
204 private List<TestListItem> getRowsWithDisplayMode (String mode) { in getRowsWithDisplayMode()
210 List<TestListItem> allRows = new ArrayList<TestListItem>(); in getRowsWithDisplayMode()
212 Map<String, List<TestListItem>> testsByCategory = getTestsByCategory(infos); in getRowsWithDisplayMode()
217 List<TestListItem> tests = filterTests(testsByCategory.get(testCategory), mode); in getRowsWithDisplayMode()
219 allRows.add(TestListItem.newCategory(testCategory)); in getRowsWithDisplayMode()
249 Map<String, List<TestListItem>> getTestsByCategory(List<ResolveInfo> list) { in getTestsByCategory()
250 Map<String, List<TestListItem>> testsByCategory = new HashMap<>(); in getTestsByCategory()
269 TestListItem item = TestListItem.newTest(title, testName, intent, requiredFeatures, in getTestsByCategory()
[all …]
DDialogTestListActivity.java203 TestListAdapter.TestListItem test = (TestListAdapter.TestListItem) getListAdapter() in handleItemClick()
243 protected void setTestResult(TestListAdapter.TestListItem test, int result) { in setTestResult()
266 protected static class DialogTestListItem extends TestListAdapter.TestListItem {
DAbstractTestListActivity.java19 import com.android.cts.verifier.TestListAdapter.TestListItem;
56 TestListItem item = mAdapter.getItem(position); in getIntent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DTestListActivity.java62 adapter.add(TestListAdapter.TestListItem.newCategory(this, in onCreate()
64 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
68 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
72 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
77 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
82 adapter.add(TestListAdapter.TestListItem.newCategory(this, in onCreate()
84 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
88 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
92 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
96 adapter.add(TestListAdapter.TestListItem.newTest(this, in onCreate()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodFlowTestActivity.java40 import com.android.cts.verifier.TestListAdapter.TestListItem;
91 private TestListItem mCrossProfilePermissionControl;
93 private TestListItem mNonMarketAppsTest;
110 private TestListItem mKeyguardDisabledFeaturesTest;
112 private TestListItem mAuthenticationBoundKeyTest;
113 private TestListItem mEnableLocationModeTest;
114 private TestListItem mDisableLocationModeThroughMainSwitchTest;
115 private TestListItem mDisableLocationModeThroughWorkSwitchTest;
116 private TestListItem mPrimaryLocationWhenWorkDisabledTest;
122 private TestListItem mVpnTest;
[all …]
DDeviceOwnerNegativeTestActivity.java34 import com.android.cts.verifier.TestListAdapter.TestListItem;
59 adapter.add(TestListItem.newCategory(this, R.string.device_owner_negative_category)); in onCreate()
90 adapter.add(TestListItem.newTest(this, provisioningNegativeTestInfo.getTitle(), in addTestsToAdapter()
92 adapter.add(TestListItem.newTest(this, R.string.enterprise_privacy_quick_settings_negative, in addTestsToAdapter()
DUtils.java36 import com.android.cts.verifier.TestListAdapter.TestListItem;
46 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, in createInteractiveTestItem()
48 return TestListItem.newTest(activity, titleRes, in createInteractiveTestItem()
57 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, in createInteractiveTestItem()
DDeviceOwnerRequestingBugreportTestActivity.java35 import com.android.cts.verifier.TestListAdapter.TestListItem;
91 adapter.add(TestListItem.newCategory(this, in onCreate()
181 static TestListItem createTestItem(Activity activity, String id, int titleRes, in createTestItem()
184 return TestListItem.newTest(activity, titleRes, id, intent, null); in createTestItem()
DManagedUserPositiveTestActivity.java34 import com.android.cts.verifier.TestListAdapter.TestListItem;
78 adapter.add(TestListItem.newCategory(this, R.string.managed_user_positive_category)); in onCreate()
182 static TestListItem createTestItem(Activity activity, String id, int titleRes, in createTestItem()
185 return TestListItem.newTest(activity, titleRes, id, intent, null); in createTestItem()
DPolicyTransparencyTestListActivity.java30 import com.android.cts.verifier.TestListAdapter.TestListItem;
150 adapter.add(TestListItem.newTest(title, testId, intent, null)); in addTestsToAdapter()
168 adapter.add(TestListItem.newTest(title, testId, intent, null)); in addTestsToAdapter()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/
DOffhostUiccEmulatorTestActivity.java22 import com.android.cts.verifier.TestListAdapter.TestListItem;
42 adapter.add(TestListItem.newCategory(this, R.string.nfc_offhost_uicc_emulator_tests)); in onCreate()
44 … adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event1_emulator, in onCreate()
48 … adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event2_emulator, in onCreate()
52 … adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event3_emulator, in onCreate()
DOffhostUiccReaderTestActivity.java22 import com.android.cts.verifier.TestListAdapter.TestListItem;
42 adapter.add(TestListItem.newCategory(this, R.string.nfc_offhost_uicc_reader_tests)); in onCreate()
44 … adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event1_reader, in onCreate()
48 … adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event2_reader, in onCreate()
52 … adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event3_reader, in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
DHceFReaderTestActivity.java26 import com.android.cts.verifier.TestListAdapter.TestListItem;
41 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_f_reader_tests)); in onCreate()
43 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_f_reader, in onCreate()
DHceFEmulatorTestActivity.java28 import com.android.cts.verifier.TestListAdapter.TestListItem;
46 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_f_emulator_tests)); in onCreate()
48 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_f_emulator, in onCreate()
/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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java23 import com.android.cts.verifier.TestListAdapter.TestListItem;
197 adapter.add(TestListItem.newCategory("HTTP Progressive"));
225 streams.add(TestListItem.newTest(stream.name, PlayVideoActivity.getTestId(stream.code),
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraPerformanceActivity.java226 private class TestListItem extends DialogTestListActivity.DialogTestListItem { class in CameraPerformanceActivity
229 public TestListItem(Context context, String nameId, String testId) { in TestListItem() method in CameraPerformanceActivity.TestListItem
255 adapter.add(new TestListItem(this, testCaseName, testCaseName)); in setupTests()

12