Searched refs:mNetworkQueue (Results 1 – 4 of 4) sorted by relevance
/external/volley/src/test/java/com/android/volley/ |
D | CacheDispatcherTest.java | 48 private @Mock BlockingQueue<Request<?>> mNetworkQueue; field in CacheDispatcherTest 59 mDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery); in setUp() 99 verify(mNetworkQueue).put(mRequest); in cacheMiss() 126 verify(mNetworkQueue).put(mRequest); in softExpiredCacheHit() 139 verify(mNetworkQueue).put(mRequest); in expiredCacheHit() 151 verify(mNetworkQueue).put(mRequest); in duplicateCacheMiss() 168 verify(mNetworkQueue).put(mRequest); in tripleCacheMiss_networkErrorOnFirst() 173 verify(mNetworkQueue).put(secondRequest); in tripleCacheMiss_networkErrorOnFirst() 176 verify(mNetworkQueue).put(thirdRequest); in tripleCacheMiss_networkErrorOnFirst() 199 verify(mNetworkQueue).put(mRequest); in duplicateSoftExpiredCacheHit_failedRequest() [all …]
|
D | NetworkDispatcherTest.java | 48 private @Mock BlockingQueue<Request<?>> mNetworkQueue; field in NetworkDispatcherTest 60 mDispatcher = new NetworkDispatcher(mNetworkQueue, mNetwork, mCache, mDelivery); in setUp()
|
/external/volley/src/main/java/com/android/volley/ |
D | CacheDispatcher.java | 43 private final BlockingQueue<Request<?>> mNetworkQueue; field in CacheDispatcher 72 mNetworkQueue = networkQueue; in CacheDispatcher() 140 mNetworkQueue.put(request); in processRequest() 150 mNetworkQueue.put(request); in processRequest() 184 mNetworkQueue.put(request); in processRequest() 262 mCacheDispatcher.mNetworkQueue.put(nextInLine); in onNoUsableResponseReceived()
|
D | RequestQueue.java | 104 private final PriorityBlockingQueue<Request<?>> mNetworkQueue = new PriorityBlockingQueue<>(); field in RequestQueue 174 mCacheDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery); in start() 180 new NetworkDispatcher(mNetworkQueue, mNetwork, mCache, mDelivery); in start() 268 mNetworkQueue.add(request); in add()
|