Home
last modified time | relevance | path

Searched refs:makeRandomCacheEntry (Results 1 – 5 of 5) sorted by relevance

/frameworks/volley/tests/src/com/android/volley/utils/
DCacheTestUtils.java17 public static Cache.Entry makeRandomCacheEntry( in makeRandomCacheEntry() method in CacheTestUtils
37 public static Cache.Entry makeRandomCacheEntry(byte[] data) { in makeRandomCacheEntry() method in CacheTestUtils
38 return makeRandomCacheEntry(data, false, false); in makeRandomCacheEntry()
/frameworks/volley/tests/src/com/android/volley/
DCacheDispatcherTest.java84 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, false); in testNonExpiredCacheHit()
94 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, true); in testSoftExpiredCacheHit()
107 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, true, true); in testExpiredCacheHit()
DResponseDeliveryTest.java43 Cache.Entry cacheEntry = CacheTestUtils.makeRandomCacheEntry(data); in setUp()
DRequestQueueTest.java191 return Response.success(new Object(), CacheTestUtils.makeRandomCacheEntry(null)); in parseNetworkResponse()
/frameworks/volley/tests/src/com/android/volley/mock/
DMockRequest.java98 return Response.success(response.data, CacheTestUtils.makeRandomCacheEntry(response.data)); in parseNetworkResponse()