Searched refs:mNetwork (Results 1 – 5 of 5) sorted by relevance
/external/volley/src/test/java/com/android/volley/ |
D | NetworkDispatcherTest.java | 49 private @Mock Network mNetwork; field in NetworkDispatcherTest 60 mDispatcher = new NetworkDispatcher(mNetworkQueue, mNetwork, mCache, mDelivery); in setUp() 65 when(mNetwork.performRequest(any(Request.class))) in successPostsResponse() 80 RequestQueue queue = new RequestQueue(new NoCache(), mNetwork, 0, mDelivery); in successNotifiesListener() 84 when(mNetwork.performRequest(any(Request.class))) in successNotifiesListener() 101 when(mNetwork.performRequest(any(Request.class))).thenThrow(new ServerError()); in exceptionPostsError() 111 RequestQueue queue = new RequestQueue(new NoCache(), mNetwork, 0, mDelivery); in exceptionNotifiesListener() 115 when(mNetwork.performRequest(any(Request.class))).thenThrow(new ServerError()); in exceptionNotifiesListener() 138 when(mNetwork.performRequest(any(Request.class))) in shouldCacheTrue()
|
D | RequestTest.java | 41 private @Mock Network mNetwork; field in RequestTest 210 RequestQueue queue = new RequestQueue(new NoCache(), mNetwork, 0, mDelivery);
|
D | CacheDispatcherTest.java | 51 private @Mock Network mNetwork; field in CacheDispatcherTest 242 RequestQueue queue = new RequestQueue(mCache, mNetwork, 0, mDelivery); in processRequestNotifiesListener()
|
/external/volley/src/main/java/com/android/volley/ |
D | NetworkDispatcher.java | 40 private final Network mNetwork; field in NetworkDispatcher 63 mNetwork = network; in NetworkDispatcher() 132 NetworkResponse networkResponse = mNetwork.performRequest(request); in processRequest()
|
D | RequestQueue.java | 113 private final Network mNetwork; field in RequestQueue 140 mNetwork = network; in RequestQueue() 180 new NetworkDispatcher(mNetworkQueue, mNetwork, mCache, mDelivery); in start()
|