Searched refs:mCurIdleBudget (Results 1 – 1 of 1) sorted by relevance
432 private long mCurIdleBudget; field in DeviceIdleController2654 mCurIdleBudget = 0; in becomeActiveLocked()2819 mCurIdleBudget = mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET; in stepLightIdleStateLocked()2838 mCurIdleBudget += (mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET-duration); in stepLightIdleStateLocked()2841 mCurIdleBudget -= (duration-mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET); in stepLightIdleStateLocked()2865 if (mCurIdleBudget < mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET) { in stepLightIdleStateLocked()2866 mCurIdleBudget = mConstants.LIGHT_IDLE_MAINTENANCE_MIN_BUDGET; in stepLightIdleStateLocked()2867 } else if (mCurIdleBudget > mConstants.LIGHT_IDLE_MAINTENANCE_MAX_BUDGET) { in stepLightIdleStateLocked()2868 mCurIdleBudget = mConstants.LIGHT_IDLE_MAINTENANCE_MAX_BUDGET; in stepLightIdleStateLocked()2870 scheduleLightAlarmLocked(mCurIdleBudget); in stepLightIdleStateLocked()[all …]