Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothStressTest.java64 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testEnable()
83 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testDiscoverable()
106 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testScan()
128 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testEnablePan()
155 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testPair()
181 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testAcceptPair()
208 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testConnectA2dp()
241 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testConnectHeadset()
274 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testConnectInput()
307 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in testConnectPan()
[all …]
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()
DA2dpSinkProfile.java215 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.A2DP_SINK, in finalize()
DHfpClientProfile.java225 BluetoothAdapter.getDefaultAdapter().closeProfileProxy( in finalize()
DMapProfile.java205 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.MAP, in finalize()
DSapProfile.java208 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.SAP, 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.java66 public NfcAdapter getDefaultAdapter() { in getDefaultAdapter() method in NfcManager
DNfcAdapter.java515 public static NfcAdapter getDefaultAdapter(Context context) { in getDefaultAdapter() method in NfcAdapter
530 return manager.getDefaultAdapter(); in getDefaultAdapter()
542 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/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
DExternalSharedPermsTest.java48 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunLocationAndBluetooth()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
DExternalSharedPermsDiffKeyTest.java46 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunBluetoothAndFineLocation()
/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.java99 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPbapClient()
312 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
DBluetoothMap.java91 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothMap()
393 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
DBluetoothSap.java128 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothSap()
415 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
DBluetoothDevice.java608 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in getService()
1218 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isBluetoothEnabled()
1588 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in connectGatt()
DBluetoothHealth.java473 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHealth()
541 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
DBluetoothManager.java65 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothManager()
/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/nfc-extras/tests/src/com/android/nfc_extras/tests/
DBasicNfcEeTest.java52 mAdapterExtras = NfcAdapterExtras.get(NfcAdapter.getDefaultAdapter(mContext)); in setUp()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMnsService.java97 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in run()

123