Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DFreezePeriod.java43 static final int DAYS_IN_YEAR = 365; // 365 since DUMMY_YEAR is not a leap year field in FreezePeriod
110 return mEndDay + DAYS_IN_YEAR; in getEffectiveEndDay()
204 + DAYS_IN_YEAR * (first.getYear() - second.getYear()); in distanceWithoutLeapYear()
221 boolean[] taken = new boolean[DAYS_IN_YEAR]; in canonicalizePeriods()
225 taken[(i - 1) % DAYS_IN_YEAR] = true; in canonicalizePeriods()
231 while (i < DAYS_IN_YEAR) { in canonicalizePeriods()
237 while (i < DAYS_IN_YEAR && taken[i]) i++; in canonicalizePeriods()
243 if (lastIndex > 0 && result.get(lastIndex).mEndDay == DAYS_IN_YEAR in canonicalizePeriods()
280 + (DAYS_IN_YEAR - previous.mEndDay) - 1; in validatePeriods()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt2588 Landroid/app/admin/FreezePeriod;->DAYS_IN_YEAR:I