Searched refs:makeRandomCacheEntry (Results 1 – 5 of 5) sorted by relevance
/frameworks/volley/tests/src/com/android/volley/utils/ |
D | CacheTestUtils.java | 17 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/ |
D | CacheDispatcherTest.java | 84 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()
|
D | ResponseDeliveryTest.java | 43 Cache.Entry cacheEntry = CacheTestUtils.makeRandomCacheEntry(data); in setUp()
|
D | RequestQueueTest.java | 191 return Response.success(new Object(), CacheTestUtils.makeRandomCacheEntry(null)); in parseNetworkResponse()
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
D | MockRequest.java | 98 return Response.success(response.data, CacheTestUtils.makeRandomCacheEntry(response.data)); in parseNetworkResponse()
|