HomeSort by relevance Sort by last modified time
    Searched refs:getBatteryLevel (Results 1 - 25 of 144) sorted by null

1 2 3 4 5 6

  /frameworks/base/core/java/android/os/
BatteryManagerInternal.java 38 public abstract int getBatteryLevel();
  /tools/tradefederation/core/src/com/android/tradefed/device/
IDeviceSelection.java 101 public Integer getBatteryLevel(IDevice device);
DeviceSelectionOptions.java 389 Integer deviceBattery = getBatteryLevel(device);
475 public Integer getBatteryLevel(IDevice device) {
StubDevice.java 397 public Integer getBatteryLevel() throws TimeoutException, AdbCommandRejectedException,
408 public Integer getBatteryLevel(long freshnessMs) throws TimeoutException,
  /platform_testing/libraries/longevity/src/android/platform/longevity/listeners/
BatteryTerminator.java 47 private double getBatteryLevel() {
60 if (getBatteryLevel() < mMinBattery) {
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryMeterView.java 75 public int getBatteryLevel() {
76 return mDrawable.getBatteryLevel();
BatteryHeaderPreferenceController.java 123 final int batteryLevel = Utils.getBatteryLevel(batteryBroadcast);
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/
RemoteDevicesTest.java 78 mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), batteryLevel);
94 mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), batteryLevel);
161 mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), batteryLevel);
174 Assert.assertEquals(mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(),
207 mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), batteryLevel);
222 Assert.assertEquals(mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(),
251 batteryLevel, mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel());
273 mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel());
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
BatteryMeterViewTest.java 78 assertThat(mDrawable.getBatteryLevel()).isEqualTo(BATTERY_LEVEL);
BatteryHeaderPreferenceControllerTest.java 131 R.id.battery_header_icon)).getBatteryLevel()).isEqualTo(BATTERY_LEVEL);
153 assertThat(mBatteryMeterView.mDrawable.getBatteryLevel()).isEqualTo(BATTERY_LEVEL);
182 assertThat(mBatteryMeterView.getBatteryLevel()).isEqualTo(BATTERY_LEVEL);
  /tools/loganalysis/src/com/android/loganalysis/item/
BatteryDischargeItem.java 83 public int getBatteryLevel() {
  /tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DeviceDescriptor.java 141 public String getBatteryLevel() {
ListDevicesOp.java 119 deviceStateJson.put(BATTERY_LEVEL, descriptor.getBatteryLevel());
  /frameworks/base/core/java/android/bluetooth/
IBluetooth.aidl 78 int getBatteryLevel(in BluetoothDevice device);
BluetoothDevice.java 227 * Used as the unknown value for {@link #EXTRA_BATTERY_LEVEL} and {@link #getBatteryLevel()}
912 public int getBatteryLevel() {
    [all...]
  /tools/loganalysis/src/com/android/loganalysis/parser/
BatteryStatsSummaryInfoParser.java 152 peakDischargeStartBatteryLevel = startNode.getBatteryLevel();
153 peakDischargeStopBatteryLevel = dischargeSteps.getBatteryLevel();
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
BluetoothDeviceLayerDrawableTest.java 87 assertThat(batteryDrawable.getBatteryLevel()).isEqualTo(BATTERY_LEVEL);
  /frameworks/base/services/core/java/com/android/server/pm/
BackgroundDexOptService.java 142 private int getBatteryLevel() {
201 if (getBatteryLevel() < lowBatteryThreshold) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
CachedBluetoothDevice.java 438 public int getBatteryLevel() {
439 return mDevice.getBatteryLevel();
892 final int batteryLevel = getBatteryLevel();
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
RemoteDevices.java 318 int getBatteryLevel() {
381 int currentBatteryLevel = deviceProperties.getBatteryLevel();
408 if (deviceProperties.getBatteryLevel() == BluetoothDevice.BATTERY_LEVEL_UNKNOWN) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
BluetoothTile.java 135 int batteryLevel = lastDevice.getBatteryLevel();
311 int batteryLevel = device.getBatteryLevel();
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
CachedBluetoothDeviceTest.java 80 doAnswer((invocation) -> mBatteryLevel).when(mCachedDevice).getBatteryLevel();
  /packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
BluetoothDevicePreferenceTest.java 169 when(mCachedBluetoothDevice.getBatteryLevel()).thenReturn(
  /tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
RemoteManagerFuncTest.java 236 assertEquals("4", returnedDevices.get(0).getBatteryLevel());
244 assertEquals("5", returnedDevices.get(1).getBatteryLevel());
  /packages/apps/Settings/src/com/android/settings/bluetooth/
Utils.java 165 final int level = cachedDevice.getBatteryLevel();

Completed in 417 milliseconds

1 2 3 4 5 6