Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DFreezePeriod.java276 final int separation; in validatePeriods() local
279 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() local
339 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()