Searched refs:epoch (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | Utils.java | 51 long epoch = System.currentTimeMillis(); in tryWaitForSuccess() local 52 while (System.currentTimeMillis() - epoch <= timeoutMillis) { in tryWaitForSuccess()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | TimeTest.java | 2080 final int epoch = Time.EPOCH_JULIAN_DAY; // a Thursday in testGetWeeksSinceEpochFromJulianDay() local 2081 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.SUNDAY)); in testGetWeeksSinceEpochFromJulianDay() 2082 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.MONDAY)); in testGetWeeksSinceEpochFromJulianDay() 2083 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.TUESDAY)); in testGetWeeksSinceEpochFromJulianDay() 2084 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.WEDNESDAY)); in testGetWeeksSinceEpochFromJulianDay() 2085 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.THURSDAY)); in testGetWeeksSinceEpochFromJulianDay() 2086 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.FRIDAY)); in testGetWeeksSinceEpochFromJulianDay() 2087 assertEquals(0, Time.getWeeksSinceEpochFromJulianDay(epoch, Time.SATURDAY)); in testGetWeeksSinceEpochFromJulianDay() 2089 final int epochFriday = epoch + 1; in testGetWeeksSinceEpochFromJulianDay() 2098 final int epochSaturday = epoch + 2; in testGetWeeksSinceEpochFromJulianDay()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 1032 long epoch = System.currentTimeMillis(); in tryWaitForSuccess() local 1033 while (System.currentTimeMillis() - epoch <= timeoutMillis) { in tryWaitForSuccess()
|