Home
last modified time | relevance | path

Searched refs:adapter (Results 1 – 25 of 107) sorted by relevance

12345

/cts/tests/tests/widget/src/android/widget/cts/
DCursorTreeAdapterTest.java175 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testGetCursor() local
176 assertSame(mGroupCursor, adapter.getCursor()); in testGetCursor()
178 adapter.changeCursor(null); in testGetCursor()
179 assertNull(adapter.getCursor()); in testGetCursor()
181 adapter.setGroupCursor(mGroupCursor); in testGetCursor()
182 assertSame(mGroupCursor, adapter.getCursor()); in testGetCursor()
188 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testSetGroupCursor() local
189 assertSame(mGroupCursor, adapter.getCursor()); in testSetGroupCursor()
191 adapter.setGroupCursor(null); in testSetGroupCursor()
192 assertNull(adapter.getCursor()); in testSetGroupCursor()
[all …]
DBaseExpandableListAdapterTest.java49 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testDefaults() local
50 assertEquals(1, adapter.getGroupTypeCount()); in testDefaults()
51 assertEquals(0, adapter.getGroupType(0)); in testDefaults()
52 assertEquals(1, adapter.getChildTypeCount()); in testDefaults()
53 assertEquals(0, adapter.getChildType(0, 0)); in testDefaults()
58 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testAreAllItemsEnabled() local
59 assertTrue(adapter.areAllItemsEnabled()); in testAreAllItemsEnabled()
64 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testGetCombinedId() local
66 long childID = adapter.getCombinedChildId(10, 100); in testGetCombinedId()
67 long groupID = adapter.getCombinedGroupId(10); in testGetCombinedId()
[all …]
DAbsSpinnerTest.java93 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testSetSelectionIntBoolean() local
95 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in testSetSelectionIntBoolean()
96 mAbsSpinner.setAdapter(adapter); in testSetSelectionIntBoolean()
116 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testSetSelectionInt() local
118 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in testSetSelectionInt()
119 mAbsSpinner.setAdapter(adapter); in testSetSelectionInt()
138 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testAccessAdapter() local
140 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in testAccessAdapter()
142 mAbsSpinner.setAdapter(adapter); in testAccessAdapter()
143 assertSame(adapter, mAbsSpinner.getAdapter()); in testAccessAdapter()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DTestListActivity.java67 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
69 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()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceEmulatorTestActivity.java41 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
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()
82adapter.add(TestListItem.newTest(this, R.string.nfc_hce_conflicting_non_payment_emulator, in onCreate()
[all …]
DHceReaderTestActivity.java39 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
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/tests/tests/bluetooth/src/android/bluetooth/cts/
DBasicAdapterTest.java136 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in test_enableDisable() local
139 assertTrue(BTAdapterUtils.disableAdapter(adapter, mContext)); in test_enableDisable()
140 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_enableDisable()
149 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in test_getAddress() local
150 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_getAddress()
152 assertTrue(BluetoothAdapter.checkBluetoothAddress(adapter.getAddress())); in test_getAddress()
160 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in test_setName_getName() local
161 assertTrue(BTAdapterUtils.enableAdapter(adapter, mContext)); in test_setName_getName()
168 String name = adapter.getName(); in test_setName_getName()
174 assertTrue(adapter.setName(genericName)); in test_setName_getName()
[all …]
/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentAdapterContractTest.java89 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in noPrintOptionsOrPrinterChange() local
119 print(adapter); in noPrintOptionsOrPrinterChange()
142 InOrder inOrder = inOrder(adapter); in noPrintOptionsOrPrinterChange()
145 inOrder.verify(adapter).onStart(); in noPrintOptionsOrPrinterChange()
157 verifyLayoutCall(inOrder, adapter, firstOldAttributes, firstNewAttributes, true); in noPrintOptionsOrPrinterChange()
161 inOrder.verify(adapter).onWrite(eq(firstPages), any(ParcelFileDescriptor.class), in noPrintOptionsOrPrinterChange()
176 verifyLayoutCall(inOrder, adapter, secondOldAttributes, secondNewAttributes, true); in noPrintOptionsOrPrinterChange()
179 verifyLayoutCall(inOrder, adapter, secondNewAttributes, secondNewAttributes, false); in noPrintOptionsOrPrinterChange()
186 inOrder.verify(adapter).onFinish(); in noPrintOptionsOrPrinterChange()
189 verifyNoMoreInteractions(adapter); in noPrintOptionsOrPrinterChange()
[all …]
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorListenerAdapterTest.java38 AnimatorListenerAdapter adapter = new MyAdapter(); in testNullOk() local
39 adapter.onAnimationStart(null); in testNullOk()
40 adapter.onAnimationEnd(null); in testNullOk()
41 adapter.onAnimationRepeat(null); in testNullOk()
42 adapter.onAnimationCancel(null); in testNullOk()
43 adapter.onAnimationPause(null); in testNullOk()
44 adapter.onAnimationResume(null); in testNullOk()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DP2pTestListActivity.java69 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
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.java78 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in getTestListAdapter() local
81 addTestCase(adapter, testcase); in getTestListAdapter()
84 adapter.registerDataSetObserver(new DataSetObserver() { in getTestListAdapter()
91 return adapter; in getTestListAdapter()
99 private void addTestCase(ArrayTestListAdapter adapter, TestCase testcase) { in addTestCase() argument
103 adapter.add(TestListItem.newTest(testcase.getTestName(), testcase.getTestId(), in addTestCase()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNfcTestActivity.java56 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
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/tests/tests/transition/src/android/transition/cts/
DTransitionListenerAdapterTest.java38 TransitionListenerAdapter adapter = new MyAdapter(); in testNullOk() local
39 adapter.onTransitionStart(null); in testNullOk()
40 adapter.onTransitionEnd(null); in testNullOk()
41 adapter.onTransitionCancel(null); in testNullOk()
42 adapter.onTransitionPause(null); in testNullOk()
43 adapter.onTransitionResume(null); in testNullOk()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCrossProfilePermissionControlActivity.java73 protected void setupInteractAcrossProfilesDisabledByDefault(ArrayTestListAdapter adapter) { in setupInteractAcrossProfilesDisabledByDefault() argument
74 adapter.add(new DialogTestListItem( in setupInteractAcrossProfilesDisabledByDefault()
81 protected void setupInteractAcrossProfilesEnabled(ArrayTestListAdapter adapter) { in setupInteractAcrossProfilesEnabled() argument
82 adapter.add(new DialogTestListItem( in setupInteractAcrossProfilesEnabled()
89 protected void setupInteractAcrossProfilesDisabled(ArrayTestListAdapter adapter) { in setupInteractAcrossProfilesDisabled() argument
90 adapter.add(new DialogTestListItem(this, in setupInteractAcrossProfilesDisabled()
102 protected void setupTests(ArrayTestListAdapter adapter) { in setupTests() argument
103 setupInteractAcrossProfilesDisabledByDefault(adapter); in setupTests()
104 setupInteractAcrossProfilesEnabled(adapter); in setupTests()
105 setupInteractAcrossProfilesDisabled(adapter); in setupTests()
DDisallowAppsControlActivity.java90 private void setupCheckDisabledUninstallButtonTest(ArrayTestListAdapter adapter) { in setupCheckDisabledUninstallButtonTest() argument
91 adapter.add(new DialogTestListItem(this, in setupCheckDisabledUninstallButtonTest()
98 private void setupCheckDisabledForceStopTest(ArrayTestListAdapter adapter) { in setupCheckDisabledForceStopTest() argument
99 adapter.add(new DialogTestListItem(this, in setupCheckDisabledForceStopTest()
106 private void setupCheckDisabledAppStorageButtonsTest(ArrayTestListAdapter adapter) { in setupCheckDisabledAppStorageButtonsTest() argument
107 adapter.add(new DialogTestListItem(this, in setupCheckDisabledAppStorageButtonsTest()
115 protected void setupTests(ArrayTestListAdapter adapter) { in setupTests() argument
116 setupCheckDisabledUninstallButtonTest(adapter); in setupTests()
117 setupCheckDisabledForceStopTest(adapter); in setupTests()
118 setupCheckDisabledAppStorageButtonsTest(adapter); in setupTests()
DByodFlowTestActivity.java261 protected void setupTests(ArrayTestListAdapter adapter) { in setupTests() argument
522 adapter.add(mProfileOwnerInstalled); in setupTests()
523 adapter.add(mDiskEncryptionTest); in setupTests()
527 adapter.add(mWorkAppVisibleTest); in setupTests()
530 adapter.add(mWorkNotificationBadgedTest); in setupTests()
531 adapter.add(mWorkStatusBarIconTest); in setupTests()
538 adapter.add(mProfileAccountVisibleTest); in setupTests()
539 adapter.add(mDeviceAdminVisibleTest); in setupTests()
540 adapter.add(mCredSettingsVisibleTest); in setupTests()
541 adapter.add(mUserSettingsVisibleTest); in setupTests()
[all …]
DKeyguardDisabledFeaturesActivity.java105 protected void setupDisableTrustAgentsTest(ArrayTestListAdapter adapter) { in setupDisableTrustAgentsTest() argument
106 adapter.add(new DialogTestListItem(this, R.string.provisioning_byod_disable_trust_agents, in setupDisableTrustAgentsTest()
112 protected void setupDisableUnredactedWorkNotification(ArrayTestListAdapter adapter) { in setupDisableUnredactedWorkNotification() argument
113 adapter.add(new DialogTestListItemWithIcon(this, in setupDisableUnredactedWorkNotification()
121 protected void setupFingerprintTests(ArrayTestListAdapter adapter) { in setupFingerprintTests() argument
124 adapter.add(new DialogTestListItem(this, in setupFingerprintTests()
129 adapter.add(new DialogTestListItem(this, R.string.provisioning_byod_disable_fingerprint, in setupFingerprintTests()
137 protected void setupTests(ArrayTestListAdapter adapter) { in setupTests() argument
139 setupDisableTrustAgentsTest(adapter); in setupTests()
141 setupDisableUnredactedWorkNotification(adapter); in setupTests()
[all …]
DEnterprisePrivacyTestListActivity.java79 final ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
80 addTestsToAdapter(adapter); in onCreate()
81 adapter.registerDataSetObserver(new DataSetObserver() { in onCreate()
87 setTestListAdapter(adapter); in onCreate()
130 private void addTestsToAdapter(final ArrayTestListAdapter adapter) { in addTestsToAdapter() argument
131 adapter.add(createInteractiveTestItem(this, ENTERPRISE_PRIVACY_PAGE, in addTestsToAdapter()
135 adapter.add(buildCommandTest(ENTERPRISE_PRIVACY_NETWORK_LOGGING, in addTestsToAdapter()
140 adapter.add(buildCommandTest(ENTERPRISE_PRIVACY_BUG_REPORT, in addTestsToAdapter()
145 adapter.add(buildCommandTest(ENTERPRISE_PRIVACY_SECURITY_LOGGING, in addTestsToAdapter()
153 adapter.add(createInteractiveTestItem(this, ENTERPRISE_PRIVACY_ENTERPRISE_INSTALLED_APPS, in addTestsToAdapter()
[all …]
DDeviceOwnerNegativeTestActivity.java58 final ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
59 adapter.add(TestListItem.newCategory(this, R.string.device_owner_negative_category)); in onCreate()
61 addTestsToAdapter(adapter); in onCreate()
63 adapter.registerDataSetObserver(new DataSetObserver() { in onCreate()
70 setTestListAdapter(adapter); in onCreate()
73 private void addTestsToAdapter(final ArrayTestListAdapter adapter) { in addTestsToAdapter() argument
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()
104 adapter.add(createInteractiveTestItem(this, ENTERPRISE_PRIVACY_KEYGUARD_NEGATIVE, in addTestsToAdapter()
109 adapter.add(createInteractiveTestItem(this, ENTERPRISE_PRIVACY_ADD_ACCOUNT_NEGATIVE, in addTestsToAdapter()
DManagedUserPositiveTestActivity.java83 final ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
84 adapter.add(TestListItem.newCategory(this, R.string.managed_user_positive_category)); in onCreate()
86 addTestsToAdapter(adapter); in onCreate()
88 adapter.registerDataSetObserver(new DataSetObserver() { in onCreate()
95 setTestListAdapter(adapter); in onCreate()
113 private void addTestsToAdapter(final ArrayTestListAdapter adapter) { in addTestsToAdapter() argument
114 adapter.add(createTestItem(this, CHECK_AFFILIATED_PROFILE_OWNER_TEST_ID, in addTestsToAdapter()
120 adapter.add(createInteractiveTestItem(this, DEVICE_ADMIN_SETTINGS_ID, in addTestsToAdapter()
129 adapter.add(createInteractiveTestItem(this, DISABLE_STATUS_BAR_TEST_ID, in addTestsToAdapter()
147 adapter.add(createInteractiveTestItem(this, DISABLE_KEYGUARD_TEST_ID, in addTestsToAdapter()
[all …]
/cts/tests/uwb/src/android/uwb/cts/
DRangingSessionTest.java63 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingOpened_OnOpenSuccessCalled() local
64 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_OnOpenSuccessCalled()
79 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingOpened_CannotOpenClosedSession() local
80 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_CannotOpenClosedSession()
103 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen() local
104 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen()
119 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingClosed_OnClosedCalled() local
120 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingClosed_OnClosedCalled()
134 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingResult_OnReportReceivedCalled() local
135 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingResult_OnReportReceivedCalled()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DDeferSyncTest.java111 AbstractThreadedSyncAdapter adapter = NotAlwaysSyncableSyncService.getInstance( in deferSyncAndMakeSyncable() local
113 when(adapter.onUnsyncableAccount()).thenReturn(false); in deferSyncAndMakeSyncable()
116 verify(adapter, timeout(SYNC_TIMEOUT_MILLIS)).onUnsyncableAccount(); in deferSyncAndMakeSyncable()
123 verify(adapter, timeout(SYNC_TIMEOUT_MILLIS)).onPerformSync(any(), in deferSyncAndMakeSyncable()
136 AbstractThreadedSyncAdapter adapter = NotAlwaysSyncableSyncService.getInstance( in deferSyncAndReportIsReady() local
138 when(adapter.onUnsyncableAccount()).thenReturn(false); in deferSyncAndReportIsReady()
141 verify(adapter, timeout(SYNC_TIMEOUT_MILLIS)).onUnsyncableAccount(); in deferSyncAndReportIsReady()
144 when(adapter.onUnsyncableAccount()).thenReturn(true); in deferSyncAndReportIsReady()
146 verify(adapter, atLeast(1)).onUnsyncableAccount(); in deferSyncAndReportIsReady()
149 verify(adapter, timeout(SYNC_TIMEOUT_MILLIS)).onPerformSync(any(), in deferSyncAndReportIsReady()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DTestListActivity.java61 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
62 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()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/
DOffhostUiccEmulatorTestActivity.java39 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
42 adapter.add(TestListItem.newCategory(this, R.string.nfc_offhost_uicc_emulator_tests)); in onCreate()
44adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event1_emulator, in onCreate()
48adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event2_emulator, in onCreate()
52adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event3_emulator, in onCreate()
58 setTestListAdapter(adapter); in onCreate()
DOffhostUiccReaderTestActivity.java39 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
42 adapter.add(TestListItem.newCategory(this, R.string.nfc_offhost_uicc_reader_tests)); in onCreate()
44adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event1_reader, in onCreate()
48adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event2_reader, in onCreate()
52adapter.add(TestListItem.newTest(this, R.string.nfc_offhost_uicc_transaction_event3_reader, in onCreate()
58 setTestListAdapter(adapter); in onCreate()

12345