Searched refs:BATTERY_LEVEL_UNKNOWN (Results 1 – 6 of 6) sorted by relevance
46 public static final int BATTERY_LEVEL_UNKNOWN = -1; field in BatteryStatus209 return BATTERY_LEVEL_UNKNOWN; in getBatteryLevel()212 batteryChangedIntent.getIntExtra(BatteryManager.EXTRA_LEVEL, BATTERY_LEVEL_UNKNOWN); in getBatteryLevel()223 ? BATTERY_LEVEL_UNKNOWN in getBatteryLevel()
728 .filter(batteryLevel -> batteryLevel > BluetoothDevice.BATTERY_LEVEL_UNKNOWN) in getMinBatteryLevelWithMemberDevices()730 .orElse(BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in getMinBatteryLevelWithMemberDevices()748 return batteryLevel > BluetoothDevice.BATTERY_LEVEL_UNKNOWN in getValidMinBatteryLevelWithMemberDevices()1510 } else if (leftBattery > BluetoothDevice.BATTERY_LEVEL_UNKNOWN in getConnectionSummary()1514 } else if (rightBattery > BluetoothDevice.BATTERY_LEVEL_UNKNOWN in getConnectionSummary()1568 !shortSummary && (leftBattery > BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in getHearingDeviceSummaryRes()1570 !shortSummary && (rightBattery > BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in getHearingDeviceSummaryRes()1627 int leftBattery = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getLeftBatteryLevel()1635 if (leftBattery == BluetoothDevice.BATTERY_LEVEL_UNKNOWN) { in getLeftBatteryLevel()1638 .filter(batteryLevel -> batteryLevel > BluetoothDevice.BATTERY_LEVEL_UNKNOWN) in getLeftBatteryLevel()[all …]
119 private int mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;261 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getConnectionSummary_testSingleProfileConnectDisconnect()294 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getTvConnectionSummary_testSingleProfileConnectDisconnect()389 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getConnectionSummary_testSingleProfileActiveDeviceA2dp()421 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getTvConnectionSummary_testSingleProfileActiveDeviceA2dp()562 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getConnectionSummary_testSingleProfileActiveDeviceHfp()596 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getTvConnectionSummary_testSingleProfileActiveDeviceHfp()1015 doAnswer((invocation) -> BluetoothDevice.BATTERY_LEVEL_UNKNOWN).when( in getConnectionSummary_testMemberDevicesBatteryUnknown_returnMinBattery()1031 doAnswer((invocation) -> BluetoothDevice.BATTERY_LEVEL_UNKNOWN).when( in getTvConnectionSummary_testMemberDevicesBatteryUnknown_returnMinBattery()1045 doAnswer((invocation) -> BluetoothDevice.BATTERY_LEVEL_UNKNOWN).when( in getConnectionSummary_testAllDevicesBatteryUnknown_returnNoBattery()[all …]
562 int mBluetoothBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;564 int mBluetoothMetadataBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;613 mBluetoothBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in configureDeviceMonitor()678 mBluetoothMetadataBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in stopBluetoothMetadataMonitoring()720 mBluetoothMetadataBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in updateBluetoothMetadataState()962 BluetoothDevice.BATTERY_LEVEL_UNKNOWN);
271 if (batteryLevel > BluetoothDevice.BATTERY_LEVEL_UNKNOWN) { in getSecondaryLabel()
773 BluetoothDevice.BATTERY_LEVEL_UNKNOWN) in testFallBackToNativeBatteryStateWhenBluetoothStateInvalid()