Home
last modified time | relevance | path

Searched refs:getLastModifiedTime (Results 1 – 22 of 22) sorted by relevance

/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsFileChannelTest.java268 long modifiedTime = file.getLastModifiedTime(); in testFileTimeUpdates()
272 assertNotEquals(modifiedTime, file.getLastModifiedTime()); in testFileTimeUpdates()
274 modifiedTime = file.getLastModifiedTime(); in testFileTimeUpdates()
278 assertNotEquals(modifiedTime, file.getLastModifiedTime()); in testFileTimeUpdates()
280 modifiedTime = file.getLastModifiedTime(); in testFileTimeUpdates()
284 assertNotEquals(modifiedTime, file.getLastModifiedTime()); in testFileTimeUpdates()
286 modifiedTime = file.getLastModifiedTime(); in testFileTimeUpdates()
290 assertNotEquals(modifiedTime, file.getLastModifiedTime()); in testFileTimeUpdates()
292 modifiedTime = file.getLastModifiedTime(); in testFileTimeUpdates()
296 assertNotEquals(modifiedTime, file.getLastModifiedTime()); in testFileTimeUpdates()
[all …]
DBasicAttributeProviderTest.java70 assertThat(time).isEqualTo(file.getLastModifiedTime()); in testInitialAttributes()
DUrlTest.java79 FileTime lastModified = Files.getLastModifiedTime(path); in headers()
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DFileUtilsFileNewerTest.java83 final FileTime fileLastModified = Files.getLastModifiedTime(testFile1.toPath()); in testIsFileNewer()
116 …assertEquals(fileTime, Files.getLastModifiedTime(temporaryFile.toPath()), "The temporary file hasn… in testIsFileNewer()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DBasicAttributeProvider.java79 return FileTime.fromMillis(file.getLastModifiedTime()); in get()
184 this.lastModifiedTime = FileTime.fromMillis(file.getLastModifiedTime()); in Attributes()
DPathURLConnection.java95 FileTime lastModified = Files.getLastModifiedTime(path); in connect()
DFile.java171 public final synchronized long getLastModifiedTime() { in getLastModifiedTime() method in File
DFileSystemView.java161 modifiedTimes.put(entry.name(), entry.file().getLastModifiedTime()); in snapshotModifiedTimes()
/external/ktfmt/core/src/test/java/com/facebook/ktfmt/cli/
DMainTest.kt189 Files.getLastModifiedTime(formattedFilePath).toMillis() in file is not modified if it is already formatted()
192 Files.getLastModifiedTime(formattedFilePath).toMillis() in file is not modified if it is already formatted()
206 Files.getLastModifiedTime(unformattedFilePath).toMillis() in file is modified if it is not formatted()
211 Files.getLastModifiedTime(unformattedFilePath).toMillis() in file is modified if it is not formatted()
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/
DPathUtils.java254 return getLastModifiedTime(file, options).compareTo(fileTime); in compareLastModifiedTimeTo()
857 return Files.exists(path) ? getLastModifiedTime(path, options) : defaultIfAbsent;
899 …private static FileTime getLastModifiedTime(final Path path, final LinkOption... options) throws I…
900 return Files.getLastModifiedTime(Objects.requireNonNull(path, "path"), options);
1060 return isNewer(file, getLastModifiedTime(reference));
1121 return isOlder(file, getLastModifiedTime(reference));
1391 Files.setLastModifiedTime(targetFile, getLastModifiedTime(sourceFile));
DFilesUncheck.java278 public static FileTime getLastModifiedTime(final Path path, final LinkOption... options) { in getLastModifiedTime() method in FilesUncheck
279 return Uncheck.apply(Files::getLastModifiedTime, path, options); in getLastModifiedTime()
/external/apache-commons-io/src/test/java/org/apache/commons/io/monitor/
DSerializableFileTimeTest.java36 …final SerializableFileTime expected = new SerializableFileTime(Files.getLastModifiedTime(PathUtils… in testSerializable()
/external/apache-commons-io/src/test/java/org/apache/commons/io/filefilter/
DAbstractFilterTest.java166 … return Files.getLastModifiedTime(left.toPath()).equals(Files.getLastModifiedTime(right.toPath())); in equalsLastModified()
/external/apache-commons-io/src/test/java/org/apache/commons/io/file/
DFilesUncheckTest.java179 …assertTrue(0 < FilesUncheck.getLastModifiedTime(FILE_PATH_EMPTY, LinkOption.NOFOLLOW_LINKS).toMill… in testGetLastModifiedTime()
383 final FileTime ft = FilesUncheck.getLastModifiedTime(FILE_PATH_EMPTY); in testSetAttribute()
389 final FileTime ft = FilesUncheck.getLastModifiedTime(FILE_PATH_EMPTY); in testSetLastModifiedTime()
DPathUtilsTest.java101 return Files.getLastModifiedTime(file).toMillis(); in getLastModifiedMillis()
/external/guava/guava-tests/test/com/google/common/io/
DMoreFilesTest.java258 assertEquals(0, Files.getLastModifiedTime(temp).toMillis()); in testTouchTime()
260 assertThat(Files.getLastModifiedTime(temp).toMillis()).isNotEqualTo(0); in testTouchTime()
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/
DTailer.java436 return Files.getLastModifiedTime(path, linkOptions); in lastModifiedFileTime()
/external/turbine/javatests/com/google/turbine/main/
DMainTest.java224 .getLastModifiedTime() in testManifest()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager.java1755 return Files.getLastModifiedTime(Paths.get(path)).toMillis(); in getFileModDate()
/external/robolectric/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager.java1758 return Files.getLastModifiedTime(Paths.get(path)).toMillis(); in getFileModDate()
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DFileUtils.java2072 return Files.getLastModifiedTime(Objects.requireNonNull(file.toPath(), "file")); in lastModifiedFileTime()
/external/ow2-asm/tools/retrofitter/src/main/resources/
Djdk1.5.0.12.txt.gz