Home
last modified time | relevance | path

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

1234

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBasicAdapterTest.java124 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in test_enableDisable() local
137 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in test_getAddress() local
148 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in test_getName() local
160 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in test_getBondedDevices() local
176 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in test_getRemoteDevice() local
212 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in test_listenUsingRfcommWithServiceRecord() local
225 private void disable(BluetoothAdapter adapter) { in disable()
258 private void enable(BluetoothAdapter adapter) { in enable()
/cts/tests/tests/widget/src/android/widget/cts/
DCursorTreeAdapterTest.java175 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testGetCursor() local
188 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testSetGroupCursor() local
201 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testSetChildrenCursor() local
212 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); in testChangeCursor() local
225 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testNotifyDataSetChangedBoolean() local
265 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testNotifyDataSetChanged() local
292 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testNotifyDataSetInvalidated() local
319 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testOnGroupCollapsed() local
358 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testHasStableIds() local
368 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); in testIsChildSelectable() local
[all …]
DBaseExpandableListAdapterTest.java49 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testDefaults() local
58 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testAreAllItemsEnabled() local
64 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testGetCombinedId() local
79 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testIsEmpty() local
87 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testNotifyDataSetChanged() local
98 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testNotifyDataSetInvalidated() local
109 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testOnGroupCollapsed() local
116 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testOnGroupExpanded() local
123 BaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); in testDataSetObserver() local
DAbsSpinnerTest.java93 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testSetSelectionIntBoolean() local
116 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testSetSelectionInt() local
138 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testAccessAdapter() local
192 MockSpinnerAdapter adapter = new MockSpinnerAdapter(); in testPointToPosition() local
227 MockSpinnerAdapter adapter = new MockSpinnerAdapter(); in testGetSelectedView() local
246 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testOnSaveAndRestoreInstanceState() local
DSpinnerTest.java148 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in verifyGetBaseline() local
287 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in verifyGravity() local
322 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testDropDownMetricsDropdownMode() local
355 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testDropDownMetricsDialogMode() local
387 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testDropDownBackgroundDropdownMode() local
431 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testDropDownBackgroundDialogMode() local
/cts/tests/tests/print/src/android/print/cts/
DPrintDocumentAdapterContractTest.java88 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in noPrintOptionsOrPrinterChange() local
197 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in noPrintOptionsOrPrinterChangeCanceled() local
251 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in nonCallingBackWrite() local
322 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in nonChangePrinterWhileNotWritten() local
395 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in printOptionsChangeAndNoPrinterChange() local
587 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in printCorruptedFile() local
672 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in printOptionsChangeAndPrinterChange() local
824 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in printOptionsChangeAndNoPrinterChangeAndContentChange() local
944 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in newPrinterSupportsSelectedPrintOptions() local
1040 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in nothingChangesAllPagesWrittenFirstTime() local
[all …]
DPageRangeAdjustmentTest.java89 final PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(PAGE_COUNT); in setDefaultPrinter() local
117 final PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(PAGE_COUNT); in allPagesWantedAndAllPagesWritten() local
169 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in somePagesWantedAndAllPagesWritten() local
260 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in somePagesWantedAndSomeMorePagesWritten() local
351 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in somePagesWantedAndNotWritten() local
438 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in wantedPagesAlreadyWrittenForPreview() local
DPrinterCapabilitiesTest.java168 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter(null, null, null); in illegalPrinterCapabilityInfos() local
301 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter(null, null, null); in sanePrinterCapabilityInfos() local
354 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in testPrinterCapabilityInfo() local
DPrinterDiscoverySessionLifecycleTest.java111 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in makeDefaultPrinter() local
175 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in defaultPrinterBecomesAvailableWhileInBackground() local
225 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in defaultPrinterBecomesUsableWhileInBackground() local
273 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in normalLifecycle() local
381 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in cancelPrintServicesAlertDialog() local
471 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in startPrinterDiscoveryWithHistoricalPrinters() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDisallowAppsControlActivity.java90 private void setupCheckDisabledUninstallButtonTest(ArrayTestListAdapter adapter) { in setupCheckDisabledUninstallButtonTest()
98 private void setupCheckDisabledForceStopTest(ArrayTestListAdapter adapter) { in setupCheckDisabledForceStopTest()
106 private void setupCheckDisabledAppStorageButtonsTest(ArrayTestListAdapter adapter) { in setupCheckDisabledAppStorageButtonsTest()
115 protected void setupTests(ArrayTestListAdapter adapter) { in setupTests()
DKeyguardDisabledFeaturesActivity.java105 protected void setupDisableTrustAgentsTest(ArrayTestListAdapter adapter) { in setupDisableTrustAgentsTest()
112 protected void setupDisableUnredactedWorkNotification(ArrayTestListAdapter adapter) { in setupDisableUnredactedWorkNotification()
121 protected void setupFingerprintTests(ArrayTestListAdapter adapter) { in setupFingerprintTests()
137 protected void setupTests(ArrayTestListAdapter adapter) { in setupTests()
DDeviceOwnerNegativeTestActivity.java58 final ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
73 private void addTestsToAdapter(final ArrayTestListAdapter adapter) { in addTestsToAdapter()
DWifiLockdownTestActivity.java68 final ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
134 private void addTestsToAdapter(final ArrayTestListAdapter adapter) { in addTestsToAdapter()
/cts/tests/tests/content/src/android/content/cts/
DDeferSyncTest.java111 AbstractThreadedSyncAdapter adapter = NotAlwaysSyncableSyncService.getInstance( in deferSyncAndMakeSyncable() local
136 AbstractThreadedSyncAdapter adapter = NotAlwaysSyncableSyncService.getInstance( in deferSyncAndReportIsReady() local
161 AbstractThreadedSyncAdapter adapter = AlwaysSyncableSyncService.getInstance( in deferSyncAndReportIsReadyAlwaysSyncable() local
187 AbstractThreadedSyncAdapter adapter = NotAlwaysSyncableSyncService.getInstance( in onNewAccountForEachAccount() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DRequesterTestListActivity.java78 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in getTestListAdapter() local
99 private void addTestCase(ArrayTestListAdapter adapter, TestCase testcase) { in addTestCase()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorListenerAdapterTest.java38 AnimatorListenerAdapter adapter = new MyAdapter(); in testNullOk() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
DHceFReaderTestActivity.java37 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionListenerAdapterTest.java38 TransitionListenerAdapter adapter = new MyAdapter(); in testNullOk() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleSecureServerTestListActivity.java38 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate() local
DBleCocSecureServerTestListActivity.java38 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate() local
DBleAdvertiserTestActivity.java41 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate() local
DBleCocInsecureClientTestListActivity.java40 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate() local
DBleCocSecureClientTestListActivity.java40 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate() local
DBleInsecureServerTestListActivity.java38 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate() local
DBleSecureClientTestListActivity.java38 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate() local

1234