/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | BluetoothTest.java | 44 private BluetoothAdapter mAdapter; field in BluetoothTest 49 mAdapter = BluetoothAdapter.getDefaultAdapter(); in setUp() 50 assertNotNull(mAdapter); in setUp() 51 mBtWasEnabled = mAdapter.isEnabled(); in setUp() 55 if (mBtWasEnabled != mAdapter.isEnabled()) { in tearDown() 77 assertTrue(BluetoothAdapter.checkBluetoothAddress(mAdapter.getAddress())); in testGetAddress() 85 BluetoothServerSocket socket = mAdapter.listenUsingRfcommWithServiceRecord( in testListenUsingRfcommWithServiceRecord() 100 mAdapter.getRemoteDevice((String)null); in testGetRemoteDevice() 105 mAdapter.getRemoteDevice("00:00:00:00:00:00:00:00"); in testGetRemoteDevice() 110 mAdapter.getRemoteDevice((byte[])null); in testGetRemoteDevice() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | AbstractTestListActivity.java | 33 protected TestListAdapter mAdapter; field in AbstractTestListActivity 36 mAdapter = adapter; in setTestListAdapter() 37 setListAdapter(mAdapter); in setTestListAdapter() 38 mAdapter.loadTestResults(); in setTestListAdapter() 42 TestListItem item = mAdapter.getItem(position); in getIntent() 77 mAdapter.setTestResult(testResult); in handleLaunchTestResult()
|
D | TestResultsReport.java | 77 private final TestListAdapter mAdapter; field in TestResultsReport 81 this.mAdapter = adapter; in TestResultsReport() 117 int count = mAdapter.getCount(); in getContents() 119 TestListItem item = mAdapter.getItem(i); in getContents() 124 xml.attribute(null, "result", getTestResultString(mAdapter.getTestResult(i))); in getContents() 126 String details = mAdapter.getTestDetails(i); in getContents() 134 ReportLog reportLog = mAdapter.getReportLog(i); in getContents()
|
D | ReportExporter.java | 44 private final TestListAdapter mAdapter; field in ReportExporter 48 this.mAdapter = adapter; in ReportExporter() 59 TestResultsReport report = new TestResultsReport(mContext, mAdapter); in doInBackground()
|
D | TestListActivity.java | 129 mAdapter.clearTestResults(); in handleClearItemSelected() 135 TestResultsReport report = new TestResultsReport(this, mAdapter); in handleViewItemSelected() 146 new ReportExporter(this, mAdapter).execute(); in handleExportItemSelected()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ExpandableListTester.java | 32 private final ExpandableListAdapter mAdapter; field in ExpandableListTester 47 mAdapter = mExpandableListView.getExpandableListAdapter(); in ExpandableListTester() 84 int groupCount = mAdapter.getGroupCount(); in testContextMenus() 101 final int childrenCount = mAdapter.getChildrenCount(groupIndex); in testContextMenus() 136 Assert.assertTrue("Not enough groups", groupIndex < mAdapter.getGroupCount()); in expandAGroup() 152 final int groupCount = mAdapter.getGroupCount(); in testConvertionBetweenFlatAndPackedOnGroups() 178 final int childrenCount = mAdapter.getChildrenCount(groupIndex); in testConvertionBetweenFlatAndPackedOnChildren() 207 final int groupCount = mAdapter.getGroupCount(); in testSelectedPositionOnGroups() 232 final int childrenCount = mAdapter.getChildrenCount(groupIndex); in testSelectedPositionOnChildren()
|
D | ExpandableListViewBasicTest.java | 37 private ExpandableListAdapter mAdapter; field in ExpandableListViewBasicTest 56 mAdapter = mExpandableListView.getExpandableListAdapter(); in setUp() 117 mAdapter instanceof BaseExpandableListAdapter); in testExpandedGroupMovement() 118 final BaseExpandableListAdapter adapter = (BaseExpandableListAdapter) mAdapter; in testExpandedGroupMovement()
|
D | AutoCompleteTextViewTest.java | 66 ArrayAdapter<String> mAdapter; field in AutoCompleteTextViewTest 101 mAdapter = new ArrayAdapter<String>(mActivity, in setUp() 183 Filter filter = mAdapter.getFilter(); in testAccessAdapter() 185 autoCompleteTextView.setAdapter(mAdapter); in testAccessAdapter() 186 assertSame(mAdapter, autoCompleteTextView.getAdapter()); in testAccessAdapter() 241 autoCompleteTextView.setAdapter(mAdapter); in testConvertSelectionToString() 389 mAutoCompleteTextView.setAdapter(mAdapter); in testOnFilterComplete() 448 mAutoCompleteTextView.setAdapter(mAdapter); in testPerformFiltering() 526 mAutoCompleteTextView.setAdapter(mAdapter); in testPerformCompletion() 625 mAutoCompleteTextView.setAdapter(mAdapter); in testAccessListSelection()
|
D | ExpandableListSimple.java | 38 ((BaseExpandableListAdapter) mAdapter).notifyDataSetChanged(); in onCreateOptionsMenu()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | SimpleReaderActivity.java | 37 NfcAdapter mAdapter; field in SimpleReaderActivity 56 mAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate() 78 mAdapter.enableReaderMode(this, this, NfcAdapter.FLAG_READER_NFC_A | in onResume() 171 mAdapter.disableReaderMode(this); in onItemSelected() 172 mAdapter.enableReaderMode(this, this, NfcAdapter.FLAG_READER_NFC_A | in onItemSelected() 179 mAdapter.disableReaderMode(this); in onItemSelected() 180 mAdapter.enableReaderMode(this, this, NfcAdapter.FLAG_READER_NFC_B | in onItemSelected()
|
D | ProtocolParamsReaderActivity.java | 21 NfcAdapter mAdapter; field in ProtocolParamsReaderActivity 33 mAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate() 41 mAdapter.enableReaderMode(this, this, NfcAdapter.FLAG_READER_NFC_A | in onResume()
|
D | BaseEmulatorActivity.java | 29 NfcAdapter mAdapter; field in BaseEmulatorActivity 56 mAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate() 57 mCardEmulation = CardEmulation.getInstance(mAdapter); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/ |
D | HceFEmulatorActivity.java | 33 NfcAdapter mAdapter; field in HceFEmulatorActivity 53 mAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate() 54 mNfcFCardEmulation = NfcFCardEmulation.getInstance(mAdapter); in onCreate()
|
D | HceFReaderActivity.java | 39 NfcAdapter mAdapter; field in HceFReaderActivity 48 mAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate() 54 mAdapter.enableReaderMode(this, this, NfcAdapter.FLAG_READER_NFC_F | in onResume()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | PolicySerializationTestActivity.java | 63 private PolicyAdapter mAdapter; field in PolicySerializationTestActivity 100 mAdapter = new PolicyAdapter(this); in onCreate() 101 setListAdapter(mAdapter); in onCreate() 108 mAdapter.clear(); in loadPolicy() 114 mAdapter.add(item); in loadPolicy() 121 mAdapter.clear(); in generateRandomPolicy() 125 mAdapter.add(item); in generateRandomPolicy() 183 mApplyPolicyButton.setEnabled(!mAdapter.isEmpty()); in updateWidgets() 186 boolean enablePass = !mAdapter.isEmpty(); in updateWidgets() 187 int numItems = mAdapter.getCount(); in updateWidgets() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
D | RequesterTestListActivity.java | 46 protected TestListAdapter mAdapter; field in RequesterTestListActivity 69 mAdapter = getTestListAdapter(); in onCreate() 70 setTestListAdapter(mAdapter); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerHardwareScanFilterActivity.java | 45 private MapAdapter mAdapter; field in BleScannerHardwareScanFilterActivity 56 mAdapter = new MapAdapter(); in onCreate() 57 mScanResultListView.setAdapter(mAdapter); in onCreate() 102 mAdapter.addItem(uuid + " : " + data);
|
D | BluetoothChatService.java | 68 private final BluetoothAdapter mAdapter; field in BluetoothChatService 89 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothChatService() 285 tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME_SECURE, mUuid); in AcceptThread() 287 tmp = mAdapter.listenUsingInsecureRfcommWithServiceRecord(NAME_INSECURE, mUuid); in AcceptThread() 387 mAdapter.cancelDiscovery(); in run()
|
D | BleScannerService.java | 81 private BluetoothAdapter mAdapter; field in BleScannerService 96 mAdapter = mBluetoothManager.getAdapter(); in onCreate() 97 mScanner = mAdapter.getBluetoothLeScanner(); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/ |
D | SuidFilesActivity.java | 59 private SuidFilesAdapter mAdapter; field in SuidFilesActivity 70 mAdapter = new SuidFilesAdapter(); in onCreate() 71 setListAdapter(mAdapter); in onCreate() 121 File file = mAdapter.getItem(position); in onListItemClick() 258 mAdapter.add(result); in onPostExecute()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
D | BackupAccessibilityTestActivity.java | 115 private BackupAdapter mAdapter; field in BackupAccessibilityTestActivity 125 mAdapter = new BackupAdapter(this); in onCreate() 126 setListAdapter(mAdapter); in onCreate() 196 mAdapter.clear(); in onPostExecute() 197 mAdapter.addAll(result); in onPostExecute()
|
D | BackupTestActivity.java | 75 private BackupAdapter mAdapter; field in BackupTestActivity 85 mAdapter = new BackupAdapter(this); in onCreate() 86 setListAdapter(mAdapter); in onCreate() 175 mAdapter.clear(); in onPostExecute() 176 mAdapter.addAll(result); in onPostExecute()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ExpandableListScenario.java | 42 protected ExpandableListAdapter mAdapter; field in ExpandableListScenario 57 ((ExpandableListView) listView).setAdapter(mAdapter = createAdapter()); in setAdapter() 278 final ExpandableListAdapter adapter = mAdapter; in findGroupWithNumChildren() 296 return mAdapter; in getAdapter()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ExpandableListTestActivity.java | 44 private ExpandableListAdapter mAdapter; field in ExpandableListTestActivity 69 mAdapter = new SimpleExpandableListAdapter(this, groupData, in onCreate() 74 setListAdapter(mAdapter); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | PhotoCaptureActivity.java | 70 private ArrayAdapter<SelectableResolution> mAdapter; field in PhotoCaptureActivity 223 mAdapter = new ArrayAdapter<SelectableResolution>( in onResume() 226 mResolutionSpinner.setAdapter(mAdapter); in onResume() 320 mAdapter.notifyDataSetChanged(); in onActivityResult()
|