Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java95 assertTrue(mBluetoothControllerImpl.isBluetoothConnected()); in testNoConnectionWithDevices()
161 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnServiceConnected_updatesConnectionState()
185 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnBluetoothStateChange_updatesConnectionState()
194 assertFalse(mBluetoothControllerImpl.isBluetoothConnected()); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection()
205 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/opt/net/wifi/service/java/com/android/server/wifi/
DThroughputPredictor.java179 boolean isBluetoothConnected) { in predictThroughput() argument
258 isBluetoothConnected); in predictThroughput()
382 int channelUtilizationLinkLayerStats, boolean isBluetoothConnected) { in getValidChannelUtilization() argument
394 if (is2G && isBluetoothConnected) { in getValidChannelUtilization()
402 .append(" isBluetoothConnected: ").append(isBluetoothConnected) in getValidChannelUtilization()
DWifiConnectivityManager.java422 public void setBluetoothConnected(boolean isBluetoothConnected) { in setBluetoothConnected() argument
423 mNetworkSelector.setBluetoothConnected(isBluetoothConnected); in setBluetoothConnected()
/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.java174 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.java120 final boolean connected = mController.isBluetoothConnected(); in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java410 if (mBluetooth.isBluetoothConnected() in updateBluetooth()