Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/zip/
DZipUtils.java48 public static final long fileTimeToWinTime(FileTime ftime) { in fileTimeToWinTime() argument
49 return (ftime.to(TimeUnit.MICROSECONDS) - WINDOWS_EPOCH_IN_MICROSECONDS) * 10; in fileTimeToWinTime()
62 public static final long fileTimeToUnixTime(FileTime ftime) { in fileTimeToUnixTime() argument
63 return ftime.to(TimeUnit.SECONDS); in fileTimeToUnixTime()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java188 long ftime = System.currentTimeMillis(); in test_sleepJ() local
190 assertTrue("Failed to sleep long enough", (ftime - stime) >= 500); in test_sleepJ()
191 assertTrue("Failed to wake up early enough", (ftime - stime) <= 1500); in test_sleepJ()
235 long ftime = System.currentTimeMillis(); in test_sleepJI() local
237 assertTrue("Failed to sleep long enough", (ftime - stime) >= 500); in test_sleepJI()
238 assertTrue("Failed to wake up early enough", (ftime - stime) <= 1500); in test_sleepJI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java821 long stime = 0, ftime = 0; in test_sleepJ() local
825 ftime = System.currentTimeMillis(); in test_sleepJ()
829 long elapsedMillis = ftime - stime; in test_sleepJ()
842 long stime = 0, ftime = 0; in test_sleepJI() local
846 ftime = System.currentTimeMillis(); in test_sleepJI()
850 long elapsedMillis = ftime - stime; in test_sleepJI()