Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java94 assertTrue(mBluetoothControllerImpl.isBluetoothConnected()); in testNoConnectionWithDevices()
178 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnServiceConnected_updatesConnectionState()
202 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnBluetoothStateChange_updatesConnectionState()
211 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection()
229 assertTrue(mBluetoothControllerImpl.isBluetoothConnected()); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/
DBluetoothConstraintTest.java99 assertFalse(BluetoothConstraint.isBluetoothConnected(mBluetoothManager)); in testIsConnected_noBluetoothAdapter()
105 assertFalse(BluetoothConstraint.isBluetoothConnected(mBluetoothManager)); in testIsConnected_noConnectedDevice()
111 assertTrue(BluetoothConstraint.isBluetoothConnected(mBluetoothManager)); in testIsConnected_twoConnectedDevices()
/frameworks/base/services/core/java/com/android/server/deviceidle/
DBluetoothConstraint.java99 final boolean connected = isBluetoothConnected(mBluetoothManager); in updateAndReportActiveLocked()
111 static boolean isBluetoothConnected(BluetoothManager bluetoothManager) { in isBluetoothConnected() method in BluetoothConstraint
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothController.java32 boolean isBluetoothConnected(); in isBluetoothConnected() method
DBluetoothControllerImpl.java169 public boolean isBluetoothConnected() { in isBluetoothConnected() method in BluetoothControllerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeBluetoothController.java50 public boolean isBluetoothConnected() { in isBluetoothConnected() method in FakeBluetoothController
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java124 final boolean connected = mController.isBluetoothConnected(); in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java382 if (mBluetooth.isBluetoothConnected()) { in updateBluetooth()