/external/volley/src/main/java/com/android/volley/toolbox/ |
D | HurlStack.java | 96 int responseCode = connection.getResponseCode(); in executeRequest() local 97 if (responseCode == -1) { in executeRequest() 103 if (!hasResponseBody(request.getMethod(), responseCode)) { in executeRequest() 104 return new HttpResponse(responseCode, convertHeaders(connection.getHeaderFields())); in executeRequest() 111 responseCode, in executeRequest() 145 private static boolean hasResponseBody(int requestMethod, int responseCode) { in hasResponseBody() argument 147 && !(HTTP_CONTINUE <= responseCode && responseCode < HttpURLConnection.HTTP_OK) in hasResponseBody() 148 && responseCode != HttpURLConnection.HTTP_NO_CONTENT in hasResponseBody() 149 && responseCode != HttpURLConnection.HTTP_NOT_MODIFIED; in hasResponseBody()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | LogUploader.java | 61 final int responseCode = urlConnection.getResponseCode(); in loadInBackground() local 62 if (responseCode / 100 == 2) { in loadInBackground() 65 logger.log("Log upload may have failed. Server return status code " + responseCode); in loadInBackground() 67 return responseCode; in loadInBackground()
|
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
D | Crawler.java | 96 int responseCode = response.code(); in fetch() local 98 System.out.printf("%03d: %s %s%n", responseCode, url, responseSource); in fetch() 101 if (responseCode != 200 || contentType == null) { in fetch()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/ |
D | GithubFeedbackTask.java | 114 int responseCode = httpURLConnection.getResponseCode(); in sendFeedback() local 115 if (responseCode != 201) { in sendFeedback() 116 throw new RuntimeException("Expected HTTP_CREATED (201), obtained " + responseCode); in sendFeedback()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | ExternalSpdyExample.java | 48 int responseCode = connection.getResponseCode(); in main() local 49 System.out.println(responseCode); in main()
|
D | ExternalHttp2Example.java | 48 int responseCode = connection.getResponseCode(); in main() local 49 System.out.println(responseCode); in main()
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | CustomDispatcherTest.java | 86 private Thread buildRequestThread(final String path, final AtomicInteger responseCode) { in buildRequestThread() argument 93 … responseCode.set(conn.getResponseCode()); // Force the connection to hit the "server". in buildRequestThread()
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/ |
D | AsyncHttpURLConnection.java | 97 int responseCode = connection.getResponseCode(); in sendHttpMessage() local 98 if (responseCode != 200) { in sendHttpMessage()
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | CustomDispatcherTest.java | 86 private Thread buildRequestThread(final String path, final AtomicInteger responseCode) { in buildRequestThread() argument 93 responseCode.set(conn.getResponseCode()); // Force the connection to hit the "server". in buildRequestThread()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | HttpEngine.java | 505 int responseCode = response.code(); in hasBody() local 506 if ((responseCode < HTTP_CONTINUE || responseCode >= 200) in hasBody() 507 && responseCode != HTTP_NO_CONTENT in hasBody() 508 && responseCode != HTTP_NOT_MODIFIED) { in hasBody() 909 int responseCode = userResponse.code(); in followUpRequest() local 912 switch (responseCode) { in followUpRequest()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpEngine.java | 494 int responseCode = response.code(); in hasBody() local 495 if ((responseCode < HTTP_CONTINUE || responseCode >= 200) in hasBody() 496 && responseCode != HTTP_NO_CONTENT in hasBody() 497 && responseCode != HTTP_NOT_MODIFIED) { in hasBody() 896 int responseCode = userResponse.code(); in followUpRequest() local 899 switch (responseCode) { in followUpRequest()
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | RoomParametersFetcher.java | 178 int responseCode = connection.getResponseCode(); in requestTurnServers() local 179 if (responseCode != 200) { in requestTurnServers()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CacheTest.java | 156 private void assertCached(boolean shouldPut, int responseCode) throws Exception { in assertCached() argument 161 .setResponseCode(responseCode) in assertCached() 164 if (responseCode == HttpURLConnection.HTTP_PROXY_AUTH) { in assertCached() 166 } else if (responseCode == HttpURLConnection.HTTP_UNAUTHORIZED) { in assertCached() 168 } else if (responseCode == HttpURLConnection.HTTP_NO_CONTENT in assertCached() 169 || responseCode == HttpURLConnection.HTTP_RESET) { in assertCached() 179 assertEquals(responseCode, response.code()); in assertCached() 186 assertNotNull(Integer.toString(responseCode), cached); in assertCached() 189 assertNull(Integer.toString(responseCode), cached); in assertCached() 433 int responseCode, String headerName, String headerValue) throws Exception { in temporaryRedirectCachedWithCachingHeader() argument [all …]
|
D | URLConnectionTest.java | 1519 int responseCode = proxy ? 407 : 401; 1523 .setResponseCode(responseCode) 1534 assertEquals(responseCode, connection.getResponseCode());
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 182 private void assertCached(boolean shouldPut, int responseCode) throws Exception { in assertCached() argument 187 .setResponseCode(responseCode) in assertCached() 190 if (responseCode == HttpURLConnection.HTTP_PROXY_AUTH) { in assertCached() 192 } else if (responseCode == HttpURLConnection.HTTP_UNAUTHORIZED) { in assertCached() 200 assertEquals(responseCode, connection.getResponseCode()); in assertCached() 207 assertNotNull(Integer.toString(responseCode), cached); in assertCached() 209 assertNull(Integer.toString(responseCode), cached); in assertCached() 424 int responseCode, String headerName, String headerValue) throws Exception { in temporaryRedirectCachedWithCachingHeader() argument 426 .setResponseCode(responseCode) in temporaryRedirectCachedWithCachingHeader() 442 private void temporaryRedirectNotCachedWithoutCachingHeader(int responseCode) throws Exception { in temporaryRedirectNotCachedWithoutCachingHeader() argument [all …]
|
/external/clang/test/CodeGenObjC/ |
D | debug-info-block-line.m | 51 - (void)sendResponseCode:(TResponseCode)responseCode dataFollows:(BOOL)flag
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 165 private void assertCached(boolean shouldPut, int responseCode) throws Exception { in assertCached() argument 170 .setResponseCode(responseCode) in assertCached() 173 if (responseCode == HttpURLConnection.HTTP_PROXY_AUTH) { in assertCached() 175 } else if (responseCode == HttpURLConnection.HTTP_UNAUTHORIZED) { in assertCached() 183 assertEquals(responseCode, conn.getResponseCode()); in assertCached() 190 assertNotNull(Integer.toString(responseCode), cached); in assertCached() 193 assertNull(Integer.toString(responseCode), cached); in assertCached()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | SmsFacade.java | 600 int responseCode = sendConf.getResponseStatus(); in onReceive() local 601 String responseStatus = getMmsResponseStatus(responseCode); in onReceive() 603 if (responseCode == PduHeaders.RESPONSE_STATUS_OK) { in onReceive()
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/ |
D | SRWebSocket.m | 442 NSInteger responseCode = CFHTTPMessageGetResponseStatusCode(_receivedHTTPHeaders); 444 if (responseCode >= 400) { 445 SRFastLog(@"Request failed with response code %d", responseCode); 446 …eceived bad response code from server %ld", (long)responseCode], SRHTTPResponseErrorKey:@(response…
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 440 throw new HttpRetryException("Cannot retry streamed HTTP body", responseCode); in getResponse()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 436 throw new HttpRetryException("Cannot retry streamed HTTP body", responseCode); in getResponse()
|