Home
last modified time | relevance | path

Searched refs:BATTERY_LEVEL_UNKNOWN (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
H A DBatteryStatus.java48 public static final int BATTERY_LEVEL_UNKNOWN = -1; field in BatteryStatus
190 return BATTERY_LEVEL_UNKNOWN; in getBatteryLevel()
193 batteryChangedIntent.getIntExtra(BatteryManager.EXTRA_LEVEL, BATTERY_LEVEL_UNKNOWN); in getBatteryLevel()
196 ? BATTERY_LEVEL_UNKNOWN in getBatteryLevel()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceTest.java89 private int mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
203 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getConnectionSummary_testSingleProfileConnectDisconnect()
266 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
363 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getConnectionSummary_testSingleProfileActiveDeviceHfp()
556 doAnswer((invocation) -> BluetoothDevice.BATTERY_LEVEL_UNKNOWN).when( in getConnectionSummary_testMemberDevicesBatteryUnknown_returnMinBattery()
570 doAnswer((invocation) -> BluetoothDevice.BATTERY_LEVEL_UNKNOWN).when( in getConnectionSummary_testAllDevicesBatteryUnknown_returnNoBattery()
609 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getConnectionSummary_testMultipleProfilesActiveDevice()
697 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getCarConnectionSummary_singleProfileConnectDisconnect()
760 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getCarConnectionSummary_singleProfileActiveDeviceA2dp()
792 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN; in getCarConnectionSummary_singleProfileActiveDeviceHfp()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DBatteryController.java562 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);
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDevice.java664 .filter(batteryLevel -> batteryLevel > BluetoothDevice.BATTERY_LEVEL_UNKNOWN) in getMinBatteryLevelWithMemberDevices()
666 .orElse(BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in getMinBatteryLevelWithMemberDevices()
1166 if (batteryLevel > BluetoothDevice.BATTERY_LEVEL_UNKNOWN) { in getConnectionSummary()
1341 if (batteryLevel > BluetoothDevice.BATTERY_LEVEL_UNKNOWN) { in getCarConnectionSummary()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java232 if (batteryLevel > BluetoothDevice.BATTERY_LEVEL_UNKNOWN) { in getSecondaryLabel()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/input/
H A DBatteryControllerTests.kt770 BluetoothDevice.BATTERY_LEVEL_UNKNOWN)