Home
last modified time | relevance | path

Searched refs:fromMillis (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/android/system/
DStructTimevalTest.java73 StructTimeval val = StructTimeval.fromMillis(millisValue); in fromToMillis()
88 StructTimeval value1 = StructTimeval.fromMillis(millisValue); in testEqualsAndHashcode()
89 StructTimeval value2 = StructTimeval.fromMillis(millisValue); in testEqualsAndHashcode()
DOsTest.java813 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);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DZipEntryTest.java403 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()
DZipOutputStreamTest.java312 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()
/libcore/luni/src/main/java/android/system/
DStructTimeval.java41 public static @NonNull StructTimeval fromMillis(long millis) { in fromMillis() method in StructTimeval
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProvider2Test.java123 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()
DFiles2Test.java390 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()
DDefaultFileSystemProviderTest.java673 FileTime fileTime = FileTime.fromMillis(System.currentTimeMillis() - 10000); in test_copy_CopyOption()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java109 public static FileTime fromMillis(long value) { in fromMillis() method in FileTime
/libcore/ojluni/src/test/java/nio/file/attribute/
DFileTimeTest.java223 FileTime time = FileTime.fromMillis(now); in main()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java518 StructTimeval tv = StructTimeval.fromMillis(millis); in setSocketOptionErrno()
/libcore/api/
Dcurrent.txt741 method @NonNull public static android.system.StructTimeval fromMillis(long);
7715 method public static java.nio.file.attribute.FileTime fromMillis(long);