Home
last modified time | relevance | path

Searched refs:lastModified (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DPollingWatchService.java201 private long lastModified;
204 CacheEntry(long lastModified, int lastTickCount) {
205 this.lastModified = lastModified;
213 long lastModified() {
214 return lastModified;
217 void update(long lastModified, int tickCount) {
218 this.lastModified = lastModified;
259 long lastModified =
261 entries.put(entry.getFileName(), new CacheEntry(lastModified, tickCount));
337 long lastModified = 0L;
[all …]
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpDirEntry.java61 private java.util.Date lastModified = null; field in FtpDirEntry
195 return this.lastModified; in getLastModified()
206 public FtpDirEntry setLastModified(Date lastModified) { in setLastModified() argument
207 this.lastModified = lastModified; in setLastModified()
326 if (lastModified == null) { in toString()
329 … " / " + group + ") {" + size + "} " + java.text.DateFormat.getDateInstance().format(lastModified); in toString()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DURICertStore.java114 private long lastModified; field in URICertStore
278 if (lastModified != 0) { in engineGetCertificates()
279 connection.setIfModifiedSince(lastModified); in engineGetCertificates()
281 long oldLastModified = lastModified; in engineGetCertificates()
283 lastModified = connection.getLastModified(); in engineGetCertificates()
285 if (oldLastModified == lastModified) { in engineGetCertificates()
317 lastModified = 0; in engineGetCertificates()
391 if (lastModified != 0) { in engineGetCRLs()
392 connection.setIfModifiedSince(lastModified); in engineGetCRLs()
394 long oldLastModified = lastModified; in engineGetCRLs()
[all …]
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DFileURLConnection.java65 long lastModified = 0; field in FileURLConnection
116 lastModified = file.lastModified(); in initializeHeaders()
131 if (lastModified != 0) { in initializeHeaders()
132 Date date = new Date(lastModified); in initializeHeaders()
179 return lastModified; in getLastModified()
/libcore/support/src/test/java/tests/support/
DSupport_TestWebData.java96 …Support_TestWebData(long length, int lastModified, String name, String type, boolean isDir, long e… in Support_TestWebData() argument
98 testLastModified = lastModified; in Support_TestWebData()
112 testLastModified = file.lastModified(); in Support_TestWebData()
/libcore/ojluni/src/main/native/
Dzip_util.h237 jlong lastModified; /* last modified time */ member
259 ZIP_Open_Generic(const char *name, char **pmsg, int mode, jlong lastModified);
262 ZIP_Get_From_Cache(const char *name, char **pmsg, jlong lastModified);
265 ZIP_Put_In_Cache(const char *name, ZFILE zfd, char **pmsg, jlong lastModified);
268 ZIP_Put_In_Cache0(const char *name, ZFILE zfd, char **pmsg, jlong lastModified, jboolean usemmap);
Dzip_util.c773 ZIP_Open_Generic(const char *name, char **pmsg, int mode, jlong lastModified) in ZIP_Open_Generic() argument
782 zip = ZIP_Get_From_Cache(name, pmsg, lastModified); in ZIP_Open_Generic()
786 zip = ZIP_Put_In_Cache(name, zfd, pmsg, lastModified); in ZIP_Open_Generic()
799 ZIP_Get_From_Cache(const char *name, char **pmsg, jlong lastModified) in ZIP_Get_From_Cache() argument
826 && (zip->lastModified == lastModified || zip->lastModified == 0) in ZIP_Get_From_Cache()
845 ZIP_Put_In_Cache(const char *name, ZFILE zfd, char **pmsg, jlong lastModified) in ZIP_Put_In_Cache() argument
847 return ZIP_Put_In_Cache0(name, zfd, pmsg, lastModified, JNI_TRUE); in ZIP_Put_In_Cache()
851 ZIP_Put_In_Cache0(const char *name, ZFILE zfd, char **pmsg, jlong lastModified, in ZIP_Put_In_Cache0() argument
866 zip->lastModified = lastModified; in ZIP_Put_In_Cache0()
DZipFile.c88 jint mode, jlong lastModified, in ZipFile_open() argument
102 zip = ZIP_Get_From_Cache(path, &msg, lastModified); in ZipFile_open()
118 zip = ZIP_Put_In_Cache0(path, zfd, &msg, lastModified, usemmap); in ZipFile_open()
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java137 userRootModTime = userRootModFile.lastModified(); in setupUserRoot()
204 systemRootModTime = systemRootModFile.lastModified(); in setupSystemRoot()
574 newLastSyncTime = prefsFile.lastModified(); in loadCache()
736 nmt = userRootModFile.lastModified();
739 nmt = systemRootModFile.lastModified();
776 lastModifiedTime = prefsFile.lastModified();
797 lastModifiedTime = prefsFile.lastModified();
/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()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java1134 long lastModifiedTime = f.lastModified(); in test_lastModified()
1140 lastModifiedTime = f.lastModified(); in test_lastModified()
1871 long orgTime = f1.lastModified(); in test_setLastModifiedJ()
1874 long lastModified = f1.lastModified(); in test_setLastModifiedJ() local
1876 orgTime - 100000, lastModified); in test_setLastModifiedJ()
1879 lastModified = f1.lastModified(); in test_setLastModifiedJ()
1881 orgTime - 10000000, lastModified); in test_setLastModifiedJ()
1884 lastModified = f1.lastModified(); in test_setLastModifiedJ()
1886 orgTime + 100000, lastModified); in test_setLastModifiedJ()
1889 lastModified = f1.lastModified(); in test_setLastModifiedJ()
[all …]
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java2816 long lastModified = 0; in needsReload() local
2824 lastModified = ent.getTime(); in needsReload()
2825 if (lastModified == -1) { in needsReload()
2826 lastModified = 0; in needsReload()
2830 lastModified = connection.getLastModified(); in needsReload()
2833 result = lastModified >= loadTime; in needsReload()
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java265 jzfile = open(name, mode, file.lastModified(), usemmap); in ZipFile()
909 private static native long open(String name, int mode, long lastModified, in open() argument
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipFile.java138 java.lang.String name, int mode, long lastModified, boolean usemmap) in open() argument
/libcore/ojluni/annotations/hiddenapi/java/io/
DFile.java139 public long lastModified() { in lastModified() method in File
/libcore/ojluni/annotations/sdk/nullability/java/io/
DFile.annotated.java82 public long lastModified() { throw new RuntimeException("Stub!"); } in lastModified() method in File
/libcore/luni/src/test/java/libcore/dalvik/system/
DBlockGuardTest.java77 f.lastModified(); in testFile()
/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java121 assertEquals(0, f.lastModified()); in test_emptyFilename()
/libcore/ojluni/src/main/java/java/io/
DFile.java931 public long lastModified() { in lastModified() method in File