Searched refs:epoch (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/text/src/android/text/format/cts/ |
D | TimeTest.java | 2022 final int epoch = Time.EPOCH_JULIAN_DAY; // a Thursday in testGetWeeksSinceEpochFromJulianDay() local 2023 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.SUNDAY)); in testGetWeeksSinceEpochFromJulianDay() 2024 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.MONDAY)); in testGetWeeksSinceEpochFromJulianDay() 2025 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.TUESDAY)); in testGetWeeksSinceEpochFromJulianDay() 2026 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.WEDNESDAY)); in testGetWeeksSinceEpochFromJulianDay() 2027 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.THURSDAY)); in testGetWeeksSinceEpochFromJulianDay() 2028 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.FRIDAY)); in testGetWeeksSinceEpochFromJulianDay() 2029 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.SATURDAY)); in testGetWeeksSinceEpochFromJulianDay() 2031 final int epochFriday = epoch + 1; in testGetWeeksSinceEpochFromJulianDay() 2040 final int epochSaturday = epoch + 2; in testGetWeeksSinceEpochFromJulianDay()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 805 long epoch = System.currentTimeMillis(); in tryWaitForSuccess() local 806 while (System.currentTimeMillis() - epoch <= timeoutMillis) { in tryWaitForSuccess()
|