Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java213 private long mCurIdleBudget; field in DeviceIdleController
1889 mCurIdleBudget = 0; in becomeActiveLocked()
1955 mCurIdleBudget = mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET; in stepLightIdleStateLocked()
1974 mCurIdleBudget += (mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET-duration); in stepLightIdleStateLocked()
1977 mCurIdleBudget -= (duration-mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET); in stepLightIdleStateLocked()
2001 if (mCurIdleBudget < mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET) { in stepLightIdleStateLocked()
2002 mCurIdleBudget = mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET; in stepLightIdleStateLocked()
2003 } else if (mCurIdleBudget > mConstants.LIGHT_IDLE_MAINTENANCE_MAX_BUDGET) { in stepLightIdleStateLocked()
2004 mCurIdleBudget = mConstants.LIGHT_IDLE_MAINTENANCE_MAX_BUDGET; in stepLightIdleStateLocked()
2006 scheduleLightAlarmLocked(mCurIdleBudget); in stepLightIdleStateLocked()
[all …]