Searched refs:mCurIdleBudget (Results 1 – 1 of 1) sorted by relevance
437 private long mCurIdleBudget; field in DeviceIdleController2816 mCurIdleBudget = 0; in becomeActiveLocked()2984 mCurIdleBudget = mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET; in stepLightIdleStateLocked()3003 mCurIdleBudget += (mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET-duration); in stepLightIdleStateLocked()3006 mCurIdleBudget -= (duration-mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET); in stepLightIdleStateLocked()3030 if (mCurIdleBudget < mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET) { in stepLightIdleStateLocked()3031 mCurIdleBudget = mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET; in stepLightIdleStateLocked()3032 } else if (mCurIdleBudget > mConstants.LIGHT_IDLE_MAINTENANCE_MAX_BUDGET) { in stepLightIdleStateLocked()3033 mCurIdleBudget = mConstants.LIGHT_IDLE_MAINTENANCE_MAX_BUDGET; in stepLightIdleStateLocked()3035 scheduleLightAlarmLocked(mCurIdleBudget); in stepLightIdleStateLocked()[all …]