Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DWindowPerfRunPreconditionBase.java69 private final SettingsSession<Integer> mStayOnWhilePluggedInSetting = new SettingsSession<>( field in WindowPerfRunPreconditionBase
114 mStayOnWhilePluggedInSetting.set(BatteryManager.BATTERY_PLUGGED_ANY); in testRunStarted()
153 mStayOnWhilePluggedInSetting.close(); in testRunFinished()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java524 private int mStayOnWhilePluggedInSetting; field in PowerManagerService
1323 mStayOnWhilePluggedInSetting = Settings.Global.getInt(resolver,
2299 if (mStayOnWhilePluggedInSetting != 0
2301 mStayOn = mBatteryManagerInternal.isPowered(mStayOnWhilePluggedInSetting);
4227 pw.println(" mStayOnWhilePluggedInSetting=" + mStayOnWhilePluggedInSetting);
4583 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_AC) != 0));
4587 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_USB) != 0));
4591 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_WIRELESS)