Searched refs:fromMillis (Results 1 – 12 of 12) sorted by relevance
73 StructTimeval val = StructTimeval.fromMillis(millisValue); in fromToMillis()88 StructTimeval value1 = StructTimeval.fromMillis(millisValue); in testEqualsAndHashcode()89 StructTimeval value2 = StructTimeval.fromMillis(millisValue); in testEqualsAndHashcode()
813 StructTimeval tv = StructTimeval.fromMillis(20);892 StructTimeval tv = StructTimeval.fromMillis(20);1240 StructTimeval tv = StructTimeval.fromMillis(4000);1565 StructTimeval newValue = StructTimeval.fromMillis(3000);1589 StructTimeval tv = StructTimeval.fromMillis(TIMEOUT_VALUE_MILLIS);1614 StructTimeval tv = StructTimeval.fromMillis(500);1626 StructTimeval tv = StructTimeval.fromMillis(500);1635 StructTimeval tv = StructTimeval.fromMillis(500);1646 StructTimeval tv = StructTimeval.fromMillis(500);1660 StructTimeval tv = StructTimeval.fromMillis(500);
403 zentry.setLastModifiedTime(FileTime.fromMillis(0)); in test_setLastModifiedTime()408 zentry.setLastModifiedTime(FileTime.fromMillis(someTimestampValue)); in test_setLastModifiedTime()417 zentry.setCreationTime(FileTime.fromMillis(0)); in test_setCreationTime()421 zentry.setCreationTime(FileTime.fromMillis(someTimestampValue)); in test_setCreationTime()429 zentry.setLastAccessTime(FileTime.fromMillis(0)); in test_setLastAccessTime()433 zentry.setLastAccessTime(FileTime.fromMillis(someTimestampValue)); in test_setLastAccessTime()
312 zipEntry.setLastModifiedTime(FileTime.fromMillis(someTimestamp)); in test_timeSerializationRounding()372 zipEntry.setLastModifiedTime(FileTime.fromMillis(1000)); in test_exttSupport()380 zipEntry.setCreationTime(FileTime.fromMillis(1000)); in test_exttSupport()389 zipEntry.setLastAccessTime(FileTime.fromMillis(3000)); in test_exttSupport()
41 public static @NonNull StructTimeval fromMillis(long millis) { in fromMillis() method in StructTimeval
123 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis() - 10000); in test_move_CopyOption()339 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis() - 10000); in test_readAttributes()373 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis()); in test_setAttribute()529 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis()); in test_newFileChannel_withFileAttributes()
390 FileTime.fromMillis(timeInMillisToBeSet)); in test_setLastModifiedTime()397 FileTime.fromMillis(timeInMillisToBeSet)); in test_setLastModifiedTime()405 Files.setLastModifiedTime(null, FileTime.fromMillis(System.currentTimeMillis())); in test_setLastModifiedTime_NPE()
673 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis() - 10000); in test_copy_CopyOption()
109 public static FileTime fromMillis(long value) { in fromMillis() method in FileTime
223 FileTime time = FileTime.fromMillis(now); in main()
518 StructTimeval tv = StructTimeval.fromMillis(millis); in setSocketOptionErrno()
741 method @NonNull public static android.system.StructTimeval fromMillis(long);7715 method public static java.nio.file.attribute.FileTime fromMillis(long);