Home
last modified time | relevance | path

Searched refs:getResponseCode (Results 1 – 25 of 28) sorted by relevance

12

/external/mockwebserver/src/test/java/com/google/mockwebserver/
DCustomDispatcherTest.java51 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()
DMockWebServerTest.java115 assertEquals(HttpURLConnection.HTTP_OK, connection.getResponseCode()); in testRegularResponse()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java78 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/
DCustomDispatcherTest.java51 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()
DMockWebServerTest.java90 assertEquals(HttpURLConnection.HTTP_OK, connection.getResponseCode()); in regularResponse()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java168 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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverHttp2Test.java46 assertEquals(200, connection.getResponseCode()); in serverSendsPushPromise_GET()
70 assertEquals(200, connection.getResponseCode()); in serverSendsPushPromise_HEAD()
DHttpOverSpdyTest.java102 assertEquals(200, connection.getResponseCode()); in get()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java200 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/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java104 @Override public int getResponseCode() throws IOException { in getResponseCode() method in DelegatingHttpsURLConnection
105 return delegate.getResponseCode(); in getResponseCode()
DHttpURLConnectionImpl.java250 if (getResponseCode() >= HTTP_BAD_REQUEST) { in getInputStream()
537 @Override public final int getResponseCode() throws IOException { in getResponseCode() method in HttpURLConnectionImpl
/external/volley/src/main/java/com/android/volley/toolbox/
DHurlStack.java110 int responseCode = connection.getResponseCode(); in performRequest()
117 connection.getResponseCode(), connection.getResponseMessage()); in performRequest()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DOkUrlFactoryTest.java59 conn.getResponseCode(); in originServerSends407()
190 assertEquals(expected, connection.getResponseCode()); in assertResponseCode()
DUrlConnectionCacheTest.java183 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/
DLogUploader.java61 final int responseCode = urlConnection.getResponseCode(); in loadInBackground()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DExternalSpdyExample.java48 int responseCode = connection.getResponseCode(); in main()
DExternalHttp2Example.java48 int responseCode = connection.getResponseCode(); in main()
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DHttpUrlFetcher.java68 final int statusCode = urlConnection.getResponseCode(); in loadDataWithRedirects()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
DAsyncHttpURLConnection.java97 int responseCode = connection.getResponseCode(); in sendHttpMessage()
/external/replicaisland/src/com/replica/replicaisland/
DEventReporter.java105 final int response = connection.getResponseCode(); in recordEvent()
/external/oauth/core/src/main/java/net/oauth/client/
DURLConnectionResponse.java61 return ((HttpURLConnection) connection).getResponseCode(); in getStatusCode()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/internal/huc/
DURLEncodingTest.java167 connection.getResponseCode(); in backdoorUrlToUri()
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DGithubFeedbackTask.java114 int responseCode = httpURLConnection.getResponseCode(); in sendFeedback()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DRoomParametersFetcher.java178 int responseCode = connection.getResponseCode(); in requestTurnServers()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DHttpFacade.java107 int respCode = urlConnection.getResponseCode(); in httpRequest()

12