Searched refs:hasBatteryService (Results 1 – 2 of 2) sorted by relevance
299 Assert.assertTrue(mRemoteDevices.hasBatteryService(mDevice1)); in testOnHeadsetStateChangeWithBatteryService_NotResetBatteryLevel()628 Assert.assertTrue(mRemoteDevices.hasBatteryService(mDevice1)); in testHeadsetClientDisconnectedWithBatteryService_NotResetBatteryLevel()667 Assert.assertTrue(mRemoteDevices.hasBatteryService(mDevice1)); in testUpdateBatteryLevelWithBas_overridesHfpBatteryLevel()711 Assert.assertTrue(mRemoteDevices.hasBatteryService(mDevice1)); in testUpdateBatteryLevelWithSameValue_notSendBroadcast()
1419 if (toState == BluetoothProfile.STATE_DISCONNECTED && !hasBatteryService(device)) { in onHeadsetConnectionStateChanged()1600 boolean hasBatteryService(BluetoothDevice device) { in hasBatteryService() method in RemoteDevices1618 if (toState == BluetoothProfile.STATE_DISCONNECTED && !hasBatteryService(device)) { in onHeadsetClientConnectionStateChanged()