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

  /frameworks/base/core/java/android/os/
BatteryProperties.java 28 public int batteryLevel;
43 batteryLevel = other.batteryLevel;
61 batteryLevel = p.readInt();
74 p.writeInt(batteryLevel);
BatteryStats.java 618 public byte batteryLevel;
769 | ((((int)batteryLevel)<<8)&0xff00)
801 batteryLevel = (byte)((bat>>8)&0xff);
841 batteryLevel = 0;
    [all...]
  /device/htc/flounder/health/
healthd-flounder.cpp 111 props->batteryLevel < BATTERY_FULL)
117 if (props->batteryLevel >= BATTERY_FULL)
119 else if (props->batteryLevel < BATTERY_LOW)
132 props->batteryStatus != BATTERY_STATUS_FULL && props->batteryLevel > 0) {
163 if (props->batteryLevel >= BATTERY_FULL) {
164 props->batteryLevel = BATTERY_FULL - 1;
167 lasttime_soc = props->batteryLevel;
175 else if (props->batteryLevel >= BATTERY_FULL &&
179 soc = props->batteryLevel;
181 if (props->batteryLevel > BATTERY_FULL
    [all...]
  /frameworks/native/services/batteryservice/
BatteryProperties.cpp 39 batteryLevel = p->readInt32();
53 p->writeInt32(batteryLevel);
  /frameworks/base/services/core/java/com/android/server/
BatteryService.java 253 && mBatteryProps.batteryLevel <= mLowBatteryWarningLevel
260 if (mBatteryProps.batteryLevel == 0 && !isPoweredLocked(BatteryManager.BATTERY_PLUGGED_ANY)) {
310 mBatteryLevelCritical = (mBatteryProps.batteryLevel <= mCriticalBatteryLevel);
329 + ", batteryLevel=" + mBatteryProps.batteryLevel
340 mPlugType, mBatteryProps.batteryLevel, mBatteryProps.batteryTemperature,
352 mBatteryProps.batteryLevel != mLastBatteryLevel ||
364 if (mDischargeStartTime != 0 && mDischargeStartLevel != mBatteryProps.batteryLevel) {
368 mDischargeStartLevel, mBatteryProps.batteryLevel);
375 mDischargeStartLevel = mBatteryProps.batteryLevel;
    [all...]
  /frameworks/native/include/batteryservice/
BatteryService.h 63 int batteryLevel;
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetPhoneState.java 183 void setBatteryCharge(int batteryLevel) {
184 if (mBatteryCharge != batteryLevel) {
185 mBatteryCharge = batteryLevel;
HeadsetStateMachine.java     [all...]
  /frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
DemoModeController.java 152 final int batteryLevel = (int)y / (h / 101);
153 if (batteryLevel != mBatteryLevel) {
154 mBatteryLevel = batteryLevel;
  /device/samsung/manta/health/
healthd-manta.cpp 160 props->batteryLevel == 100) {
218 props->batteryLevel = 42; /* 42% */
  /frameworks/base/services/core/java/com/android/server/power/
WirelessChargerDetector.java 178 * @param batteryLevel The current battery level.
182 public boolean update(boolean isPowered, int plugType, int batteryLevel) {
218 && batteryLevel < WIRELESS_CHARGER_TURN_ON_BATTERY_LEVEL_LIMIT
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
PowerUsageSummary.java 239 String batteryLevel = com.android.settings.Utils.getBatteryPercentage(intent);
242 if (!batteryLevel.equals(mBatteryLevel) || !batteryStatus.equals(mBatteryStatus)) {
243 mBatteryLevel = batteryLevel;
BatteryHistoryChart.java 588 if (rec.batteryLevel != lastLevel || pos == 1) {
589 lastLevel = rec.batteryLevel;
805 y = mLevelTop + levelh - ((rec.batteryLevel-batLow)*(levelh-1))/batChange;
812 byte value = rec.batteryLevel;
    [all...]
  /system/core/healthd/
BatteryMonitor.cpp 190 props.batteryLevel = mBatteryFixedCapacity ?
250 props.batteryLevel, props.batteryVoltage,
352 props.batteryLevel, props.batteryVoltage,
healthd_mode_charger.cpp 393 if (batt_prop && batt_prop->batteryLevel >= 0 && batt_anim->num_frames != 0) {
398 if (batt_prop->batteryLevel < batt_anim->frames[i].min_capacity)
407 batt_anim->capacity = batt_prop->batteryLevel;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/power/
PowerNotificationWarnings.java 115 public void update(int batteryLevel, int bucket, long screenOffTime) {
116 mBatteryLevel = batteryLevel;
PowerUI.java 253 void update(int batteryLevel, int bucket, long screenOffTime);
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java     [all...]
  /prebuilts/misc/common/ddmlib/
ddmlib-prebuilt.jar 

Completed in 1510 milliseconds