/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ArrayTestListAdapter.java | 26 * where items can be added by calling {@link #add(TestListItem)} repeatedly. 30 private final List<TestListItem> mRows = new ArrayList<TestListItem>(); 36 public void add(TestListItem item) { 42 protected List<TestListItem> getRows() {
|
ManifestTestListAdapter.java | 123 protected List<TestListItem> getRows() { 132 Map<String, List<TestListItem>> testsByCategory = getTestsByCategory(infos); 137 List<TestListItem> allRows = new ArrayList<TestListItem>(); 139 List<TestListItem> tests = filterTests(testsByCategory.get(testCategory)); 141 allRows.add(TestListItem.newCategory(testCategory)); 142 Collections.sort(tests, new Comparator<TestListItem>() { 144 public int compare(TestListItem item, TestListItem otherItem) { 176 Map<String, List<TestListItem>> getTestsByCategory(List<ResolveInfo> list) [all...] |
TestListAdapter.java | 66 private final List<TestListItem> mRows = new ArrayList<TestListItem>(); 80 public static class TestListItem { 100 public static TestListItem newTest(Context context, int titleResId, String testName, 107 public static TestListItem newTest(Context context, int titleResId, String testName, 113 public static TestListItem newTest(Context context, int titleResId, String testName, 119 public static TestListItem newTest(String title, String testName, Intent intent, 121 return new TestListItem(title, testName, intent, requiredFeatures, excludedFeatures, 125 public static TestListItem newTest(String title, String testName, Intent intent, 127 return new TestListItem(title, testName, intent, requiredFeatures, excludedFeatures [all...] |
AbstractTestListActivity.java | 19 import com.android.cts.verifier.TestListAdapter.TestListItem; 42 TestListItem item = mAdapter.getItem(position);
|
DialogTestListActivity.java | 96 * {@link TestListAdapter.TestListItem} will do). 164 TestListAdapter.TestListItem test = (TestListAdapter.TestListItem) getListAdapter() 203 protected void setTestResult(TestListAdapter.TestListItem test, int result) { 217 protected static class DialogTestListItem extends TestListAdapter.TestListItem {
|
TestResultsReport.java | 26 import com.android.cts.verifier.TestListAdapter.TestListItem; 119 TestListItem item = mAdapter.getItem(i);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
NfcTestActivity.java | 22 import com.android.cts.verifier.TestListAdapter.TestListItem; 56 adapter.add(TestListItem.newCategory(this, R.string.nfc_pee_2_pee)); 57 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_sender, 60 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_receiver, 65 adapter.add(TestListItem.newTest(this, R.string.nfc_llcp_version_check, 69 adapter.add(TestListItem.newCategory(this, R.string.nfc_tag_verification)); 70 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef, 73 adapter.add(TestListItem.newTest(this, R.string.nfc_mifare_ultralight, 78 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce)); 79 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_reader_tests [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
HceEmulatorTestActivity.java | 22 import com.android.cts.verifier.TestListAdapter.TestListItem; 46 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_emulator_tests)); 50 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_default_route_emulator, 54 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_emulator, 58 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_emulator, 62 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_emulator, 66 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_emulator, 70 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_emulator, 74 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_non_payment_emulator, 78 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_non_payment_emulator [all...] |
HceReaderTestActivity.java | 24 import com.android.cts.verifier.TestListAdapter.TestListItem; 42 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_reader_tests)); 44 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_reader, 48 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_reader, 52 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_reader, 56 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_reader, 60 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_reader, 64 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_non_payment_reader, 68 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_non_payment_reader, 72 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_conflicting_non_payment_reader [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
P2pTestListActivity.java | 34 import com.android.cts.verifier.TestListAdapter.TestListItem; 70 adapter.add(TestListItem.newCategory(this, R.string.p2p_group_formation)); 71 adapter.add(TestListItem.newTest(this, 75 adapter.add(TestListItem.newTest(this, 80 adapter.add(TestListItem.newCategory(this, R.string.p2p_join)); 81 adapter.add(TestListItem.newTest(this, 85 adapter.add(TestListItem.newTest(this, 90 adapter.add(TestListItem.newCategory(this, R.string.p2p_service_discovery)); 91 adapter.add(TestListItem.newTest(this, 95 adapter.add(TestListItem.newTest(this [all...] |
RequesterTestListActivity.java | 29 import com.android.cts.verifier.TestListAdapter.TestListItem; 103 adapter.add(TestListItem.newTest(testcase.getTestName(), testcase.getTestId(),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/ |
HceFEmulatorTestActivity.java | 28 import com.android.cts.verifier.TestListAdapter.TestListItem; 46 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_f_emulator_tests)); 48 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_f_emulator,
|
HceFReaderTestActivity.java | 26 import com.android.cts.verifier.TestListAdapter.TestListItem; 41 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_f_reader_tests)); 43 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_f_reader,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
Utils.java | 32 import com.android.cts.verifier.TestListAdapter.TestListItem; 39 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, 41 return TestListItem.newTest(activity, titleRes, 50 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes,
|
DeviceOwnerNegativeTestActivity.java | 32 import com.android.cts.verifier.TestListAdapter.TestListItem; 57 adapter.add(TestListItem.newCategory(this, R.string.device_owner_provisioning_category)); 69 adapter.add(TestListItem.newTest(this, deviceOwnerNegativeTestInfo.getTitle(),
|
ByodFlowTestActivity.java | 36 import com.android.cts.verifier.TestListAdapter.TestListItem; 84 private TestListItem mKeyguardDisabledFeaturesTest; 86 private TestListItem mAuthenticationBoundKeyTest; 94 private TestListItem mVpnTest; 95 private TestListItem mDisallowAppsControlTest; 96 private TestListItem mOrganizationInfoTest; 97 private TestListItem mPolicyTransparencyTest; 98 private TestListItem mTurnOffWorkFeaturesTest; 308 mKeyguardDisabledFeaturesTest = TestListItem.newTest(this, 313 mAuthenticationBoundKeyTest = TestListItem.newTest(this [all...] |
DeviceOwnerRequestingBugreportTestActivity.java | 36 import com.android.cts.verifier.TestListAdapter.TestListItem; 89 adapter.add(TestListItem.newCategory(this, 179 static TestListItem createTestItem(Activity activity, String id, int titleRes, 182 return TestListItem.newTest(activity, titleRes, id, intent, null);
|
DeviceOwnerPositiveTestActivity.java | 41 import com.android.cts.verifier.TestListAdapter.TestListItem; 98 adapter.add(TestListItem.newCategory(this, R.string.device_owner_positive_category)); 310 static TestListItem createTestItem(Activity activity, String id, int titleRes, 313 return TestListItem.newTest(activity, titleRes, id, intent, null);
|
PolicyTransparencyTestListActivity.java | 30 import com.android.cts.verifier.TestListAdapter.TestListItem; 130 adapter.add(TestListItem.newTest(title, testId, intent, null)); 143 adapter.add(TestListItem.newTest(title, testId, intent, null));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/ |
DeskClockTestsActivity.java | 14 import com.android.cts.verifier.TestListAdapter.TestListItem; 138 adapter.add(TestListItem.newCategory(this, R.string.deskclock_group_alarms)); 141 adapter.add(TestListItem.newCategory(this, R.string.deskclock_group_timers)); 158 adapter.add(TestListItem.newTest(this, title, info.getTestId(),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
StreamingVideoActivity.java | 23 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),
|