Searched refs:mBluetoothAdapter (Results 1 – 7 of 7) sorted by relevance
34 private BluetoothAdapter mBluetoothAdapter; field in MainActivity44 mBluetoothAdapter = ((BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE)) in onCreate()48 if (mBluetoothAdapter != null) { in onCreate()51 if (mBluetoothAdapter.isEnabled()) { in onCreate()54 if (mBluetoothAdapter.isMultipleAdvertisementSupported()) { in onCreate()88 if (mBluetoothAdapter.isMultipleAdvertisementSupported()) { in onActivityResult()116 scannerFragment.setBluetoothAdapter(mBluetoothAdapter); in setupFragments()
94 BluetoothAdapter mBluetoothAdapter = mBluetoothManager.getAdapter(); in initialize() local95 if (mBluetoothAdapter != null) { in initialize()96 mBluetoothLeAdvertiser = mBluetoothAdapter.getBluetoothLeAdvertiser(); in initialize()
54 private BluetoothAdapter mBluetoothAdapter; field in ScannerFragment70 this.mBluetoothAdapter = btAdapter; in setBluetoothAdapter()71 mBluetoothLeScanner = mBluetoothAdapter.getBluetoothLeScanner(); in setBluetoothAdapter()
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()
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()