Home
last modified time | relevance | path

Searched refs:mIsPluggedIn (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java97 private boolean mIsPluggedIn; field in BatterySaverController
202 mIsPluggedIn = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
559 if (mIsPluggedIn) { in updateBatterySavingStats()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java146 boolean mIsPluggedIn; field in AppStateTracker
546 toggleForceAllAppsStandbyLocked(!mIsPluggedIn); in updateForceAllAppStandbyState()
689 mIsPluggedIn = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0); in onReceive()
1252 pw.println(mIsPluggedIn); in dump()
1325 proto.write(AppStateTrackerProto.IS_PLUGGED_IN, mIsPluggedIn); in dumpProto()