Home
last modified time | relevance | path

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

12345678910>>...12

/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
146 IteratorCallbackAdapter adapter = in testIteratorCallbackSuccessTwicePassThrough() local
159 IteratorCallbackAdapter adapter = in testIteratorCallbackFailureTwicePassThrough() local
173 IteratorCallbackAdapter adapter = in testIteratorCallbackSuccessAfterFailurePassThrough() local
189 IteratorCallbackAdapter adapter = in testIteratorCallbackFailureAfterSuccessPassThrough() local
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/widget/
DCompositeListAdapterTest.java114 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetCount() local
123 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetCountWithInvalidation() local
137 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetItem() local
150 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetItemId() local
163 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetView() local
178 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetViewTypeCount() local
197 CompositeListAdapter adapter = new CompositeListAdapter(); in testGetItemViewType() local
213 CompositeListAdapter adapter = new CompositeListAdapter(); in testNotifyDataSetChangedPropagated() local
240 CompositeListAdapter adapter = new CompositeListAdapter(); in testNotifyDataSetChangedOnAddingAdapter() local
258 CompositeListAdapter adapter = new CompositeListAdapter(); in testNotifyDataSetInvalidated() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java195 final ManageApplications.ApplicationsAdapter adapter = in onQueryTextChange_shouldFilterSearchInApplicationsAdapter() local
208 final ManageApplications.ApplicationsAdapter adapter = in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer() local
229 final ManageApplications.ApplicationsAdapter adapter = in updateLoading_appNotLoaded_shouldDelayCallToHandleLoadingContainer() local
257 final ManageApplications.ApplicationsAdapter adapter = in onRebuildComplete_shouldHideLoadingView() local
302 final ManageApplications.ApplicationsAdapter adapter = in onRebuildComplete_hasSearchQuery_shouldFilterSearch() local
315 final ManageApplications.ApplicationsAdapter adapter = in notifyItemChange_recyclerViewIdle_shouldNotify() local
329 final ManageApplications.ApplicationsAdapter adapter = in notifyItemChange_recyclerViewScrolling_shouldNotifyWhenIdle() local
351 ManageApplications.ApplicationsAdapter adapter = in applicationsAdapter_onBindViewHolder_notifications_wrongExtraInfo() local
374 ManageApplications.ApplicationsAdapter adapter = in applicationsAdapter_onBindViewHolder_updateSwitch_notifications() local
396 ManageApplications.ApplicationsAdapter adapter = new ManageApplications.ApplicationsAdapter( in applicationsAdapter_onBindViewHolder_updateSwitch_notNotifications() local
[all …]
/packages/modules/Uwb/framework/tests/src/android/uwb/
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
272 IUwbAdapter adapter = mock(IUwbAdapter.class); in testNoCallbackInvoked_sessionClosed() local
365 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingClosed_MultipleSessionsRegistered() local
408 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingReport_MultipleSessionsRegistered() local
[all …]
DRangingSessionTest.java79 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingOpened_OnOpenSuccessCalled() local
95 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingOpened_OnServiceDiscoveredConnectedCalled() local
118 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingOpened_CannotOpenClosedSession() local
142 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen() local
158 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingClosed_OnClosedCalled() local
173 IUwbAdapter adapter = mock(IUwbAdapter.class); in testOnRangingResult_OnReportReceivedCalled() local
189 IUwbAdapter adapter = mock(IUwbAdapter.class); in testStart_CannotStartIfAlreadyStarted() local
206 IUwbAdapter adapter = mock(IUwbAdapter.class); in testStop_CannotStopIfAlreadyStopped() local
225 IUwbAdapter adapter = mock(IUwbAdapter.class); in testStop_CannotStopIfOpenFailed() local
245 IUwbAdapter adapter = mock(IUwbAdapter.class); in testCallbacks_OnlyWhenOpened() local
[all …]
/packages/modules/Bluetooth/framework/tests/stress/src/android/bluetooth/
DBluetoothRebootStressTest.java54 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testStart() local
64 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testMiddleNoToggle() local
75 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testMiddleToggle() local
88 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testStop() local
DBluetoothTestUtils.java477 public void enable(BluetoothAdapter adapter) { in enable()
524 public void disable(BluetoothAdapter adapter) { in disable()
571 public void discoverable(BluetoothAdapter adapter) { in discoverable()
623 public void undiscoverable(BluetoothAdapter adapter) { in undiscoverable()
675 public void startScan(BluetoothAdapter adapter) { in startScan()
713 public void stopScan(BluetoothAdapter adapter) { in stopScan()
751 public void enablePan(BluetoothAdapter adapter) { in enablePan()
779 public void disablePan(BluetoothAdapter adapter) { in disablePan()
803 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) { in pair()
816 public void acceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, in acceptPair()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DPanelSlicesAdapterTest.java120 final PanelSlicesAdapter adapter = spy(new PanelSlicesAdapter(mPanelFragment, mData, 0)); in withPanelFragmentContextNull_createAdapter_noExceptionThrown() local
131 final PanelSlicesAdapter adapter = new PanelSlicesAdapter(mPanelFragment, mData, 0); in setActionLabel_loadsActionLabel() local
176 final PanelSlicesAdapter adapter = in sizeOfAdapter_shouldNotExceedMaxNum() local
190 final PanelSlicesAdapter adapter = in mediaOutputIndicatorSlice_notSliderPanel_noSliderLayout() local
206 final PanelSlicesAdapter adapter = in onBindViewHolder_viewTypeSlider_verifyActionLabelSet() local
217 final PanelSlicesAdapter adapter = in onCreateViewHolder_viewTypeSlider_verifyLayout() local
230 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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/
DPhotosTabAdapterTest.java47 final PhotosTabAdapter adapter = createAdapter(/* shouldShowRecentSection */ true); in test_hasRecentItem() local
72 final PhotosTabAdapter adapter = createAdapter(/* shouldShowRecentSection */ true); in test_exceedMinCount_notSameDay_hasRecentItemAndOneDateItem() local
101 final PhotosTabAdapter adapter = createAdapter(/* shouldShowRecentSection */ true); in test_exceedMinCount_sameDay_hasRecentItemNoDateItem() local
126 final PhotosTabAdapter adapter = createAdapter(/* shouldShowRecentSection */ false); in test_noRecentSection() local
157 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/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/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/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()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAlertManager.java30 private final CallLogAdapter adapter; field in CallLogAlertManager
36 public CallLogAlertManager(CallLogAdapter adapter, LayoutInflater inflater, ViewGroup parent) { in CallLogAlertManager()
/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java81 ListAdapter adapter = getAdapter(); in onMeasure() local
105 ListAdapter adapter = getAdapter(); in addHeaderView() local
156 ListAdapter adapter = getAdapter(); in removeHeaderView() local
178 public void setAdapter(ListAdapter adapter) { in setAdapter()
230 … public HeaderViewGridAdapter(ArrayList<FixedViewInfo> headerViewInfos, ListAdapter adapter) { in HeaderViewGridAdapter()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DGenericMultiProfilePagerAdapter.java69 void bind(PageViewT view, SinglePageAdapterT adapter); in bind()
113 createProfileDescriptor(SinglePageAdapterT adapter) { in createProfileDescriptor()
229 GenericProfileDescriptor(ViewGroup rootView, SinglePageAdapterT adapter) { in GenericProfileDescriptor()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothInputDeviceConnector.java132 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in closeInputProfileProxy() local
153 public void openConnection(BluetoothAdapter adapter) { in openConnection()

12345678910>>...12