Home
last modified time | relevance | path

Searched refs:getDefaultAdapter (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothRebootStressTest.java54 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testStart()
64 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testMiddleNoToggle()
75 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testMiddleToggle()
88 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testStop()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DPanProfile.java72 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in PanProfile()
175 … BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.PAN, mService); in finalize()
DLocalBluetoothAdapter.java70 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in getInstance()
DHidProfile.java193 … BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.INPUT_DEVICE, in finalize()
DHfpClientProfile.java220 BluetoothAdapter.getDefaultAdapter().closeProfileProxy( in finalize()
DPbapClientProfile.java224 BluetoothAdapter.getDefaultAdapter().closeProfileProxy( in finalize()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsBT/src/com/android/framework/externalsharedpermsbttestapp/
DExternalSharedPermsBTTest.java32 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunBluetooth()
/frameworks/base/core/java/android/nfc/
DNfcManager.java67 public NfcAdapter getDefaultAdapter() { in getDefaultAdapter() method in NfcManager
DNfcAdapter.java540 public static NfcAdapter getDefaultAdapter(Context context) { in getDefaultAdapter() method in NfcAdapter
555 return manager.getDefaultAdapter(); in getDefaultAdapter()
567 public static NfcAdapter getDefaultAdapter() { in getDefaultAdapter() method in NfcAdapter
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
DScanResultTest.java39 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( in testScanResultParceling()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
DExternalSharedPermsDiffKeyTest.java46 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunBluetoothAndFineLocation()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
DExternalSharedPermsTest.java48 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunLocationAndBluetooth()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java209 mAddress = BluetoothAdapter.getDefaultAdapter().getAddress(); in BluetoothSocket()
250 as.mDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(RemoteAddr); in acceptSocket()
360 BluetoothAdapter.getDefaultAdapter().getBluetoothService(null); in connect()
398 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(null); in bindListen()
DBluetoothPbapClient.java100 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPbapClient()
313 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
DBluetoothSap.java129 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothSap()
416 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
DBluetoothMap.java91 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothMap()
393 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
DBluetoothMapClient.java111 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothMapClient()
410 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
DBluetoothHealth.java474 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHealth()
542 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
DBluetoothDevice.java665 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in getService()
1274 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isBluetoothEnabled()
1717 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in connectGatt()
DBluetoothManager.java70 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothManager()
DBluetoothPbap.java147 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPbap()
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
DBasicNfcEeTest.java52 mAdapterExtras = NfcAdapterExtras.get(NfcAdapter.getDefaultAdapter(mContext)); in setUp()
/frameworks/base/core/tests/BTtraffic/src/com/android/google/experimental/bttraffic/
DBTtraffic.java183 serverSocket = BluetoothAdapter.getDefaultAdapter() in run()
270 device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(remoteAddr); in run()
/frameworks/base/core/java/android/bluetooth/le/
DPeriodicAdvertisingManager.java68 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in PeriodicAdvertisingManager()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMnsService.java97 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in run()

123