Home
last modified time | relevance | path

Searched refs:serverDate (Results 1 – 6 of 6) sorted by relevance

/external/volley/src/main/java/com/android/volley/toolbox/
DHttpHeaderParser.java69 long serverDate = 0; in parseCacheHeaders() local
84 serverDate = parseDateAsEpoch(headerValue); in parseCacheHeaders()
128 } else if (serverDate > 0 && serverExpires >= serverDate) { in parseCacheHeaders()
130 softExpire = now + (serverExpires - serverDate); in parseCacheHeaders()
139 entry.serverDate = serverDate; in parseCacheHeaders()
DDiskBasedCache.java425 final long serverDate; field in DiskBasedCache.CacheHeader
442 long serverDate, in CacheHeader() argument
449 this.serverDate = serverDate; in CacheHeader()
466 entry.serverDate, in CacheHeader()
497 long serverDate = readLong(is); in readHeader() local
503 key, etag, serverDate, lastModified, ttl, softTtl, allResponseHeaders); in readHeader()
511 e.serverDate = serverDate; in toCacheEntry()
526 writeLong(os, serverDate); in writeHeader()
/external/volley/src/test/java/com/android/volley/utils/
DCacheTestUtils.java66 assertThat(actual.serverDate, is(equalTo(expected.serverDate))); in assertThatEntriesAreEqual()
/external/volley/src/test/java/com/android/volley/toolbox/
DHttpHeaderParserTest.java63 assertEquals(0, entry.serverDate); in parseCacheHeaders_noHeaders()
108 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS); in parseCacheHeaders_normalExpire()
124 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS); in parseCacheHeaders_expiresInPast()
DDiskBasedCacheTest.java94 entry.serverDate = 1234567L; in testPutGetZeroBytes()
619 assertThat(actual.serverDate, is(equalTo(expected.serverDate))); in assertThatEntriesAreEqual()
/external/volley/src/main/java/com/android/volley/
DCache.java76 public long serverDate; field in Cache.Entry