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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DUtilsTest.java37 R.drawable.ic_bt_laptop, BluetoothDevice.BATTERY_LEVEL_UNKNOWN, 1 /* iconScale */);
H A DCachedBluetoothDeviceTest.java68 private int mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
107 // Test with BluetoothDevice.BATTERY_LEVEL_UNKNOWN battery level
108 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
170 // Test with BluetoothDevice.BATTERY_LEVEL_UNKNOWN battery level
171 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
204 // Test with BluetoothDevice.BATTERY_LEVEL_UNKNOWN battery level
205 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
266 // Test with BluetoothDevice.BATTERY_LEVEL_UNKNOWN battery level
267 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
302 // Test with BluetoothDevice.BATTERY_LEVEL_UNKNOWN batter
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DUtils.java118 if (batteryLevel != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
H A DCachedBluetoothDevice.java490 * @return battery level in percentage [0-100], or {@link BluetoothDevice#BATTERY_LEVEL_UNKNOWN}
1022 // BluetoothDevice.BATTERY_LEVEL_UNKNOWN, any other value should be a framework bug.
1023 // Thus assume here that if value is not BluetoothDevice.BATTERY_LEVEL_UNKNOWN, it must
1026 if (batteryLevel != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
1117 // BluetoothDevice.BATTERY_LEVEL_UNKNOWN, any other value should be a framework bug.
1118 // Thus assume here that if value is not BluetoothDevice.BATTERY_LEVEL_UNKNOWN, it must
1121 if (batteryLevel != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothDevice.java221 * ranging from 0% to 100% for a remote device, {@link #BATTERY_LEVEL_UNKNOWN}
234 public static final int BATTERY_LEVEL_UNKNOWN = -1; field in class:BluetoothDevice
949 * @return Battery level in percents from 0 to 100, or {@link #BATTERY_LEVEL_UNKNOWN} if
959 return BATTERY_LEVEL_UNKNOWN;
966 return BATTERY_LEVEL_UNKNOWN;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java202 if (batteryLevel != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
392 if (batteryLevel != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {

Completed in 138 milliseconds