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

  /frameworks/base/core/java/android/os/
BatteryProperties.java 30 public boolean batteryPresent;
49 batteryPresent = p.readInt() == 1 ? true : false;
64 p.writeInt(batteryPresent ? 1 : 0);
  /frameworks/native/include/batteryservice/
BatteryService.h 52 bool batteryPresent;
  /frameworks/native/services/batteryservice/
BatteryProperties.cpp 38 batteryPresent = p->readInt32() == 1 ? true : false;
54 p->writeInt32(batteryPresent ? 1 : 0);
  /frameworks/base/services/java/com/android/server/
BatteryService.java 231 return mBatteryProps.batteryPresent && mBatteryProps.batteryLevel <= mLowBatteryWarningLevel;
313 + ", batteryPresent=" + mBatteryProps.batteryPresent
338 mBatteryProps.batteryPresent != mLastBatteryPresent ||
367 mBatteryProps.batteryPresent != mLastBatteryPresent ||
370 mBatteryProps.batteryStatus, mBatteryProps.batteryHealth, mBatteryProps.batteryPresent ? 1 : 0,
459 mLastBatteryPresent = mBatteryProps.batteryPresent;
479 intent.putExtra(BatteryManager.EXTRA_PRESENT, mBatteryProps.batteryPresent);
492 ", health:" + mBatteryProps.batteryHealth + ", present:" + mBatteryProps.batteryPresent +
615 pw.println(" present: " + mBatteryProps.batteryPresent);
    [all...]
  /device/samsung/manta/health/
healthd-manta.cpp 277 props->batteryPresent = manta_bat_batterypresent;
  /system/core/healthd/
BatteryMonitor.cpp 185 props.batteryPresent = getBooleanField(mHealthdConfig->batteryPresentPath);
187 props.batteryPresent = true;
  /packages/apps/Settings/src/com/android/settings/
Settings.java 182 boolean batteryPresent = Utils.isBatteryPresent(intent);
184 if (mBatteryPresent != batteryPresent) {
185 mBatteryPresent = batteryPresent;
    [all...]

Completed in 76 milliseconds