Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSystemUpdatePolicyTest.java227 assertEquals(364, FreezePeriod.distanceWithoutLeapYear( in testDistanceWithoutLeapYear()
229 assertEquals(365, FreezePeriod.distanceWithoutLeapYear( in testDistanceWithoutLeapYear()
231 assertEquals(365, FreezePeriod.distanceWithoutLeapYear( in testDistanceWithoutLeapYear()
233 assertEquals(-365, FreezePeriod.distanceWithoutLeapYear( in testDistanceWithoutLeapYear()
235 assertEquals(1, FreezePeriod.distanceWithoutLeapYear( in testDistanceWithoutLeapYear()
237 assertEquals(1, FreezePeriod.distanceWithoutLeapYear( in testDistanceWithoutLeapYear()
239 assertEquals(0, FreezePeriod.distanceWithoutLeapYear( in testDistanceWithoutLeapYear()
241 assertEquals(0, FreezePeriod.distanceWithoutLeapYear( in testDistanceWithoutLeapYear()
244 assertEquals(59, FreezePeriod.distanceWithoutLeapYear( in testDistanceWithoutLeapYear()
246 assertEquals(59, FreezePeriod.distanceWithoutLeapYear( in testDistanceWithoutLeapYear()
[all …]
/frameworks/base/core/java/android/app/admin/
DFreezePeriod.java202 public static int distanceWithoutLeapYear(LocalDate first, LocalDate second) { in distanceWithoutLeapYear() method in FreezePeriod
337 long separation = FreezePeriod.distanceWithoutLeapYear(curOrNextFreezeDates.first, in validateAgainstPreviousFreezePeriod()
347 long length = FreezePeriod.distanceWithoutLeapYear(curOrNextFreezeDates.second, in validateAgainstPreviousFreezePeriod()