Searched refs:MICROSECONDS (Results 1 – 10 of 10) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TimeUnitTest.java | 13 import static java.util.concurrent.TimeUnit.MICROSECONDS; 54 SECONDS.convert(1000000L*t, MICROSECONDS)); in testConvert() 69 MILLISECONDS.convert(1000L*t, MICROSECONDS)); in testConvert() 74 MICROSECONDS.convert(t, DAYS)); in testConvert() 76 MICROSECONDS.convert(t, HOURS)); in testConvert() 78 MICROSECONDS.convert(t, MINUTES)); in testConvert() 80 MICROSECONDS.convert(t, SECONDS)); in testConvert() 82 MICROSECONDS.convert(t, MILLISECONDS)); in testConvert() 84 MICROSECONDS.convert(t, MICROSECONDS)); in testConvert() 86 MICROSECONDS.convert(1000L*t, NANOSECONDS)); in testConvert() [all …]
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixCopyFile.java | 194 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyDirectory() 195 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyDirectory() 198 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyDirectory() 199 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyDirectory() 274 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyFile() 275 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyFile() 278 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyFile() 279 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyFile() 356 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copySpecial() 357 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copySpecial()
|
D | UnixFileAttributeViews.java | 92 long modValue = lastModifiedTime.to(TimeUnit.MICROSECONDS); in setTimes() 93 long accessValue= lastAccessTime.to(TimeUnit.MICROSECONDS); in setTimes()
|
D | UnixSecureDirectoryStream.java | 424 lastAccessTime.to(TimeUnit.MICROSECONDS), in setTimes() 425 lastModifiedTime.to(TimeUnit.MICROSECONDS)); in setTimes()
|
D | UnixFileAttributes.java | 116 return FileTime.from(micro, TimeUnit.MICROSECONDS); in toFileTime()
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 57 eq(now, MILLISECONDS, now*1000L, MICROSECONDS); in main() 59 neq(now, MILLISECONDS, 0, MICROSECONDS); in main() 62 eq(nowInstant, now*1000L, MICROSECONDS); in main() 64 neq(nowInstant, 0, MICROSECONDS); in main() 68 cmp(now, MILLISECONDS, now*1000L, MICROSECONDS, 0); in main() 100 cmp(nowInstant, now*1000L, MICROSECONDS, 0); in main() 186 ts(1L, MICROSECONDS, "1970-01-01T00:00:00.000001Z"); in main() 196 ts(-1L, MICROSECONDS, "1969-12-31T23:59:59.999999Z"); in main() 209 ts(-11644473600000000L, MICROSECONDS, "1601-01-01T00:00:00Z"); in main()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipUtils.java | 42 TimeUnit.MICROSECONDS); in winTimeToFileTime() 49 return (ftime.to(TimeUnit.MICROSECONDS) - WINDOWS_EPOCH_IN_MICROSECONDS) * 10; in fileTimeToWinTime()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessTest.java | 165 assertFalse(process.waitFor(0, TimeUnit.MICROSECONDS)); in test_waitForTimeout() 167 assertFalse(process.waitFor(500, TimeUnit.MICROSECONDS)); in test_waitForTimeout()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 96 MICROSECONDS { enumConstant
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 255 case MICROSECONDS: in toInstant()
|