HomeSort by relevance Sort by last modified time
    Searched refs:softTtl (Results 1 - 6 of 6) sorted by null

  /external/volley/src/main/java/com/android/volley/
Cache.java 83 public long softTtl;
108 return this.softTtl < System.currentTimeMillis();
  /external/volley/src/test/java/com/android/volley/toolbox/
HttpHeaderParserTest.java 66 assertEquals(0, entry.softTtl);
104 assertTrue(entry.softTtl >= (now + ONE_HOUR_MILLIS));
105 assertTrue(entry.ttl == entry.softTtl);
120 assertEquals(0, entry.softTtl);
135 assertEquals(entry.softTtl, entry.ttl);
150 assertEquals(entry.softTtl, entry.ttl);
159 // - max-age (entry.softTtl) indicates that the asset is fresh for 1 day
168 assertEqualsWithin(now + ONE_DAY_MILLIS, entry.softTtl, ONE_MINUTE_MILLIS);
195 assertEquals(entry.softTtl, entry.ttl);
209 assertEquals(entry.softTtl, entry.ttl)
    [all...]
DiskBasedCacheTest.java 97 entry.softTtl = 8765432L;
146 entry.softTtl = 8765432L;
151 entry.softTtl = 0; // expired
158 entry.softTtl = 8765432L;
163 entry.softTtl = 0; // expired
603 assertThat(actual.softTtl, is(equalTo(expected.softTtl)));
624 // 32 bytes for serverDate, lastModified, ttl, and softTtl longs
  /external/volley/src/test/java/com/android/volley/utils/
CacheTestUtils.java 43 entry.softTtl = needsRefresh ? 0 : Long.MAX_VALUE;
  /external/volley/src/main/java/com/android/volley/toolbox/
DiskBasedCache.java 195 entry.softTtl = 0;
389 final long softTtl;
400 long softTtl,
407 this.softTtl = softTtl;
424 entry.softTtl,
455 long softTtl = readLong(is);
458 key, etag, serverDate, lastModified, ttl, softTtl, allResponseHeaders);
469 e.softTtl = softTtl;
    [all...]
HttpHeaderParser.java 121 entry.softTtl = softExpire;

Completed in 166 milliseconds