Searched refs:mBtAdapter (Results 1 – 4 of 4) sorted by relevance
181 private final BluetoothAdapter mBtAdapter; field in BluetoothScanner.Receiver190 mBtAdapter = BluetoothAdapter.getDefaultAdapter(); in Receiver()275 if (mBtAdapter.isDiscovering()) { in scanNow()276 mBtAdapter.cancelDiscovery(); in scanNow()282 mBtAdapter.startDiscovery(); in scanNow()300 if (mBtAdapter != null) { in stopNow()301 mBtAdapter.cancelDiscovery(); in stopNow()
48 private BluetoothAdapter mBtAdapter; field in AccessoriesFragment74 if (mBtAdapter == null) { in updateAccessories()79 final Set<BluetoothDevice> bondedDevices = mBtAdapter.getBondedDevices(); in updateAccessories()156 mBtAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
291 mMainFragment.mBtAdapter = mock(BluetoothAdapter.class); in testUpdateAccessoryPref_hasNoAccessory()293 doReturn(set).when(mMainFragment.mBtAdapter).getBondedDevices(); in testUpdateAccessoryPref_hasNoAccessory()305 mMainFragment.mBtAdapter = mock(BluetoothAdapter.class); in testUpdateAccessoryPref_hasAccessories()310 doReturn(set).when(mMainFragment.mBtAdapter).getBondedDevices(); in testUpdateAccessoryPref_hasAccessories()
114 BluetoothAdapter mBtAdapter; field in MainFragment155 mBtAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()585 if (mBtAdapter == null || accessoryPreference == null) { in updateAccessoryPref()589 final Set<BluetoothDevice> bondedDevices = mBtAdapter.getBondedDevices(); in updateAccessoryPref()