Searched refs:serverDate (Results 1 - 7 of 7) sorted by relevance

/frameworks/volley/src/com/android/volley/toolbox/
H A DHttpHeaderParser.java44 long serverDate = 0;
55 serverDate = parseDateAsEpoch(headerValue);
88 } else if (serverDate > 0 && serverExpires >= serverDate) {
90 softExpire = now + (serverExpires - serverDate);
98 entry.serverDate = serverDate;
H A DDiskBasedCache.java344 public long serverDate; field in class:DiskBasedCache.CacheHeader
366 this.serverDate = entry.serverDate;
389 entry.serverDate = readLong(is);
403 e.serverDate = serverDate;
419 writeLong(os, serverDate);
H A DBasicNetwork.java189 if (entry.serverDate > 0) {
190 Date refTime = new Date(entry.serverDate);
/frameworks/volley/src/com/android/volley/
H A DCache.java75 public long serverDate; field in class:Cache.Entry
/frameworks/volley/tests/src/com/android/volley/utils/
H A DCacheTestUtils.java27 entry.serverDate = random.nextLong();
/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DDiskBasedCacheTest.java35 e.serverDate = 1234567L;
49 assertEquals(first.serverDate, second.serverDate);
H A DHttpHeaderParserTest.java53 assertEquals(0, entry.serverDate);
87 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS);
101 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS);

Completed in 34 milliseconds