Home
last modified time | relevance | path

Searched refs:getDefaultAdapter (Results 1 – 25 of 74) 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/deviceinfo/
DAbstractBluetoothAddressPreferenceController.java52 return BluetoothAdapter.getDefaultAdapter() != null; in isAvailable()
75 BluetoothAdapter bluetooth = BluetoothAdapter.getDefaultAdapter(); in updateConnectivity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBtSmsInterfaceManager.java45 BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter(); in sendText()
108 BluetoothAdapter.getDefaultAdapter() in onServiceConnected()
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfileConnector.java122 IBluetoothManager mgr = BluetoothAdapter.getDefaultAdapter().getBluetoothManager(); in connect()
135 IBluetoothManager mgr = BluetoothAdapter.getDefaultAdapter().getBluetoothManager(); in disconnect()
DBluetoothSocket.java226 mAddress = BluetoothAdapter.getDefaultAdapter().getAddress(); in BluetoothSocket()
269 as.mDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(remoteAddr); in acceptSocket()
391 BluetoothAdapter.getDefaultAdapter().getBluetoothService(null); in connect()
429 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(null); in bindListen()
705 BluetoothAdapter.getDefaultAdapter().getBluetoothService(null); in requestMaximumTxDataLength()
DBluetoothPbapClient.java67 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPbapClient()
228 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
DBluetoothSap.java105 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothSap()
355 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in isEnabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DPanProfile.java74 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new PanServiceListener(), in PanProfile()
176 … BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.PAN, mService); in finalize()
DHidDeviceProfile.java52 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in HidDeviceProfile()
181 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HID_DEVICE, in finalize()
DHidProfile.java89 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new HidHostServiceListener(), in HidProfile()
189 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HID_HOST, in finalize()
DA2dpSinkProfile.java93 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new A2dpSinkServiceListener(), in A2dpSinkProfile()
215 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.A2DP_SINK, in finalize()
DHfpClientProfile.java100 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in HfpClientProfile()
221 BluetoothAdapter.getDefaultAdapter().closeProfileProxy( in finalize()
DMapProfile.java101 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new MapServiceListener(), in MapProfile()
206 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.MAP, in finalize()
DMapClientProfile.java102 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in MapClientProfile()
210 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.MAP_CLIENT, in finalize()
DPbapClientProfile.java104 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in PbapClientProfile()
202 BluetoothAdapter.getDefaultAdapter().closeProfileProxy( in finalize()
DSapProfile.java99 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new SapServiceListener(), in SapProfile()
206 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.SAP, in finalize()
DHeadsetProfile.java99 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new HeadsetServiceListener(), in HeadsetProfile()
235 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEADSET, in finalize()
DHearingAidProfile.java97 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in HearingAidProfile()
269 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEARING_AID, 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/cmds/svc/src/com/android/commands/svc/
DBluetoothCommand.java43 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); in run()
/frameworks/base/core/java/android/nfc/
DNfcManager.java70 public NfcAdapter getDefaultAdapter() { in getDefaultAdapter() method in NfcManager
/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/nfc/cardemulation/
DCardEmulation.java369 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in unsetOffHostForService()
430 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in setOffHostForService()
765 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mContext); in recoverService()

123