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

/libcore/ojluni/src/main/java/java/util/zip/
H A DZipUtils.java48 public static final long fileTimeToWinTime(FileTime ftime) { argument
49 return (ftime.to(TimeUnit.MICROSECONDS) - WINDOWS_EPOCH_IN_MICROSECONDS) * 10;
62 public static final long fileTimeToUnixTime(FileTime ftime) { argument
63 return ftime.to(TimeUnit.SECONDS);
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldThreadTest.java188 long ftime = System.currentTimeMillis();
190 assertTrue("Failed to sleep long enough", (ftime - stime) >= 500);
191 assertTrue("Failed to wake up early enough", (ftime - stime) <= 1500);
235 long ftime = System.currentTimeMillis();
237 assertTrue("Failed to sleep long enough", (ftime - stime) >= 500);
238 assertTrue("Failed to wake up early enough", (ftime - stime) <= 1500);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DThreadTest.java823 long stime = 0, ftime = 0;
827 ftime = System.currentTimeMillis();
831 assertTrue("Failed to sleep long enough", (ftime - stime) >= 800);
841 long stime = 0, ftime = 0;
845 ftime = System.currentTimeMillis();
849 long result = ftime - stime;

Completed in 86 milliseconds