Searched refs:mBluetoothManager (Results 1 – 5 of 5) sorted by relevance
71 private BluetoothManager mBluetoothManager; field in BluetoothConstraintTest84 doReturn(mBluetoothManager) in setUp()98 doReturn(null).when(mBluetoothManager).getAdapter(); in testIsConnected_noBluetoothAdapter()99 assertFalse(BluetoothConstraint.isBluetoothConnected(mBluetoothManager)); in testIsConnected_noBluetoothAdapter()105 assertFalse(BluetoothConstraint.isBluetoothConnected(mBluetoothManager)); in testIsConnected_noConnectedDevice()111 assertTrue(BluetoothConstraint.isBluetoothConnected(mBluetoothManager)); in testIsConnected_twoConnectedDevices()143 when(mBluetoothManager.getAdapter().isEnabled()).thenReturn(enabled); in enableBluetooth()144 when(mBluetoothManager.getConnectedDevices(eq(BluetoothProfile.GATT))) in enableBluetooth()
46 private final BluetoothManager mBluetoothManager; field in BluetoothConstraint56 mBluetoothManager = mContext.getSystemService(BluetoothManager.class); in BluetoothConstraint()101 final boolean connected = isBluetoothConnected(mBluetoothManager); in updateAndReportActiveLocked()
109 private LocalBluetoothManager mBluetoothManager; field in CachedBluetoothDevice1233 if (mBluetoothManager == null) { in getConnectionSummary()1234 mBluetoothManager = LocalBluetoothManager.getInstance(mContext, null); in getConnectionSummary()1236 if (BluetoothUtils.isBroadcasting(mBluetoothManager)) { in getConnectionSummary()1280 if (mBluetoothManager == null) { in getBroadcastConnectionSummary()1281 mBluetoothManager = LocalBluetoothManager.getInstance(mContext, null); in getBroadcastConnectionSummary()1283 if (BluetoothUtils.hasConnectedBroadcastSource(this, mBluetoothManager)) { in getBroadcastConnectionSummary()2012 mBluetoothManager = bluetoothManager; in setLocalBluetoothManager()
143 private final LocalBluetoothManager mBluetoothManager; field in InfoMediaManager156 mBluetoothManager = localBluetoothManager; in InfoMediaManager()722 mBluetoothManager.getCachedDeviceManager().findDevice(device); in addMediaDevice()
322 private final BluetoothManager mBluetoothManager; field in BatteryStatsImpl.BluetoothStatsRetrieverImpl325 mBluetoothManager = bluetoothManager; in BluetoothStatsRetrieverImpl()338 if (mBluetoothManager == null) { in requestControllerActivityEnergyInfo()342 BluetoothAdapter adapter = mBluetoothManager.getAdapter(); in requestControllerActivityEnergyInfo()