/external/volley/src/test/java/com/android/volley/toolbox/ |
D | HurlStackTest.java | 200 when(mMockConnection.getResponseCode()).thenThrow(new SocketTimeoutException()); in executeRequestClosesConnection_connectionError() 212 when(mMockConnection.getResponseCode()).thenReturn(-1); in executeRequestClosesConnection_invalidResponseCode() 224 when(mMockConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_NO_CONTENT); in executeRequestClosesConnection_noResponseBody() 231 when(mMockConnection.getResponseCode()).thenReturn(HttpURLConnection.HTTP_OK); in executeRequestClosesConnection_hasResponseBody()
|
/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/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/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() 487 assertEquals(200, conn.getResponseCode()); in doUpload() 504 assertEquals(200, conn.getResponseCode()); in getResponseCodeNoResponseBody() 625 connection.getResponseCode(); in connectViaHttpsWithSSLFallbackFailuresRecorded() 747 connection.getResponseCode(); in testConnectViaSocketFactory() [all …]
|
/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/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/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/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/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/ |
D | ServiceConnection.java | 63 public int getResponseCode() throws IOException; in getResponseCode() method
|
/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/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/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/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/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/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | LogUploader.java | 61 final int responseCode = urlConnection.getResponseCode(); in loadInBackground()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | ExternalSpdyExample.java | 48 int responseCode = connection.getResponseCode(); in main()
|
D | ExternalHttp2Example.java | 48 int responseCode = connection.getResponseCode(); in main()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
D | HttpUrlFetcher.java | 68 final int statusCode = urlConnection.getResponseCode(); in loadDataWithRedirects()
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/ |
D | AsyncHttpURLConnection.java | 97 int responseCode = connection.getResponseCode(); in sendHttpMessage()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | EventReporter.java | 105 final int response = connection.getResponseCode(); in recordEvent()
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | URLConnectionResponse.java | 61 return ((HttpURLConnection) connection).getResponseCode(); in getStatusCode()
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/internal/huc/ |
D | URLEncodingTest.java | 167 connection.getResponseCode(); in backdoorUrlToUri()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/ |
D | GithubFeedbackTask.java | 114 int responseCode = httpURLConnection.getResponseCode(); in sendFeedback()
|