Searched refs:mBluetoothAdapter (Results 1 – 8 of 8) sorted by relevance
54 private BluetoothAdapter mBluetoothAdapter; field in DevicePickerActivity103 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()104 if (mBluetoothAdapter.isEnabled()) { in onCreate()128 if (mBluetoothAdapter.isDiscovering()) { in scan()129 mBluetoothAdapter.cancelDiscovery(); in scan()131 mBluetoothAdapter.startDiscovery(); in scan()136 Set<BluetoothDevice> pairedDevices = mBluetoothAdapter.getBondedDevices(); in populatePairedDevices()145 if (mBluetoothAdapter != null) { in onDestroy()146 mBluetoothAdapter.cancelDiscovery(); in onDestroy()171 if (mBluetoothAdapter != null) { in onItemClick()[all …]
46 private BluetoothAdapter mBluetoothAdapter; field in BluetoothToggleActivity71 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()76 mToggleButton.setChecked(mBluetoothAdapter.isEnabled()); in onCreate()111 if (!mBluetoothAdapter.disable()) { in disableBluetooth()146 mToggleButton.setChecked(mBluetoothAdapter.isEnabled()); in onReceive()
41 private BluetoothAdapter mBluetoothAdapter; field in ConnectionAccessClientActivity72 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()73 if (!mBluetoothAdapter.isEnabled()) { in onCreate()114 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(mDeviceAddress); in startChartService()
47 private BluetoothAdapter mBluetoothAdapter; field in ConnectionAccessServerActivity82 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()83 if (mBluetoothAdapter.isEnabled()) { in onCreate()114 if (mBluetoothAdapter.getScanMode() != in makeDiscoverable()
101 private BluetoothAdapter mBluetoothAdapter; field in BleAdvertiserService119 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate()120 mAdvertiser = mBluetoothAdapter.getBluetoothLeAdvertiser(); in onCreate()198 if (mBluetoothAdapter != null && !mBluetoothAdapter.isMultipleAdvertisementSupported()) { in handleIntent()
59 private BluetoothAdapter mBluetoothAdapter; field in MessageTestActivity136 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()141 if (mBluetoothAdapter.isEnabled()) { in onCreate()180 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(mDeviceAddress); in startChatService()186 if (mBluetoothAdapter.getScanMode() != in makeDiscoverable()
114 private BluetoothAdapter mBluetoothAdapter; field in BleClientService126 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate()127 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in onCreate()
62 private BluetoothAdapter mBluetoothAdapter; field in BluetoothLeScanTest71 mBluetoothAdapter = manager.getAdapter(); in setUp()72 if (!mBluetoothAdapter.isEnabled()) { in setUp()75 mBluetoothAdapter.enable(); in setUp()78 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in setUp()310 return mBluetoothAdapter.isOffloadedScanBatchingSupported(); in isBleBatchScanSupported()