/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | BasicFileAttributeViewTest.java | 61 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/ |
D | UnixFileAttributeViews.java | 61 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()
|
D | UnixFileAttributes.java | 132 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()
|
D | UnixSecureDirectoryStream.java | 400 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()
|
D | UnixCopyFile.java | 195 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()
|
D | LinuxDosFileAttributeView.java | 127 public FileTime lastModifiedTime() { in readAttributes() 128 return attrs.lastModifiedTime(); in readAttributes()
|
D | AbstractBasicFileAttributeView.java | 149 builder.add(LAST_MODIFIED_TIME_NAME, attrs.lastModifiedTime()); in addRequestedBasicAttributes()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | FileSystemPreferences.java | 774 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/ |
D | BasicFileAttributes.java | 59 FileTime lastModifiedTime(); in lastModifiedTime() method
|
D | BasicFileAttributeView.java | 179 void setTimes(FileTime lastModifiedTime, in setTimes() argument
|
/libcore/ojluni/src/test/java/util/zip/ |
D | TestExtraTime.java | 264 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/ |
D | CopyMoveHelper.java | 135 view.setTimes(attrs.lastModifiedTime(), in copyToForeignTarget()
|
D | Files.java | 2266 return readAttributes(path, BasicFileAttributes.class, options).lastModifiedTime();
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProvider2Test.java | 344 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/ |
D | ZipFile.java | 1330 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/ |
D | FileTest.java | 1139 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/ |
D | current.txt | 7676 method public java.nio.file.attribute.FileTime lastModifiedTime();
|