HomeSort by relevance Sort by last modified time
    Searched refs:BATTERY_LEVEL_UNKNOWN (Results 1 - 10 of 10) sorted by null

  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
RemoteDevices.java 181 private int mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
367 * {@link BluetoothDevice#BATTERY_LEVEL_UNKNOWN} is error
394 * Reset battery level property to {@link BluetoothDevice#BATTERY_LEVEL_UNKNOWN} for a device
408 if (deviceProperties.getBatteryLevel() == BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
412 deviceProperties.setBatteryLevel(BluetoothDevice.BATTERY_LEVEL_UNKNOWN);
414 sendBatteryLevelChangedBroadcast(device, BluetoothDevice.BATTERY_LEVEL_UNKNOWN);
659 int batteryPercent = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
668 if (batteryPercent != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
680 * @return Battery level in percents, [0-100], {@link BluetoothDevice#BATTERY_LEVEL_UNKNOWN}
687 return BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
    [all...]
AdapterService.java     [all...]
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/
RemoteDevicesTest.java 101 int batteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
164 // .BATTERY_LEVEL_UNKNOWN
170 mDevice1, BluetoothDevice.BATTERY_LEVEL_UNKNOWN, mIntentArgument);
175 BluetoothDevice.BATTERY_LEVEL_UNKNOWN);
210 // .BATTERY_LEVEL_UNKNOWN
218 mDevice1, BluetoothDevice.BATTERY_LEVEL_UNKNOWN, mIntentArgument);
223 BluetoothDevice.BATTERY_LEVEL_UNKNOWN);
254 // BluetoothDevice.BATTERY_LEVEL_UNKNOWN
263 verifyBatteryLevelChangedIntent(mDevice1, BluetoothDevice.BATTERY_LEVEL_UNKNOWN,
272 Assert.assertEquals(BluetoothDevice.BATTERY_LEVEL_UNKNOWN,
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
UtilsTest.java 83 R.drawable.ic_bt_laptop, BluetoothDevice.BATTERY_LEVEL_UNKNOWN, 1 /* iconScale */);
BluetoothDevicePreferenceTest.java 170 BluetoothDevice.BATTERY_LEVEL_UNKNOWN);
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
CachedBluetoothDeviceTest.java 67 private int mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
116 // Test with BluetoothDevice.BATTERY_LEVEL_UNKNOWN battery level
117 mBatteryLevel = BluetoothDevice.BATTERY_LEVEL_UNKNOWN;
  /frameworks/base/core/java/android/bluetooth/
BluetoothDevice.java 219 * ranging from 0% to 100% for a remote device, {@link #BATTERY_LEVEL_UNKNOWN}
230 public static final int BATTERY_LEVEL_UNKNOWN = -1;
906 * @return Battery level in percents from 0 to 100, or {@link #BATTERY_LEVEL_UNKNOWN} if
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
BluetoothTile.java 136 if (batteryLevel != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
312 if (batteryLevel != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
  /packages/apps/Settings/src/com/android/settings/bluetooth/
Utils.java 225 if (batteryLevel != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
CachedBluetoothDevice.java 436 * @return battery level in percentage [0-100], or {@link BluetoothDevice#BATTERY_LEVEL_UNKNOWN}
889 // BluetoothDevice.BATTERY_LEVEL_UNKNOWN, any other value should be a framework bug.
890 // Thus assume here that if value is not BluetoothDevice.BATTERY_LEVEL_UNKNOWN, it must
893 if (batteryLevel != BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
    [all...]

Completed in 1950 milliseconds