Home
last modified time | relevance | path

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

12

/frameworks/volley/src/main/java/com/android/volley/toolbox/
DHttpHeaderParser.java45 long lastModified = 0; in parseCacheHeaders() local
93 lastModified = parseDateAsEpoch(headerValue); in parseCacheHeaders()
117 entry.lastModified = lastModified; in parseCacheHeaders()
DDiskBasedCache.java354 public long lastModified; field in DiskBasedCache.CacheHeader
377 this.lastModified = entry.lastModified; in CacheHeader()
401 entry.lastModified = readLong(is); in readHeader()
417 e.lastModified = lastModified; in toCacheEntry()
434 writeLong(os, lastModified); in writeHeader()
DBasicNetwork.java215 if (entry.lastModified > 0) { in addCacheHeaders()
216 Date refTime = new Date(entry.lastModified); in addCacheHeaders()
/frameworks/base/tests/CoreTests/android/core/
DTestWebData.java109 TestWebData(int length, int lastModified, String name, String type, boolean isDir) { in TestWebData() argument
111 testLastModified = lastModified; in TestWebData()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DDocumentInfo.java53 public long lastModified; field in DocumentInfo
72 lastModified = -1; in reset()
91 lastModified = in.readLong(); in read()
110 out.writeLong(lastModified); in write()
159 this.lastModified = getCursorLong(cursor, Document.COLUMN_LAST_MODIFIED); in updateFromCursor()
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java194 row.add(Document.COLUMN_LAST_MODIFIED, document.lastModified); in includeDocument()
205 final long lastModified; field in StressProvider.StubDocument
208 private StubDocument(String mimeType, String id, int size, long lastModified, in StubDocument() argument
213 this.lastModified = lastModified; in StubDocument()
/frameworks/support/core-utils/java/android/support/v4/provider/
DSingleDocumentFile.java69 public long lastModified() { in lastModified() method in SingleDocumentFile
70 return DocumentsContractApi19.lastModified(mContext, mUri); in lastModified()
DTreeDocumentFile.java70 public long lastModified() { in lastModified() method in TreeDocumentFile
71 return DocumentsContractApi19.lastModified(mContext, mUri); in lastModified()
DRawDocumentFile.java92 public long lastModified() { in lastModified() method in RawDocumentFile
93 return mFile.lastModified(); in lastModified()
DDocumentFile.java245 public abstract long lastModified(); in lastModified() method in DocumentFile
/frameworks/base/core/java/android/webkit/
DCacheManager.java57 String lastModified; field in CacheManager.CacheResult
126 return lastModified; in getLastModified()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSpnOverride.java65 long oemSpnTime = oemSpnFile.lastModified(); in loadSpnOverrides()
66 long sysSpnTime = spnFile.lastModified(); in loadSpnOverrides()
/frameworks/volley/src/test/java/com/android/volley/toolbox/
DDiskBasedCacheTest.java38 e.lastModified = 13572468L; in cacheHeaderSerialization()
53 assertEquals(first.lastModified, second.lastModified); in cacheHeaderSerialization()
DHttpHeaderParserTest.java60 assertEquals(0, entry.lastModified); in parseCacheHeaders_noHeaders()
96 assertEqualsWithin(entry.lastModified, (now - ONE_DAY_MILLIS), ONE_MINUTE_MILLIS); in parseCacheHeaders_normalExpire()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DFilteringCursorWrapper.java57 final long lastModified = getCursorLong(cursor, Document.COLUMN_LAST_MODIFIED); in FilteringCursorWrapper() local
61 if (lastModified < rejectBefore) { in FilteringCursorWrapper()
/frameworks/base/media/java/android/media/
DMediaScanner.java371 FileEntry(long rowId, String path, long lastModified, int format) { in FileEntry() argument
374 mLastModified = lastModified; in FileEntry()
500 public FileEntry beginFile(String path, String mimeType, long lastModified, in beginFile() argument
536 long delta = (entry != null) ? (lastModified - entry.mLastModified) : 0; in beginFile()
540 entry.mLastModified = lastModified; in beginFile()
542 entry = new FileEntry(0, path, lastModified, in beginFile()
566 mLastModified = lastModified; in beginFile()
576 public void scanFile(String path, long lastModified, long fileSize,
580 doScanFile(path, null, lastModified, fileSize, isDirectory, false, noMedia);
583 public Uri doScanFile(String path, String mimeType, long lastModified,
[all …]
DMediaScannerClient.java24 public void scanFile(String path, long lastModified, long fileSize, in scanFile() argument
/frameworks/base/core/java/android/util/
DAtomicFile.java211 return mBackupName.lastModified(); in getLastModifiedTime()
213 return mBaseName.lastModified(); in getLastModifiedTime()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp148 virtual status_t scanFile(const char* path, long long lastModified, in scanFile() argument
152 path, lastModified, fileSize, isDirectory); in scanFile()
160 mEnv->CallVoidMethod(mClient, mScanFileMethodID, pathStr, lastModified, in scanFile()
/frameworks/base/core/java/com/android/server/
DBootReceiver.java254 long fileTime = file.lastModified(); in addFileWithFootersToDropBox()
275 long fileTime = file.lastModified(); in addAuditErrorsToDropBox()
278 fileTime = file.lastModified(); in addAuditErrorsToDropBox()
308 long fileTime = file.lastModified(); in addFsckErrorsToDropBox()
/frameworks/volley/src/main/java/com/android/volley/
DCache.java78 public long lastModified; field in Cache.Entry
/frameworks/volley/src/test/java/com/android/volley/utils/
DCacheTestUtils.java27 entry.lastModified = random.nextLong(); in makeRandomCacheEntry()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java85 row.add(Document.COLUMN_LAST_MODIFIED, mRoot.lastModified()); in queryDocument()
193 row.add(Document.COLUMN_LAST_MODIFIED, file.lastModified()); in addFileRow()
/frameworks/av/include/media/
Dmediascanner.h117 virtual status_t scanFile(const char* path, long long lastModified,
/frameworks/base/docs/html/training/efficient-downloads/
Dredundant_redundant.jd45 long lastModified = conn.getHeaderFieldDate("Last-Modified", currentTime);
49 if (lastModified < lastUpdateTime) {

12