Home
last modified time | relevance | path

Searched refs:getDefaultAdapter (Results 1 – 25 of 69) 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/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DPbapServerProfile.java82 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new PbapServiceListener(), in PbapServerProfile()
147 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.PBAP, in finalize()
DHidDeviceProfile.java54 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in HidDeviceProfile()
172 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HID_DEVICE, in finalize()
DPanProfile.java77 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new PanServiceListener(), in PanProfile()
183 … BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.PAN, mService); in finalize()
DMapClientProfile.java103 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in MapClientProfile()
199 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.MAP_CLIENT, in finalize()
DHidProfile.java92 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new HidHostServiceListener(), in HidProfile()
194 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HID_HOST, in finalize()
DSapProfile.java102 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new SapServiceListener(), in SapProfile()
198 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.SAP, in finalize()
DPbapClientProfile.java107 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in PbapClientProfile()
194 BluetoothAdapter.getDefaultAdapter().closeProfileProxy( in finalize()
DHfpClientProfile.java103 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, in HfpClientProfile()
207 BluetoothAdapter.getDefaultAdapter().closeProfileProxy( in finalize()
DMapProfile.java104 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new MapServiceListener(), in MapProfile()
200 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.MAP, in finalize()
DA2dpSinkProfile.java96 BluetoothAdapter.getDefaultAdapter().getProfileProxy(context, new A2dpSinkServiceListener(), in A2dpSinkProfile()
206 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.A2DP_SINK, in finalize()
DHeadsetProfile.java104 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in HeadsetProfile()
232 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEADSET, in finalize()
DHearingAidProfile.java102 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in HearingAidProfile()
256 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEARING_AID, in finalize()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBtSmsInterfaceManager.java45 BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter(); in sendText()
111 BluetoothAdapter.getDefaultAdapter() in onServiceConnected()
/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/bluetooth/
DBluetoothProfileConnector.java138 IBluetoothManager mgr = BluetoothAdapter.getDefaultAdapter().getBluetoothManager(); in connect()
161 IBluetoothManager mgr = BluetoothAdapter.getDefaultAdapter().getBluetoothManager(); in disconnect()
DBluetoothSocket.java231 mAddress = BluetoothAdapter.getDefaultAdapter().getAddress(); in BluetoothSocket()
274 as.mDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(remoteAddr); in acceptSocket()
402 BluetoothAdapter.getDefaultAdapter().getBluetoothService(); in connect()
441 IBluetooth bluetoothProxy = BluetoothAdapter.getDefaultAdapter().getBluetoothService(); in bindListen()
709 BluetoothAdapter.getDefaultAdapter().getBluetoothService(); in requestMaximumTxDataLength()
/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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DPbapClientProfileTest.java59 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp()
DSapProfileTest.java59 mShadowBluetoothAdapter = Shadow.extract(BluetoothAdapter.getDefaultAdapter()); in setUp()

123