Home
last modified time | relevance | path

Searched refs:setBatteryLevel (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryMeterViewTest.java70 mBatteryMeterView.setBatteryLevel(BATTERY_LEVEL); in testSetBatteryInfo_setCorrectly()
77 mBatteryMeterView.setBatteryLevel(BATTERY_LOW_LEVEL); in testSetBatteryInfo_levelLow_setErrorColor()
84 mBatteryMeterView.setBatteryLevel(BATTERY_LEVEL); in testSetBatteryInfo_levelNormal_setNormalColor()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryMeterView.java67 public void setBatteryLevel(int level) { in setBatteryLevel() method in BatteryMeterView
68 mDrawable.setBatteryLevel(level); in setBatteryLevel()
DBatteryHeaderPreferenceController.java122 mBatteryMeterView.setBatteryLevel(info.batteryLevel); in updateHeaderPreference()
135 mBatteryMeterView.setBatteryLevel(batteryLevel); in quickUpdateHeaderPreference()
DBatterySaverDrawable.java36 setBatteryLevel(MAX_BATTERY); in BatterySaverDrawable()
DPowerUsageSummary.java167 batteryView.setBatteryLevel(oldInfo.batteryLevel); in updateViews()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryMeterView.java68 public void setBatteryLevel(int level) { in setBatteryLevel() method in BatteryMeterView
69 mDrawable.setBatteryLevel(level); in setBatteryLevel()
DBatteryHeaderPreferenceController.java116 mBatteryMeterView.setBatteryLevel(info.batteryLevel); in updateHeaderPreference()
129 mBatteryMeterView.setBatteryLevel(batteryLevel); in quickUpdateHeaderPreference()
DBatterySaverDrawable.java36 setBatteryLevel(MAX_BATTERY); in BatterySaverDrawable()
DPowerUsageSummary.java178 batteryView.setBatteryLevel(oldInfo.batteryLevel); in updateViews()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java374 void setBatteryLevel(int batteryLevel) { in setBatteryLevel() method in RemoteDevices.DeviceProperties
433 deviceProperties.setBatteryLevel(batteryLevel); in updateBatteryLevel()
458 deviceProperties.setBatteryLevel(BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in resetBatteryLevel()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderController.java189 drawable.setBatteryLevel(level); in createBtBatteryIcon()