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.java99 assertTrue(mBluetoothControllerImpl.isBluetoothConnected()); in testNoConnectionWithDevices()
165 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnServiceConnected_updatesConnectionState()
189 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnBluetoothStateChange_updatesConnectionState()
198 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection()
209 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/apex/jobscheduler/service/java/com/android/server/deviceidle/
DBluetoothConstraint.java101 final boolean connected = isBluetoothConnected(mBluetoothManager); in updateAndReportActiveLocked()
113 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.java190 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.java135 final boolean connected = mController.isBluetoothConnected(); in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java450 if (mBluetooth.isBluetoothConnected() in updateBluetooth()