Searched refs:separation (Results 1 – 1 of 1) sorted by relevance
276 final int separation; in validatePeriods() local279 separation = current.mStartDay in validatePeriods()284 separation = current.mStartDay - previous.mEndDay - 1; in validatePeriods()286 if (separation < SystemUpdatePolicy.FREEZE_PERIOD_MIN_SEPARATION) { in validatePeriods()289 + "together: " + separation + " days apart"); in validatePeriods()337 long separation = FreezePeriod.distanceWithoutLeapYear(curOrNextFreezeDates.first, in validateAgainstPreviousFreezePeriod() local339 if (separation > 0) { in validateAgainstPreviousFreezePeriod()341 if (separation < SystemUpdatePolicy.FREEZE_PERIOD_MIN_SEPARATION) { in validateAgainstPreviousFreezePeriod()343 + "too close to new period: " + separation + ", " + periodsDescription); in validateAgainstPreviousFreezePeriod()