/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 198 URL url = server.getUrl("/"); in assertCached() 239 HttpURLConnection urlConnection = openConnection(server.getUrl("/")); in testResponseCaching() 247 urlConnection = openConnection(server.getUrl("/")); // cached! in testResponseCaching() 265 HttpsURLConnection c1 = (HttpsURLConnection) openConnection(server.getUrl("/")); in secureResponseCaching() 277 HttpsURLConnection c2 = (HttpsURLConnection) openConnection(server.getUrl("/")); // cached! in secureResponseCaching() 302 HttpURLConnection connection = openConnection(server.getUrl("/")); in responseCachingAndRedirects() 305 connection = openConnection(server.getUrl("/")); // cached! in responseCachingAndRedirects() 319 assertEquals("ABC", readAscii(openConnection(server.getUrl("/foo")))); in redirectToCachedResult() 324 assertEquals("ABC", readAscii(openConnection(server.getUrl("/bar")))); in redirectToCachedResult() 330 assertEquals("DEF", readAscii(openConnection(server.getUrl("/baz")))); in redirectToCachedResult() [all …]
|
D | CacheAdapterTest.java | 255 return server.getUrl("/"); in configureServer() 262 return server.getUrl("/"); in configureHttpsServer()
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 181 URL url = server.getUrl("/"); in assertCached() 223 HttpURLConnection urlConnection = client.open(server.getUrl("/")); in testResponseCaching() 233 urlConnection = client.open(server.getUrl("/")); // cached! in testResponseCaching() 254 HttpsURLConnection c1 = (HttpsURLConnection) client.open(server.getUrl("/")); in secureResponseCaching() 266 HttpsURLConnection c2 = (HttpsURLConnection) client.open(server.getUrl("/")); // cached! in secureResponseCaching() 292 HttpURLConnection connection = client.open(server.getUrl("/")); in responseCachingAndRedirects() 295 connection = client.open(server.getUrl("/")); // cached! in responseCachingAndRedirects() 309 assertEquals("ABC", readAscii(client.open(server.getUrl("/foo")))); in redirectToCachedResult() 314 assertEquals("ABC", readAscii(client.open(server.getUrl("/bar")))); in redirectToCachedResult() 320 assertEquals("DEF", readAscii(client.open(server.getUrl("/baz")))); in redirectToCachedResult() [all …]
|
D | OkUrlFactoryTest.java | 57 HttpURLConnection conn = factory.open(server.getUrl("/")); in originServerSends407() 68 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkResponseSourceHeader() 76 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkFailureResponseSourceHeader() 88 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in conditionalCacheHitResponseSourceHeaders() 92 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in conditionalCacheHitResponseSourceHeaders() 104 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in conditionalCacheMissResponseSourceHeaders() 108 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in conditionalCacheMissResponseSourceHeaders() 118 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in cacheResponseSourceHeaders() 122 HttpURLConnection connection2 = factory.open(server.getUrl("/")); in cacheResponseSourceHeaders() 130 HttpURLConnection connection1 = factory.open(server.getUrl("/")); in noneResponseSourceHeaders() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | URLConnectionTest.java | 135 connection = client.open(server.getUrl("/")); in requestHeaders() 194 connection = client.open(server.getUrl("/")); in getRequestPropertyReturnsLastValue() 207 connection = client.open(server.getUrl("/")); in responseHeaders() 237 connection = client.open(server.getUrl("/")); in serverSendsInvalidResponseHeaders() 248 connection = client.open(server.getUrl("/")); in serverSendsInvalidCodeTooLarge() 259 connection = client.open(server.getUrl("/")); in serverSendsInvalidCodeNotANumber() 270 connection = client.open(server.getUrl("/")); in serverSendsUnnecessaryWhitespace() 279 URL url = server.getUrl("/foo"); in connectRetriesUntilConnectedOrFailed() 311 connection = client.open(server.getUrl("/def")); in testRequestBodySurvivesRetries() 322 connection = client.open(server.getUrl("/")); in getErrorStreamOnSuccessfulRequest() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 100 connection = client.open(server.getUrl("/foo")); in get() 114 connection = client.open(server.getUrl("/foo")); in emptyResponse() 123 connection = client.open(server.getUrl("/foo")); in noDefaultContentLengthOnStreamingPost() 138 connection = client.open(server.getUrl("/foo")); in userSuppliedContentLengthHeader() 153 connection = client.open(server.getUrl("/foo")); in closeAfterFlush() 170 connection = client.open(server.getUrl("/foo")); in setFixedLengthStreamingModeSetsContentLength() 186 HttpURLConnection connection1 = client.open(server.getUrl("/r1")); in spdyConnectionReuse() 187 HttpURLConnection connection2 = client.open(server.getUrl("/r2")); in spdyConnectionReuse() 212 assertContent("ABCABCABC", client.open(server.getUrl("/r1")), Integer.MAX_VALUE); in gzippedResponseBody() 222 connection = client.open(server.getUrl("/")); in authenticate() [all …]
|
D | HttpOverHttp2Test.java | 44 connection = client.open(server.getUrl("/foo")); in serverSendsPushPromise_GET() 68 connection = client.open(server.getUrl("/foo")); in serverSendsPushPromise_HEAD() 93 HttpURLConnection settingsConnection = client.open(server.getUrl("/")); in settingsLimitsMaxConcurrentStreams() 100 HttpURLConnection connection1 = client.open(server.getUrl("/")); in settingsLimitsMaxConcurrentStreams() 102 HttpURLConnection connection2 = client.open(server.getUrl("/")); in settingsLimitsMaxConcurrentStreams() 104 HttpURLConnection connection3 = client.open(server.getUrl("/")); in settingsLimitsMaxConcurrentStreams()
|
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 50 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in success() 60 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in redirect() 69 HttpGet request = new HttpGet(server.getUrl("/").toURI()); in sessionExpired() 78 HttpGet request1 = new HttpGet(server.getUrl("/").toURI()); in headers() 84 HttpGet request2 = new HttpGet(server.getUrl("/").toURI()); in headers() 95 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postByteEntity() 108 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postInputStreamEntity() 119 final HttpPost post = new HttpPost(server.getUrl("/").toURI()); in postEmptyEntity() 128 final HttpPut put = new HttpPut(server.getUrl("/").toURI()); in putEmptyEntity() 140 httpPost.setURI(server.getUrl("/").toURI()); in postOverrideContentType() [all …]
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 86 URL url = server.getUrl("/"); in regularResponse() 102 .addHeader("Location: " + server.getUrl("/new-path")) in redirect() 106 URLConnection connection = server.getUrl("/").openConnection(); in redirect() 132 URLConnection connection = server.getUrl("/").openConnection(); in dispatchBlocksWaitingForEnqueue() 144 URLConnection connection = server.getUrl("/").openConnection(); in nonHexadecimalChunkSize() 160 URLConnection urlConnection = server.getUrl("/").openConnection(); in responseTimeout() 172 URLConnection urlConnection2 = server.getUrl("/").openConnection(); in responseTimeout() 188 server.getUrl("/a").openConnection().getInputStream(); in disconnectAtStart() 191 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in disconnectAtStart() 203 URLConnection connection = server.getUrl("/").openConnection(); in throttleRequest() [all …]
|
D | CustomDispatcherTest.java | 49 final URL url = mockWebServer.getUrl("/"); in simpleDispatch() 89 final URL url = mockWebServer.getUrl(path); in buildRequestThread()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | HttpClientStack.java | 108 HttpPost postRequest = new HttpPost(request.getUrl()); in createHttpRequest() 116 return new HttpGet(request.getUrl()); in createHttpRequest() 120 return new HttpGet(request.getUrl()); in createHttpRequest() 122 return new HttpDelete(request.getUrl()); in createHttpRequest() 125 HttpPost postRequest = new HttpPost(request.getUrl()); in createHttpRequest() 132 HttpPut putRequest = new HttpPut(request.getUrl()); in createHttpRequest() 138 return new HttpHead(request.getUrl()); in createHttpRequest() 140 return new HttpOptions(request.getUrl()); in createHttpRequest() 142 return new HttpTrace(request.getUrl()); in createHttpRequest() 145 HttpPatch patchRequest = new HttpPatch(request.getUrl()); in createHttpRequest()
|
D | BasicNetwork.java | 175 throw new RuntimeException("Bad URL " + request.getUrl(), e); in performRequest() 183 VolleyLog.e("Unexpected response code %d for %s", statusCode, request.getUrl()); in performRequest()
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 110 URL url = server.getUrl("/"); in testRegularResponse() 127 .addHeader("Location: " + server.getUrl("/new-path")) in testRedirect() 131 URLConnection connection = server.getUrl("/").openConnection(); in testRedirect() 159 URLConnection connection = server.getUrl("/").openConnection(); in testDispatchBlocksWaitingForEnqueue() 172 URLConnection connection = server.getUrl("/").openConnection(); in testNonHexadecimalChunkSize() 190 URLConnection urlConnection = server.getUrl("/").openConnection(); in testResponseTimeout() 202 URLConnection urlConnection2 = server.getUrl("/").openConnection(); in testResponseTimeout() 219 server.getUrl("/a").openConnection().getInputStream(); in testDisconnectAtStart() 223 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in testDisconnectAtStart() 231 InputStream in = server.getUrl("/").openConnection().getInputStream(); in testStreamingResponseBody()
|
D | CustomDispatcherTest.java | 49 final URL url = mockWebServer.getUrl("/"); in testSimpleDispatch() 89 final URL url = mockWebServer.getUrl(path); in buildRequestThread()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowWebViewTest.java | 204 public void getUrl() throws Exception { in getUrl() method in ShadowWebViewTest 206 assertThat(webView.getUrl()).isNull(); in getUrl() 208 assertThat(webView.getUrl()).isEqualTo("fake.url"); in getUrl() 260 assertThat(newWebView.getUrl()).isEqualTo("foo2.bar"); in shouldSaveAndRestoreHistoryList() 263 assertThat(historyList.getCurrentItem().getUrl()).isEqualTo("foo2.bar"); in shouldSaveAndRestoreHistoryList() 275 assertThat(historyList.getCurrentItem().getUrl()).isEqualTo("foo2.bar"); in shouldReturnHistoryFromSaveState() 303 assertThat(historyList.getCurrentItem().getUrl()).isEqualTo("foo2.bar"); in shouldCopyBackForwardListWhenPopulated()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/ |
D | BaseGlideUrlLoader.java | 49 String stringURL = getUrl(model, width, height); in getResourceFetcher() 72 protected abstract String getUrl(T model, int width, int height); in getUrl() method in BaseGlideUrlLoader
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | DisconnectTest.java | 81 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptWritingRequestBody() 108 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptReadingResponseBody()
|
D | ThreadInterruptTest.java | 85 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptWritingRequestBody() 112 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptReadingResponseBody()
|
/external/volley/src/main/java/com/android/volley/ |
D | Request.java | 290 public String getUrl() { in getUrl() method in Request 296 String url = getUrl(); in getCacheKey() 686 + getUrl() in toString()
|
/external/tensorflow/tensorflow/lite/examples/ios/simple/ |
D | RunModelViewController.h | 19 - (IBAction)getUrl:(id)sender;
|
/external/tensorflow/tensorflow/examples/ios/simple/ |
D | RunModelViewController.h | 19 - (IBAction)getUrl:(id)sender;
|
/external/tensorflow/tensorflow/examples/ios/benchmark/ |
D | BenchmarkViewController.h | 19 - (IBAction)getUrl:(id)sender;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue10/ |
D | JDBCDataSource.java | 49 public String getUrl() { in getUrl() method in JDBCDataSource
|
/external/volley/src/test/java/com/android/volley/mock/ |
D | MockHttpStack.java | 65 mLastUrl = request.getUrl(); in executeRequest()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
D | MediaPlayerFacade.java | 95 private String getUrl(String tag) { in getUrl() method in MediaPlayerFacade 234 result.put("url", getUrl(tag)); in mediaPlayGetInfo()
|