/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | NfcAdapterTest.java | 80 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in setUp() local 100 NfcAdapter adapter = getDefaultAdapter(); in testGetDefaultAdapter() local 106 NfcAdapter adapter = getDefaultAdapter(); in testAddNfcUnlockHandler() local 112 NfcAdapter adapter = getDefaultAdapter(); in testDisableWithNoParams() local 121 NfcAdapter adapter = getDefaultAdapter(); in testDisableWithParam() local 128 NfcAdapter adapter = getDefaultAdapter(); in testDisableForegroundDispatch() local 135 NfcAdapter adapter = getDefaultAdapter(); in testDisableReaderMode() local 142 NfcAdapter adapter = getDefaultAdapter(); in testEnable() local 149 NfcAdapter adapter = getDefaultAdapter(); in testEnableForegroundDispatch() local 164 NfcAdapter adapter = getDefaultAdapter(); in testEnableReaderMode() local [all …]
|
D | CardEmulationTest.java | 375 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeAPollingLoopToDefault() local 460 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeAPollingLoopToForeground() local 488 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testSetShouldDefaultToObserveModeShouldDefaultToObserveMode() local 521 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeAOneLoopPollingLoopToForeground() local 561 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeABNoOffPollingLoopToDefault() local 587 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTypeAPollingLoopToForegroundWithWalletHolder() local 616 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(context); in ensurePreferredService() local 634 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTwoCustomPollingLoopToPreferredCustomAndBackgroundDynamic() local 693 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testTwoCustomPollingLoopToCustomAndBackgroundDynamic() local 755 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in testCustomPollingLoopToCustomDynamic() local [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | CursorTreeAdapterTest.java | 175 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 …]
|
D | BaseExpandableListAdapterTest.java | 49 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
|
D | SpinnerTest.java | 166 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in getTestAdapter() local 175 ArrayAdapter<CharSequence> adapter = getTestAdapter(); in verifyGetBaseline() local 245 ArrayAdapter<CharSequence> adapter = getTestAdapter(); in verifyOnClickAccessibility() local 349 ArrayAdapter<CharSequence> adapter = getTestAdapter(); in verifyGravity() local 382 ArrayAdapter<CharSequence> adapter = getTestAdapter(); in testDropDownMetricsDropdownMode() local 414 ArrayAdapter<CharSequence> adapter = getTestAdapter(); in testDropDownMetricsDialogMode() local 444 ArrayAdapter<CharSequence> adapter = getTestAdapter(); in testDropDownBackgroundDropdownMode() local 465 ArrayAdapter<CharSequence> adapter = getTestAdapter(); in testDropDownBackgroundDialogMode() local
|
D | AbsSpinnerTest.java | 102 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testSetSelectionIntBoolean() local 125 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testSetSelectionInt() local 147 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testAccessAdapter() local 201 MockSpinnerAdapter adapter = new MockSpinnerAdapter(); in testPointToPosition() local 236 MockSpinnerAdapter adapter = new MockSpinnerAdapter(); in testGetSelectedView() local 255 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(mActivity, in testOnSaveAndRestoreInstanceState() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DisallowAppsControlActivity.java | 90 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()
|
D | CrossProfilePermissionControlActivity.java | 73 protected void setupInteractAcrossProfilesDisabledByDefault(ArrayTestListAdapter adapter) { in setupInteractAcrossProfilesDisabledByDefault() 81 protected void setupInteractAcrossProfilesEnabled(ArrayTestListAdapter adapter) { in setupInteractAcrossProfilesEnabled() 89 protected void setupInteractAcrossProfilesDisabled(ArrayTestListAdapter adapter) { in setupInteractAcrossProfilesDisabled() 102 protected void setupTests(ArrayTestListAdapter adapter) { in setupTests()
|
D | KeyguardDisabledFeaturesActivity.java | 105 protected void setupDisableTrustAgentsTest(ArrayTestListAdapter adapter) { in setupDisableTrustAgentsTest() 112 protected void setupDisableUnredactedWorkNotification(ArrayTestListAdapter adapter) { in setupDisableUnredactedWorkNotification() 121 protected void setupFingerprintTests(ArrayTestListAdapter adapter) { in setupFingerprintTests() 139 protected void setupTests(ArrayTestListAdapter adapter) { in setupTests()
|
D | DeviceOwnerNegativeTestActivity.java | 58 final ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local 73 private void addTestsToAdapter(final ArrayTestListAdapter adapter) { in addTestsToAdapter()
|
D | WifiLockdownTestActivity.java | 76 final ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local 142 private void addTestsToAdapter(final ArrayTestListAdapter adapter) { in addTestsToAdapter()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintDocumentAdapterContractTest.java | 89 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in noPrintOptionsOrPrinterChange() local 195 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in noPrintOptionsOrPrinterChangeCanceled() local 248 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in nonCallingBackWrite() local 318 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in nonChangePrinterWhileNotWritten() local 388 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in printOptionsChangeAndNoPrinterChange() local 577 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in printCorruptedFile() local 659 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in printOptionsChangeAndPrinterChange() local 808 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in printOptionsChangeAndNoPrinterChangeAndContentChange() local 925 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in newPrinterSupportsSelectedPrintOptions() local 1018 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in nothingChangesAllPagesWrittenFirstTime() local [all …]
|
D | PageRangeAdjustmentTest.java | 89 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 437 final PrintDocumentAdapter adapter = createMockPrintDocumentAdapter( in wantedPagesAlreadyWrittenForPreview() local
|
D | PrinterCapabilitiesTest.java | 168 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
|
D | PrinterDiscoverySessionLifecycleTest.java | 109 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in makeDefaultPrinter() local 163 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in defaultPrinterBecomesAvailableWhileInBackground() local 215 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in defaultPrinterBecomesUsableWhileInBackground() local 265 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in normalLifecycle() local 378 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in cancelPrintServicesAlertDialog() local 473 PrintDocumentAdapter adapter = createDefaultPrintDocumentAdapter(1); in startPrinterDiscoveryWithHistoricalPrinters() local
|
/cts/tests/tests/content/src/android/content/cts/ |
D | DeferSyncTest.java | 111 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/ |
D | RequesterTestListActivity.java | 78 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in getTestListAdapter() local 99 private void addTestCase(ArrayTestListAdapter adapter, TestCase testcase) { in addTestCase()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/ |
D | HceFReaderTestActivity.java | 37 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | AnimatorListenerAdapterTest.java | 38 AnimatorListenerAdapter adapter = new MyAdapter(); in testNullOk() local
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | TransitionListenerAdapterTest.java | 38 TransitionListenerAdapter adapter = new MyAdapter(); in testNullOk() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/ |
D | OffhostUiccReaderTestActivity.java | 39 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
|
D | OffhostUiccEmulatorTestActivity.java | 39 ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); in onCreate() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | BiometricTestList.java | 38 ManifestTestListAdapter adapter = new ManifestTestListAdapter(this, in onCreate() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleCocInsecureClientTestListActivity.java | 40 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate() local
|
D | BleCocSecureClientTestListActivity.java | 40 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in onCreate() local
|