Searched refs:mBluetoothAdapter (Results 1 – 6 of 6) sorted by relevance
46 private BluetoothAdapter mBluetoothAdapter; field in DeviceScanActivity71 mBluetoothAdapter = bluetoothManager.getAdapter(); in onCreate()74 if (mBluetoothAdapter == null) { in onCreate()117 if (!mBluetoothAdapter.isEnabled()) { in onResume()118 if (!mBluetoothAdapter.isEnabled()) { in onResume()155 mBluetoothAdapter.stopLeScan(mLeScanCallback); in onListItemClick()168 mBluetoothAdapter.stopLeScan(mLeScanCallback); in scanLeDevice()174 mBluetoothAdapter.startLeScan(mLeScanCallback); in scanLeDevice()177 mBluetoothAdapter.stopLeScan(mLeScanCallback); in scanLeDevice()
46 private BluetoothAdapter mBluetoothAdapter; field in BluetoothLeService193 mBluetoothAdapter = mBluetoothManager.getAdapter(); in initialize()194 if (mBluetoothAdapter == null) { in initialize()213 if (mBluetoothAdapter == null || address == null) { in connect()230 final BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(address); in connect()251 if (mBluetoothAdapter == null || mBluetoothGatt == null) { in disconnect()278 if (mBluetoothAdapter == null || mBluetoothGatt == null) { in readCharacteristic()293 if (mBluetoothAdapter == null || mBluetoothGatt == null) { in setCharacteristicNotification()
93 private BluetoothAdapter mBluetoothAdapter; field in BluetoothHDPService147 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()148 if (mBluetoothAdapter == null || !mBluetoothAdapter.isEnabled()) { in onCreate()154 if (!mBluetoothAdapter.getProfileProxy(this, mBluetoothServiceListener, in onCreate()
67 private BluetoothAdapter mBluetoothAdapter; field in BluetoothHDPActivity131 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()132 if (mBluetoothAdapter == null) { in onCreate()169 (BluetoothDevice[]) mBluetoothAdapter.getBondedDevices().toArray( in onCreate()233 if (!mBluetoothAdapter.isEnabled()) { in onStart()
82 private BluetoothAdapter mBluetoothAdapter = null; field in BluetoothChatFragment94 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()97 if (mBluetoothAdapter == null) { in onCreate()110 if (!mBluetoothAdapter.isEnabled()) { in onStart()194 if (mBluetoothAdapter.getScanMode() != in ensureDiscoverable()368 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(address); in connectDevice()
79 private BluetoothAdapter mBluetoothAdapter = null; field in BluetoothChat93 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()96 if (mBluetoothAdapter == null) { in onCreate()110 if (!mBluetoothAdapter.isEnabled()) { in onStart()188 if (mBluetoothAdapter.getScanMode() != in ensureDiscoverable()324 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(address); in connectDevice()