Home
last modified time | relevance | path

Searched refs:mBluetoothAdapter (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsBT/src/com/android/framework/externalsharedpermsbttestapp/
DExternalSharedPermsBTTest.java32 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunBluetooth() local
34 if ((mBluetoothAdapter != null) && (!mBluetoothAdapter.isEnabled())) { in testRunBluetooth()
35 mBluetoothAdapter.getName(); in testRunBluetooth()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
DExternalSharedPermsTest.java48 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunLocationAndBluetooth() local
50 if ((mBluetoothAdapter != null) && (!mBluetoothAdapter.isEnabled())) { in testRunLocationAndBluetooth()
51 mBluetoothAdapter.getName(); in testRunLocationAndBluetooth()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
DExternalSharedPermsDiffKeyTest.java46 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in testRunBluetoothAndFineLocation() local
48 if ((mBluetoothAdapter != null) && (!mBluetoothAdapter.isEnabled())) { in testRunBluetoothAndFineLocation()
49 mBluetoothAdapter.getName(); in testRunBluetoothAndFineLocation()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java1530 private WeakReference<BluetoothAdapter> mBluetoothAdapter; field in BluetoothAdapter.GattCallbackWrapper
1534 mBluetoothAdapter = new WeakReference<BluetoothAdapter>(bluetoothAdapter); in GattCallbackWrapper()
1566 BluetoothAdapter adapter = mBluetoothAdapter.get(); in stopLeScan()
1598 BluetoothAdapter adapter = mBluetoothAdapter.get(); in onClientRegistered()
1654 BluetoothAdapter adapter = mBluetoothAdapter.get(); in onScanResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DQuickSettings.java96 private BluetoothAdapter mBluetoothAdapter; field in QuickSettings
131 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in QuickSettings()
552 if (mBluetoothAdapter.isEnabled()) { in addSystemTiles()
553 mBluetoothAdapter.disable(); in addSystemTiles()
555 mBluetoothAdapter.enable(); in addSystemTiles()
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd227 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
228 if (mBluetoothAdapter == null) {
244 if (!mBluetoothAdapter.isEnabled()) {
342 Set&lt;BluetoothDevice> pairedDevices = mBluetoothAdapter.getBondedDevices();
607 tmp = mBluetoothAdapter.listenUsingRfcommWithServiceRecord(NAME, MY_UUID);
743 mBluetoothAdapter.cancelDiscovery();
975 BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
978 mBluetoothAdapter.getProfileProxy(context, mProfileListener, BluetoothProfile.HEADSET);
996 mBluetoothAdapter.closeProfileProxy(mBluetoothHeadset);