/external/volley/src/test/java/com/android/volley/ |
D | RequestQueueTest.java | 53 RequestQueue queue = new RequestQueue(new NoCache(), mMockNetwork, 0, mDelivery); in cancelAll_onlyCorrectTag() 79 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in add_notifiesListener() 80 RequestQueue queue = new RequestQueue(new NoCache(), mMockNetwork, 0, mDelivery); in add_notifiesListener() 86 verify(listener).onRequestEvent(req, RequestQueue.RequestEvent.REQUEST_QUEUED); in add_notifiesListener() 92 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in finish_notifiesListener() 93 RequestQueue queue = new RequestQueue(new NoCache(), mMockNetwork, 0, mDelivery); in finish_notifiesListener() 99 verify(listener).onRequestEvent(req, RequestQueue.RequestEvent.REQUEST_FINISHED); in finish_notifiesListener() 106 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in sendRequestEvent_notifiesListener() 107 RequestQueue queue = new RequestQueue(new NoCache(), mMockNetwork, 0, mDelivery); in sendRequestEvent_notifiesListener() 110 queue.sendRequestEvent(req, RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_STARTED); in sendRequestEvent_notifiesListener() [all …]
|
D | NetworkDispatcherTest.java | 79 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in successNotifiesListener() 80 RequestQueue queue = new RequestQueue(new NoCache(), mNetwork, 0, mDelivery); in successNotifiesListener() 92 mRequest, RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_STARTED); in successNotifiesListener() 95 mRequest, RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_FINISHED); in successNotifiesListener() 110 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in exceptionNotifiesListener() 111 RequestQueue queue = new RequestQueue(new NoCache(), mNetwork, 0, mDelivery); in exceptionNotifiesListener() 122 mRequest, RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_STARTED); in exceptionNotifiesListener() 125 mRequest, RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_FINISHED); in exceptionNotifiesListener()
|
D | RequestQueueIntegrationTest.java | 27 import com.android.volley.RequestQueue.RequestFinishedListener; 89 RequestQueue queue = new RequestQueue(new NoCache(), mMockNetwork, 1, mDelivery); in add_requestProcessedInCorrectOrder() 124 RequestQueue queue = new RequestQueue(new NoCache(), mMockNetwork, 3, mDelivery); in add_dedupeByCacheKey() 152 RequestQueue queue = new RequestQueue(new NoCache(), mMockNetwork, 1, mDelivery); in add_requestFinishedListenerCanceled() 169 RequestQueue queue = new RequestQueue(new NoCache(), mMockNetwork, 1, mDelivery); in add_requestFinishedListenerSuccess() 186 RequestQueue queue = new RequestQueue(new NoCache(), mMockNetwork, 1, mDelivery); in add_requestFinishedListenerError()
|
D | RequestTest.java | 209 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); 210 RequestQueue queue = new RequestQueue(new NoCache(), mNetwork, 0, mDelivery); 225 request.sendEvent(RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_STARTED); 229 request, RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_STARTED);
|
D | CacheDispatcherTest.java | 241 RequestQueue.RequestEventListener listener = mock(RequestQueue.RequestEventListener.class); in processRequestNotifiesListener() 242 RequestQueue queue = new RequestQueue(mCache, mNetwork, 0, mDelivery); in processRequestNotifiesListener() 252 .onRequestEvent(mRequest, RequestQueue.RequestEvent.REQUEST_CACHE_LOOKUP_STARTED); in processRequestNotifiesListener() 254 .onRequestEvent(mRequest, RequestQueue.RequestEvent.REQUEST_CACHE_LOOKUP_FINISHED); in processRequestNotifiesListener()
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | RequestQueueTest.java | 24 import com.android.volley.RequestQueue; 37 RequestQueue.class.getConstructor( in publicMethods() 39 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class)); in publicMethods() 40 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class)); in publicMethods() 42 assertNotNull(RequestQueue.class.getMethod("start")); in publicMethods() 43 assertNotNull(RequestQueue.class.getMethod("stop")); in publicMethods() 44 assertNotNull(RequestQueue.class.getMethod("getSequenceNumber")); in publicMethods() 45 assertNotNull(RequestQueue.class.getMethod("getCache")); in publicMethods() 46 assertNotNull(RequestQueue.class.getMethod("cancelAll", RequestQueue.RequestFilter.class)); in publicMethods() 47 assertNotNull(RequestQueue.class.getMethod("cancelAll", Object.class)); in publicMethods() [all …]
|
D | ImageLoaderTest.java | 31 import com.android.volley.RequestQueue; 41 private RequestQueue mRequestQueue; 47 mRequestQueue = mock(RequestQueue.class); in setUp() 89 ImageLoader.class.getConstructor(RequestQueue.class, ImageLoader.ImageCache.class)); in publicMethods()
|
D | RequestTest.java | 24 import com.android.volley.RequestQueue; 50 assertNotNull(Request.class.getMethod("setRequestQueue", RequestQueue.class)); in publicMethods()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | Volley.java | 25 import com.android.volley.RequestQueue; 40 public static RequestQueue newRequestQueue(Context context, BaseHttpStack stack) { in newRequestQueue() 81 public static RequestQueue newRequestQueue(Context context, HttpStack stack) { in newRequestQueue() 88 private static RequestQueue newRequestQueue(Context context, Network network) { in newRequestQueue() 90 RequestQueue queue = new RequestQueue(new DiskBasedCache(cacheDir), network); in newRequestQueue() 101 public static RequestQueue newRequestQueue(Context context) { in newRequestQueue()
|
D | ImageLoader.java | 24 import com.android.volley.RequestQueue; 44 private final RequestQueue mRequestQueue; 84 public ImageLoader(RequestQueue queue, ImageCache imageCache) { in ImageLoader()
|
/external/apache-http/android/src/android/net/http/ |
D | RequestQueue.java | 43 public class RequestQueue implements RequestFeeder { class 80 mContext, i, this, RequestQueue.this); in ActivePool() 97 synchronized (RequestQueue.this) { in startConnectionThread() 98 RequestQueue.this.notify(); in startConnectionThread() 154 synchronized(RequestQueue.this) { in getThread() 167 host = RequestQueue.this.determineHost(host); in getConnection() 172 RequestQueue.this); in getConnection() 191 public RequestQueue(Context context) { in RequestQueue() method in RequestQueue 205 public RequestQueue(Context context, int connectionCount) { in RequestQueue() method in RequestQueue
|
D | ConnectionThread.java | 36 private RequestQueue.ConnectionManager mConnectionManager; 44 RequestQueue.ConnectionManager connectionManager, in ConnectionThread()
|
D | RequestHandle.java | 42 private RequestQueue mRequestQueue; 58 public RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, in RequestHandle() 82 public RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, in RequestHandle()
|
/external/volley/src/main/java/com/android/volley/ |
D | RequestQueue.java | 38 public class RequestQueue { class 137 public RequestQueue( in RequestQueue() method in RequestQueue 152 public RequestQueue(Cache cache, Network network, int threadPoolSize) { in RequestQueue() method in RequestQueue 166 public RequestQueue(Cache cache, Network network) { in RequestQueue() method in RequestQueue
|
D | NetworkDispatcher.java | 117 request.sendEvent(RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_STARTED); in processRequest() 169 request.sendEvent(RequestQueue.RequestEvent.REQUEST_NETWORK_DISPATCH_FINISHED); in processRequest()
|
D | Request.java | 93 private RequestQueue mRequestQueue; 254 void sendEvent(@RequestQueue.RequestEvent int event) { in sendEvent() 266 public Request<?> setRequestQueue(RequestQueue requestQueue) { in setRequestQueue()
|
D | CacheDispatcher.java | 125 request.sendEvent(RequestQueue.RequestEvent.REQUEST_CACHE_LOOKUP_STARTED); in processRequest() 198 request.sendEvent(RequestQueue.RequestEvent.REQUEST_CACHE_LOOKUP_FINISHED); in processRequest()
|
/external/apache-http/api/ |
D | current.txt | 238 …ctor public RequestHandle(android.net.http.RequestQueue, String, android.net.compatibility.WebAddr… 239 …ctor public RequestHandle(android.net.http.RequestQueue, String, android.net.compatibility.WebAddr… 257 public class RequestQueue { 258 ctor public RequestQueue(android.content.Context); 259 ctor public RequestQueue(android.content.Context, int);
|