Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DDevicePickerActivity.java54 private BluetoothAdapter mBluetoothAdapter; field in DevicePickerActivity
103 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 …]
DBluetoothToggleActivity.java46 private BluetoothAdapter mBluetoothAdapter; field in BluetoothToggleActivity
71 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()
DConnectionAccessClientActivity.java41 private BluetoothAdapter mBluetoothAdapter; field in ConnectionAccessClientActivity
72 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
73 if (!mBluetoothAdapter.isEnabled()) { in onCreate()
114 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(mDeviceAddress); in startChartService()
DConnectionAccessServerActivity.java47 private BluetoothAdapter mBluetoothAdapter; field in ConnectionAccessServerActivity
82 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
83 if (mBluetoothAdapter.isEnabled()) { in onCreate()
114 if (mBluetoothAdapter.getScanMode() != in makeDiscoverable()
DBleAdvertiserService.java101 private BluetoothAdapter mBluetoothAdapter; field in BleAdvertiserService
119 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate()
120 mAdvertiser = mBluetoothAdapter.getBluetoothLeAdvertiser(); in onCreate()
198 if (mBluetoothAdapter != null && !mBluetoothAdapter.isMultipleAdvertisementSupported()) { in handleIntent()
DMessageTestActivity.java59 private BluetoothAdapter mBluetoothAdapter; field in MessageTestActivity
136 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()
DBleClientService.java114 private BluetoothAdapter mBluetoothAdapter; field in BleClientService
126 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate()
127 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in onCreate()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java62 private BluetoothAdapter mBluetoothAdapter; field in BluetoothLeScanTest
71 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()