Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImplTest.java128 assertTrue(mBluetoothControllerImpl.isBluetoothConnected()); in testNoConnectionWithDevices_repoFlagOff()
146 assertTrue(mBluetoothControllerImpl.isBluetoothConnected()); in testNoConnectionWithDevices_repoFlagOn()
158 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnServiceConnected_updatesConnectionState_repoFlagOff()
170 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnServiceConnected_updatesConnectionState_repoFlagOn()
234 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnBluetoothStateChange_updatesConnectionState()
244 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection_repoFlagOff()
255 assertTrue(mBluetoothControllerImpl.isBluetoothConnected()); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection_repoFlagOff()
266 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection_repoFlagOn()
277 assertTrue(mBluetoothControllerImpl.isBluetoothConnected()); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection_repoFlagOn()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/
H A 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()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/deviceidle/
H A DBluetoothConstraint.java101 final boolean connected = isBluetoothConnected(mBluetoothManager); in updateAndReportActiveLocked()
113 static boolean isBluetoothConnected(BluetoothManager bluetoothManager) { in isBluetoothConnected() method in BluetoothConstraint
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DBluetoothTileTest.kt256 whenever(bluetoothController.isBluetoothConnected).thenReturn(false)
261 whenever(bluetoothController.isBluetoothConnected).thenReturn(true)
265 whenever(bluetoothController.isBluetoothConnected).thenReturn(false)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothController.java34 boolean isBluetoothConnected(); in isBluetoothConnected() method
H A DBluetoothControllerImpl.java207 public boolean isBluetoothConnected() { in isBluetoothConnected() method in BluetoothControllerImpl
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
H A DFakeBluetoothController.java51 public boolean isBluetoothConnected() { in isBluetoothConnected() method in FakeBluetoothController
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java145 final boolean connected = mController.isBluetoothConnected(); in handleUpdateState()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java477 if (mBluetooth.isBluetoothConnected() in updateBluetooth()