Home
last modified time | relevance | path

Searched defs:adapter (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/
DExampleStoreQueryCallbackImplTest.java65 ExampleStoreQueryCallbackImpl adapter = in testStartQuerySuccessNullResultThrows() local
72 ExampleStoreQueryCallbackImpl adapter = in testStartQueryFailureTwicePassThrough() local
82 ExampleStoreQueryCallbackImpl adapter = in testStartQuerySuccessTwicePassThrough() local
91 ExampleStoreQueryCallbackImpl adapter = in testStartQuerySuccessAfterFailurePassThrough() local
100 ExampleStoreQueryCallbackImpl adapter = in testStartQueryFailureAfterSuccessPassThrough() local
109 ExampleStoreQueryCallbackImpl adapter = in testIteratorCloseTwice() local
147 IteratorCallbackAdapter adapter = in testIteratorCallbackSuccessTwicePassThrough() local
161 IteratorCallbackAdapter adapter = in testIteratorCallbackFailureTwicePassThrough() local
176 IteratorCallbackAdapter adapter = in testIteratorCallbackSuccessAfterFailurePassThrough() local
193 IteratorCallbackAdapter adapter = in testIteratorCallbackFailureAfterSuccessPassThrough() local
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/widget/
DCompositeListAdapterTest.java115 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetCount() local
124 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetCountWithInvalidation() local
138 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetItem() local
151 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetItemId() local
164 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetView() local
179 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetViewTypeCount() local
198 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetItemViewType() local
214 CompositeListAdapter adapter = new CompositeListAdapter(); in testNotifyDataSetChangedPropagated() local
241 CompositeListAdapter adapter = new CompositeListAdapter(); in testNotifyDataSetChangedOnAddingAdapter() local
259 CompositeListAdapter adapter = new CompositeListAdapter(); in testNotifyDataSetInvalidated() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java200 final ManageApplications.ApplicationsAdapter adapter = in onQueryTextChange_shouldFilterSearchInApplicationsAdapter() local
213 final ManageApplications.ApplicationsAdapter adapter = in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer() local
234 final ManageApplications.ApplicationsAdapter adapter = in updateLoading_appNotLoaded_shouldDelayCallToHandleLoadingContainer() local
262 final ManageApplications.ApplicationsAdapter adapter = in onRebuildComplete_shouldHideLoadingView() local
307 final ManageApplications.ApplicationsAdapter adapter = in onRebuildComplete_hasSearchQuery_shouldFilterSearch() local
321 final ManageApplications.ApplicationsAdapter adapter = in notifyItemChange_recyclerViewIdle_shouldNotify() local
336 final ManageApplications.ApplicationsAdapter adapter = in notifyItemChange_recyclerViewScrolling_shouldNotifyWhenIdle() local
358 ManageApplications.ApplicationsAdapter adapter = in applicationsAdapter_onBindViewHolder_notifications_wrongExtraInfo() local
381 ManageApplications.ApplicationsAdapter adapter = in applicationsAdapter_onBindViewHolder_updateSwitch_notifications() local
403 ManageApplications.ApplicationsAdapter adapter = new ManageApplications.ApplicationsAdapter( in applicationsAdapter_onBindViewHolder_updateSwitch_notNotifications() local
[all …]
/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingSessionTest.java80 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingOpened_OnOpenSuccessCalled() local
96 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingOpened_OnServiceDiscoveredConnectedCalled() local
119 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingOpened_CannotOpenClosedSession() local
143 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen() local
159 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingClosed_OnClosedCalled() local
174 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingResult_OnReportReceivedCalled() local
190 IUwbAdapter adapter = mock(IUwbAdapter.class); in testStart_CannotStartIfAlreadyStarted() local
207 IUwbAdapter adapter = mock(IUwbAdapter.class); in testStop_CannotStopIfAlreadyStopped() local
226 IUwbAdapter adapter = mock(IUwbAdapter.class); in testStop_CannotStopIfOpenFailed() local
246 IUwbAdapter adapter = mock(IUwbAdapter.class); in testCallbacks_OnlyWhenOpened() local
[all …]
DRangingManagerTest.java70 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOpenSession_OpenRangingInvoked() local
81 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOpenSession_validChipId_OpenRangingInvoked() local
92 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOpenSession_validChipId_RuntimeException() local
109 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOpenSession_invalidChipId_IllegalArgumentException() local
124 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingOpened_InvalidSessionHandle() local
134 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingOpened_MultipleSessionsRegistered() local
174 IUwbAdapter adapter = mock(IUwbAdapter.class); in testCorrectCallbackInvoked() local
300 IUwbAdapter adapter = mock(IUwbAdapter.class); in testNoCallbackInvoked_sessionClosed() local
418 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingClosed_MultipleSessionsRegistered() local
461 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingReport_MultipleSessionsRegistered() local
[all …]
/packages/modules/Nfc/tests/cts/tests/src/android/nfc/cts/
DNfcAdapterTest.java115 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in setUp() local
122 NfcAdapter adapter = getDefaultAdapter(); in testGetDefaultAdapter() local
128 NfcAdapter adapter = getDefaultAdapter(); in testAddAndRemoveNfcUnlockHandler() local
137 NfcAdapter adapter = getDefaultAdapter(); in testEnableAndDisable() local
151 NfcAdapter adapter = getDefaultAdapter(); in testEnableAndDisablePersist() local
165 NfcAdapter adapter = getDefaultAdapter(); in testEnableAndDisableForegroundDispatch() local
181 NfcAdapter adapter = getDefaultAdapter(); in testEnableAndDisableReaderMode() local
201 NfcAdapter adapter = getDefaultAdapter(); in testEnableAndDisableReaderOption() local
213 NfcAdapter adapter = getDefaultAdapter(); in testEnableAndDisableSecureNfc() local
225 NfcAdapter adapter = getDefaultAdapter(); in testGetNfcAntennaInfo() local
[all …]
DCardEmulationTest.java422 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); in EventPollLoopReceiver() local
460 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in cleanup() local
617 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testEventListener() local
686 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testEventListener_WalletHolderToForegroundAndBack() local
829 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testEventListener_stateChange() local
877 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testEventListener_hardwareError() local
970 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeAPollingLoopToForeground() local
997 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testSetShouldDefaultToObserveModeShouldDefaultToObserveModeDynamic() local
1035 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testSetShouldDefaultToObserveModeFalseShouldNotDefaultToObserveMode() local
1056 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testSetShouldDefaultToObserveModeShouldDefaultToObserveMode() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DPanelSlicesAdapterTest.java123 final PanelSlicesAdapter adapter = spy(new PanelSlicesAdapter(mPanelFragment, mData, 0)); in withPanelFragmentContextNull_createAdapter_noExceptionThrown() local
134 final PanelSlicesAdapter adapter = new PanelSlicesAdapter(mPanelFragment, mData, 0); in setActionLabel_loadsActionLabel() local
179 final PanelSlicesAdapter adapter = in sizeOfAdapter_shouldNotExceedMaxNum() local
193 final PanelSlicesAdapter adapter = in mediaOutputIndicatorSlice_notSliderPanel_noSliderLayout() local
209 final PanelSlicesAdapter adapter = in onBindViewHolder_viewTypeSlider_verifyActionLabelSet() local
220 final PanelSlicesAdapter adapter = in onCreateViewHolder_viewTypeSlider_verifyLayout() local
233 final PanelSlicesAdapter adapter = in onCreateViewHolder_viewTypeDefault_verifyLayout() local
/packages/apps/Contacts/src/com/android/contacts/list/
DPostalAddressPickerFragment.java50 PostalAddressListAdapter adapter = (PostalAddressListAdapter)getAdapter(); in onItemClick() local
53 LegacyPostalAddressListAdapter adapter = (LegacyPostalAddressListAdapter)getAdapter(); in onItemClick() local
61 PostalAddressListAdapter adapter = new PostalAddressListAdapter(getActivity()); in createListAdapter() local
66 LegacyPostalAddressListAdapter adapter = in createListAdapter() local
DLegacyPhoneNumberPickerFragment.java36 final LegacyPhoneNumberListAdapter adapter = (LegacyPhoneNumberListAdapter) getAdapter(); in getPhoneUri() local
48 LegacyPhoneNumberListAdapter adapter = new LegacyPhoneNumberListAdapter(getActivity()); in createListAdapter() local
54 protected void setPhotoPosition(ContactEntryListAdapter adapter) { in setPhotoPosition()
DPhoneNumberPickerFragment.java176 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in getPhoneNumber() local
181 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in getPhoneUri() local
186 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in getLookupKey() local
214 PhoneNumberListAdapter adapter = new PhoneNumberListAdapter(getActivity()); in createListAdapter() local
224 final ContactEntryListAdapter adapter = getAdapter(); in configureAdapter() local
236 protected void setPhotoPosition(ContactEntryListAdapter adapter) { in setPhotoPosition()
285 final PhoneNumberListAdapter adapter = (PhoneNumberListAdapter) getAdapter(); in setPhotoPosition() local
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/cts/
DBTAdapterUtils.java34 public static final boolean enableAdapter(BluetoothAdapter adapter, Context ctx) { in enableAdapter()
42 public static final boolean disableAdapter(BluetoothAdapter adapter, Context ctx) { in disableAdapter()
51 BluetoothAdapter adapter, boolean persist, Context ctx) { in disableAdapter()
/packages/modules/Nfc/NfcNci/tests/testcases/src/android/nfc/test/
DObserveModeTests.java66 final NfcAdapter adapter = initNfcAdapterWithObserveModeOrSkipTest(); in testObserveModeStress() local
109 final NfcAdapter adapter = initNfcAdapterWithObserveModeOrSkipTest(); in testInterleavePlfAndAid() local
166 final NfcAdapter adapter = initNfcAdapterWithObserveModeOrSkipTest(); in testInterleavePlfSecondServiceAndAid() local
231 final NfcAdapter adapter = initNfcAdapterWithObserveModeOrSkipTest(); in testOnPauseAndOnResume() local
298 final NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in initNfcAdapterWithObserveModeOrSkipTest() local
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/
DPhotosTabAdapterTest.java50 final PhotosTabAdapter adapter = createAdapter(/* shouldShowRecentSection */ true); in test_hasRecentItem() local
75 final PhotosTabAdapter adapter = createAdapter(/* shouldShowRecentSection */ true); in test_exceedMinCount_notSameDay_hasRecentItemAndOneDateItem() local
104 final PhotosTabAdapter adapter = createAdapter(/* shouldShowRecentSection */ true); in test_exceedMinCount_sameDay_hasRecentItemNoDateItem() local
129 final PhotosTabAdapter adapter = createAdapter(/* shouldShowRecentSection */ false); in test_noRecentSection() local
160 final PhotosTabAdapter adapter = createAdapter(/* shouldShowRecentSection */ false); in testGetCategoryItems_dataIsUpdated() local
/packages/apps/TV/src/com/android/tv/menu/
DItemListRow.java36 ItemListAdapter adapter) { in ItemListRow()
45 ItemListAdapter adapter) { in ItemListRow()
55 public void setAdapter(ItemListAdapter<?> adapter) { in setAdapter()
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DAppGridPageSnapperTest.java96 TestAdapter adapter = new TestAdapter(100); in testScrollToNextPage() local
144 TestAdapter adapter = new TestAdapter(100); in testSwipeRightAndStayOnCurrentPage() local
194 TestAdapter adapter = new TestAdapter(100); in testScrollToPrevPage() local
268 TestAdapter adapter = new TestAdapter(100); in testScrollLeftAndStayOnCurrentPage() local
328 TestAdapter adapter = new TestAdapter(100); in testOnFlingRight() local
371 TestAdapter adapter = new TestAdapter(100); in testOnFlingLeft() local
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/cardemulation/
DListAdapterTest.java97 AppChooserActivity.ListAdapter adapter in testListAdapterConstructor() local
108 AppChooserActivity.ListAdapter adapter in testListAdapterGetViewWithNullConvertView() local
123 AppChooserActivity.ListAdapter adapter in testListAdapterGetViewWithNonNullConvertView() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsTest.java117 final WifiCallingSettings.WifiCallingViewPagerAdapter adapter = in setupFragment_oneSubscription_noCrash() local
146 final WifiCallingSettings.WifiCallingViewPagerAdapter adapter = in setupFragment_twoSubscriptions_correctSelection() local
172 final WifiCallingSettings.WifiCallingViewPagerAdapter adapter = in setupFragment_twoSubscriptionsOneNotProvisionedOnDevice_oneResult() local
DListWithEntrySummaryPreferenceTest.java67 ListAdapter adapter = dialog.getListView().getAdapter(); in initialize_defaultEntries_shouldDisplayDefaultEntries() local
86 ListAdapter adapter = dialog.getListView().getAdapter(); in setEntries_customEntries_shouldUpdateEntries() local
111 ListAdapter adapter = dialog.getListView().getAdapter(); in onSaveAndRestoreInstanceState_resumePreference_shouldNotChangeEntries() local
/packages/apps/Settings/src/com/android/settings/network/tether/
DBluetoothTetherSwitchPreference.kt67 val adapter = BluetoothAdapter.getDefaultAdapter() ?: return false in isEnabled() constant
140 val adapter = BluetoothAdapter.getDefaultAdapter() ?: return false as T in contains() constant
186 val adapter = BluetoothAdapter.getDefaultAdapter() in setValue() constant
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DGbaActivity.java156 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(this, in initOrganization() local
195 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(this, in initProtocol() local
259 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(this, in initUicctype() local
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/activitydelegates/
DBlockedAppsActivityActionDelegate.java81 AppsListViewAdapter adapter = in configureSharedElements() local
89 configureNotifyAdapterDataChange(mBlockedAppsViewModel.getBlockedApps(), adapter); in configureSharedElements() local
DBlockedTopicsActivityActionDelegate.java84 TopicsListViewAdapter adapter = in configureSharedElements() local
91 configureNotifyAdapterDataChange(mBlockedTopicsViewModel.getBlockedTopics(), adapter); in configureSharedElements() local
DAppsActivityActionDelegate.java120 AppsListViewAdapter adapter = in configureSharedElements() local
151 configureNotifyAdapterDataChange(mAppsViewModel.getApps(), adapter); in configureSharedElements() local
DTopicsActivityActionDelegate.java119 TopicsListViewAdapter adapter = in configureSharedElements() local
151 configureNotifyAdapterDataChange(mTopicsViewModel.getTopics(), adapter); in configureSharedElements() local

12345678910>>...15