/external/downloader/src/main/java/com/google/android/downloader/ |
D | PlatformUrlEngine.java | 142 int httpResponseCode = getResponseCode(urlConnection); in send() 186 public int getResponseCode() { in getResponseCode() method in PlatformUrlResponse 259 private static int getResponseCode(URLConnection urlConnection) throws IOException { 263 int httpResponseCode = httpUrlConnection.getResponseCode();
|
D | UrlResponse.java | 36 int getResponseCode(); in getResponseCode() method
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/network/ |
D | NetworkFetcher.java | 96 …if (connection.getErrorStream() != null || connection.getResponseCode() != HttpURLConnection.HTTP_… in fetchFromNetworkInternal() 98 …ntException("Unable to fetch " + url + ". Failed with " + connection.getResponseCode() + "\n" + er… in fetchFromNetworkInternal() 112 int responseCode = connection.getResponseCode(); in getErrorFromConnection()
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | HurlStackTest.java | 226 when(mMockConnection.getResponseCode()).thenThrow(new SocketTimeoutException()); in executeRequestClosesConnection_connectionError() 238 when(mMockConnection.getResponseCode()).thenReturn(-1); in executeRequestClosesConnection_invalidResponseCode() 250 when(mMockConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_NO_CONTENT); in executeRequestClosesConnection_noResponseBody() 257 when(mMockConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_OK); in executeRequestClosesConnection_hasResponseBody() 288 when(mMockConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_OK); in interceptResponseStream()
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | CustomDispatcherTest.java | 51 conn.getResponseCode(); // Force the connection to hit the "server". in testSimpleDispatch() 93 … responseCode.set(conn.getResponseCode()); // Force the connection to hit the "server". in buildRequestThread()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | ExcludedProxyTest.java | 78 conn2.getResponseCode(); in test_usingProxy() 101 conn4.getResponseCode(); in test_usingProxy() 180 conn.getResponseCode(); in test_openConnectionLjava_net_Proxy()
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | CustomDispatcherTest.java | 51 conn.getResponseCode(); // Force the connection to hit the "server". in simpleDispatch() 93 responseCode.set(conn.getResponseCode()); // Force the connection to hit the "server". in buildRequestThread()
|
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
D | ServiceConnectionSE.java | 104 public int getResponseCode() throws IOException { in getResponseCode() method in ServiceConnectionSE 105 return connection.getResponseCode(); in getResponseCode()
|
D | HttpsServiceConnectionSE.java | 113 public int getResponseCode() throws IOException { in getResponseCode() method in HttpsServiceConnectionSE 114 return connection.getResponseCode(); in getResponseCode()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | URLConnectionTest.java | 168 connection.getResponseCode(); in requestHeaders() 208 assertEquals(200, connection.getResponseCode()); in responseHeaders() 239 connection.getResponseCode(); in serverSendsInvalidResponseHeaders() 250 connection.getResponseCode(); in serverSendsInvalidCodeTooLarge() 261 connection.getResponseCode(); in serverSendsInvalidCodeNotANumber() 272 connection.getResponseCode(); in serverSendsUnnecessaryWhitespace() 492 assertEquals(200, conn.getResponseCode()); in doUpload() 509 assertEquals(200, conn.getResponseCode()); in getResponseCodeNoResponseBody() 630 connection.getResponseCode(); in connectViaHttpsWithSSLFallbackFailuresRecorded() 756 connection.getResponseCode(); in testConnectViaSocketFactory() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverHttp2Test.java | 46 assertEquals(200, connection.getResponseCode()); in serverSendsPushPromise_GET() 70 assertEquals(200, connection.getResponseCode()); in serverSendsPushPromise_HEAD()
|
/external/downloader/src/test/java/com/google/android/downloader/ |
D | DataUrlEngineTest.java | 73 assertThat(response.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK); in executeRequest() 101 assertThat(response.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK); in executeRequest_writeError()
|
D | MockWebServerUrlEngineTestHelper.java | 95 assertThat(response.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK); in executeRequest_normalResponse_succeeds() 139 assertThat(response.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK); in executeRequest_responseThrottled_succeeds() 187 assertThat(response.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK); in executeRequest_largeResponse_succeeds() 278 assertThat(response.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK); in executeRequest_writeError_failsInternalError()
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/ |
D | ServiceConnection.java | 63 public int getResponseCode() throws IOException; in getResponseCode() method
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 200 assertEquals(responseCode, connection.getResponseCode()); in assertCached() 251 assertEquals(200, urlConnection.getResponseCode()); in testResponseCaching() 1163 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in assertClientSuppliedCondition() 1210 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in clientSuppliedConditionWithoutCachedResult() 1609 assertEquals(HttpURLConnection.HTTP_OK, connection2.getResponseCode()); in conditionalHitDoesNotUpdateCache() 1722 assertEquals(HttpURLConnection.HTTP_OK, connection1.getResponseCode()); in assertConditionallyCached() 1726 assertEquals(HttpURLConnection.HTTP_OK, connection2.getResponseCode()); in assertConditionallyCached() 1732 assertEquals(HttpURLConnection.HTTP_OK, connection3.getResponseCode()); in assertConditionallyCached() 1736 assertEquals(HttpURLConnection.HTTP_OK, connection4.getResponseCode()); in assertConditionallyCached() 1810 InputStream in = httpConnection.getResponseCode() < HttpURLConnection.HTTP_BAD_REQUEST in readAscii() [all …]
|
/external/opencensus-java/contrib/monitored_resource_util/src/main/java/io/opencensus/contrib/monitoredresource/util/ |
D | GcpMetadataConfig.java | 74 if (connection.getResponseCode() == 200) { in getAttribute()
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
D | DelegatingHttpsURLConnection.java | 105 @Override public int getResponseCode() throws IOException { in getResponseCode() method in DelegatingHttpsURLConnection 106 return delegate.getResponseCode(); in getResponseCode()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | DelegatingHttpsURLConnection.java | 104 @Override public int getResponseCode() throws IOException { in getResponseCode() method in DelegatingHttpsURLConnection 105 return delegate.getResponseCode(); in getResponseCode()
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | OkUrlFactoryTest.java | 59 conn.getResponseCode(); in originServerSends407() 190 assertEquals(expected, connection.getResponseCode()); in assertResponseCode()
|
D | UrlConnectionCacheTest.java | 183 assertEquals(responseCode, conn.getResponseCode()); in assertCached() 237 assertEquals(200, urlConnection.getResponseCode()); in testResponseCaching() 1033 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in assertClientSuppliedCondition() 1097 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in clientSuppliedConditionWithoutCachedResult() 1527 assertEquals(HttpURLConnection.HTTP_OK, connection2.getResponseCode()); in conditionalHitUpdatesCache() 1705 assertEquals(HttpURLConnection.HTTP_OK, connection1.getResponseCode()); in assertConditionallyCached() 1709 assertEquals(HttpURLConnection.HTTP_OK, connection2.getResponseCode()); in assertConditionallyCached() 1715 assertEquals(HttpURLConnection.HTTP_OK, connection3.getResponseCode()); in assertConditionallyCached() 1719 assertEquals(HttpURLConnection.HTTP_OK, connection4.getResponseCode()); in assertConditionallyCached() 1757 InputStream in = httpConnection.getResponseCode() < HttpURLConnection.HTTP_BAD_REQUEST in readAscii() [all …]
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | LogUploader.java | 62 final int responseCode = urlConnection.getResponseCode(); in loadInBackground()
|
/external/opencensus-java/exporters/trace/instana/src/main/java/io/opencensus/exporter/trace/instana/ |
D | InstanaExporterHandler.java | 202 if (connection.getResponseCode() != 200) { in export() 206 Status.UNKNOWN.withDescription("Response " + connection.getResponseCode())); in export()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | ExternalHttp2Example.java | 48 int responseCode = connection.getResponseCode(); in main()
|
D | ExternalSpdyExample.java | 48 int responseCode = connection.getResponseCode(); in main()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | DefaultHttpDataSource.java | 243 public int getResponseCode() { in getResponseCode() method in DefaultHttpDataSource 288 responseCode = connection.getResponseCode(); in open() 464 int responseCode = connection.getResponseCode(); in makeConnection()
|