Home
last modified time | relevance | path

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

12345678910>>...14

/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/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
DJoinContactListFragment.java125 JoinContactListAdapter adapter = getAdapter(); in onContactListLoaded() local
146 JoinContactListAdapter adapter = new JoinContactListAdapter(getActivity()); in createListAdapter() local
154 JoinContactListAdapter adapter = getAdapter(); in configureAdapter() local
DEmailAddressPickerFragment.java44 EmailAddressListAdapter adapter = (EmailAddressListAdapter)getAdapter(); in onItemClick() local
53 EmailAddressListAdapter adapter = new EmailAddressListAdapter(getActivity()); in createListAdapter() 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/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/apps/Nfc/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/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/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DBaseTimeZoneAdapterTest.java49 TestTimeZoneAdapter adapter = new TestTimeZoneAdapter(items); in testFilter() local
57 private void assertSearch(TestTimeZoneAdapter adapter , String searchText, TestItem... items) in assertSearch()
73 private Observer(TestTimeZoneAdapter adapter) { in Observer()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/activitydelegates/
DBlockedAppsActivityActionDelegate.java85 AppsListViewAdapter adapter = in configureSharedElements() local
93 configureNotifyAdapterDataChange(mBlockedAppsViewModel.getBlockedApps(), adapter); in configureSharedElements() local
DBlockedTopicsActivityActionDelegate.java88 TopicsListViewAdapter adapter = in configureSharedElements() local
95 configureNotifyAdapterDataChange(mBlockedTopicsViewModel.getBlockedTopics(), adapter); in configureSharedElements() local
DTopicsActivityActionDelegate.java123 TopicsListViewAdapter adapter = in configureSharedElements() local
155 configureNotifyAdapterDataChange(mTopicsViewModel.getTopics(), adapter); in configureSharedElements() local
DAppsActivityActionDelegate.java124 AppsListViewAdapter adapter = in configureSharedElements() local
155 configureNotifyAdapterDataChange(mAppsViewModel.getApps(), adapter); in configureSharedElements() local
/packages/apps/Launcher3/src/com/android/launcher3/util/
DScrollableLayoutManager.java94 Adapter adapter = mRv == null ? null : mRv.getAdapter(); in computeVerticalScrollOffset() local
115 Adapter adapter = mRv == null ? null : mRv.getAdapter(); in computeVerticalScrollRange() local
134 private int getItemsHeight(Adapter adapter, int untilIndex) { in getItemsHeight()
162 protected int incrementTotalHeight(Adapter adapter, int position, int heightUntilLastPos) { in incrementTotalHeight()

12345678910>>...14