Home
last modified time | relevance | path

Searched refs:lastModifiedTime (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewTest.java61 check(f.lastModified()/1000 == attrs.lastModifiedTime().to(TimeUnit.SECONDS), in checkAttributesOfDirectory()
77 check(f.lastModified()/1000 == attrs.lastModifiedTime().to(TimeUnit.SECONDS), in checkAttributesOfFile()
85 view.setTimes(dirAttrs.lastModifiedTime(), null, null); in checkAttributesOfFile()
88 check(attrs.lastModifiedTime().equals(dirAttrs.lastModifiedTime()), in checkAttributesOfFile()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileAttributeViews.java61 public void setTimes(FileTime lastModifiedTime, in setTimes() argument
66 if (lastModifiedTime == null && lastAccessTime == null) { in setTimes()
79 if (lastModifiedTime == null || lastAccessTime == null) { in setTimes()
82 if (lastModifiedTime == null) in setTimes()
83 lastModifiedTime = attrs.lastModifiedTime(); in setTimes()
92 long modValue = lastModifiedTime.to(TimeUnit.MICROSECONDS); in setTimes()
DUnixFileAttributes.java132 public FileTime lastModifiedTime() { in lastModifiedTime() method in UnixFileAttributes
147 return lastModifiedTime(); in creationTime()
278 public FileTime lastModifiedTime() { in lastModifiedTime() method in UnixFileAttributes.UnixAsBasicFileAttributes
279 return attrs.lastModifiedTime(); in lastModifiedTime()
DUnixSecureDirectoryStream.java400 public void setTimes(FileTime lastModifiedTime, in setTimes() argument
415 if (lastModifiedTime == null || lastAccessTime == null) { in setTimes()
418 if (lastModifiedTime == null) in setTimes()
419 lastModifiedTime = attrs.lastModifiedTime(); in setTimes()
430 lastModifiedTime.to(TimeUnit.MICROSECONDS)); in setTimes()
DUnixCopyFile.java195 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyDirectory()
199 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyDirectory()
275 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyFile()
279 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyFile()
357 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copySpecial()
DLinuxDosFileAttributeView.java127 public FileTime lastModifiedTime() { in readAttributes()
128 return attrs.lastModifiedTime(); in readAttributes()
DAbstractBasicFileAttributeView.java149 builder.add(LAST_MODIFIED_TIME_NAME, attrs.lastModifiedTime()); in addRequestedBasicAttributes()
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java774 long lastModifiedTime;
776 lastModifiedTime = prefsFile.lastModified();
777 if (lastModifiedTime != lastSyncTime) {
782 lastSyncTime = lastModifiedTime;
797 lastModifiedTime = prefsFile.lastModified();
803 if (lastSyncTime <= lastModifiedTime) {
804 lastSyncTime = lastModifiedTime + 1000;
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DBasicFileAttributes.java59 FileTime lastModifiedTime(); in lastModifiedTime() method
DBasicFileAttributeView.java179 void setTimes(FileTime lastModifiedTime, in setTimes() argument
/libcore/ojluni/src/test/java/util/zip/
DTestExtraTime.java264 FileTime lastModifiedTime = ze.getLastModifiedTime(); in testTimeConversions() local
265 if (lastModifiedTime.toMillis() != time) { in testTimeConversions()
268 " got: " + lastModifiedTime.toMillis()); in testTimeConversions()
/libcore/ojluni/src/main/java/java/nio/file/
DCopyMoveHelper.java135 view.setTimes(attrs.lastModifiedTime(), in copyToForeignTarget()
DFiles.java2266 return readAttributes(path, BasicFileAttributes.class, options).lastModifiedTime();
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProvider2Test.java344 FileTime lastModifiedTime = basicFileAttributes.lastModifiedTime(); in test_readAttributes() local
345 assertEquals(fileTime.to(TimeUnit.SECONDS), lastModifiedTime.to(TimeUnit.SECONDS)); in test_readAttributes()
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java1330 t += attrs.lastModifiedTime().toMillis(); in hashCode()
1342 if (!attrs.lastModifiedTime().equals(key.attrs.lastModifiedTime())) { in equals()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java1139 long lastModifiedTime = f.lastModified(); in test_lastModified() local
1141 lastModifiedTime); in test_lastModified()
1145 lastModifiedTime = f.lastModified(); in test_lastModified()
1147 315550800000L, lastModifiedTime); in test_lastModified()
/libcore/api/
Dcurrent.txt7676 method public java.nio.file.attribute.FileTime lastModifiedTime();