/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | DefaultHttpDataSource.java | 89 private int responseCode; field in DefaultHttpDataSource 244 return connection == null || responseCode <= 0 ? -1 : responseCode; in getResponseCode() 288 responseCode = connection.getResponseCode(); in open() 297 if (responseCode < 200 || responseCode > 299) { in open() 301 new InvalidResponseCodeException(responseCode, responseMessage, headers, dataSpec); in open() 302 if (responseCode == 416) { in open() 318 bytesToSkip = responseCode == 200 && dataSpec.position != 0 ? dataSpec.position : 0; in open() 464 int responseCode = connection.getResponseCode(); in makeConnection() local 467 && (responseCode == HttpURLConnection.HTTP_MULT_CHOICE in makeConnection() 468 || responseCode == HttpURLConnection.HTTP_MOVED_PERM in makeConnection() [all …]
|
D | DefaultLoadErrorHandlingPolicy.java | 71 int responseCode = ((InvalidResponseCodeException) exception).responseCode; in getBlacklistDurationMsFor() local 72 return responseCode == 404 // HTTP 404 Not Found. in getBlacklistDurationMsFor() 73 || responseCode == 410 // HTTP 410 Gone. in getBlacklistDurationMsFor() 74 || responseCode == 416 // HTTP 416 Range Not Satisfiable. in getBlacklistDurationMsFor()
|
/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/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/upstream/ |
D | HttpDataSource.java | 299 public final int responseCode; field in HttpDataSource.InvalidResponseCodeException 312 int responseCode, Map<String, List<String>> headerFields, DataSpec dataSpec) { in InvalidResponseCodeException() argument 313 this(responseCode, /* responseMessage= */ null, headerFields, dataSpec); in InvalidResponseCodeException() 317 int responseCode, in InvalidResponseCodeException() argument 321 super("Response code: " + responseCode, dataSpec, TYPE_OPEN); in InvalidResponseCodeException() 322 this.responseCode = responseCode; in InvalidResponseCodeException()
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/ |
D | PresenceSubscriber.java | 302 private int translateResponseCode(int responseCode, String reasonPhrase) { in translateResponseCode() argument 304 logger.debug("translateResponseCode getSipResponseCode=" +responseCode); in translateResponseCode() 307 if(responseCode < 100 || responseCode > 699){ in translateResponseCode() 308 logger.debug("internal error code sipCode=" + responseCode); in translateResponseCode() 313 switch(responseCode){ in translateResponseCode() 380 public void onSipResponse(int requestId, int responseCode, String reasonPhrase) { in onSipResponse() argument 386 if(isInConfigList(responseCode, reasonPhrase, in onSipResponse() 388 logger.print("volte provision sipCode=" + responseCode + " phrase=" + reasonPhrase); in onSipResponse() 394 } else if(isInConfigList(responseCode, reasonPhrase, in onSipResponse() 396 logger.print("rcs proRcsPresence.vision sipCode=" + responseCode + " phrase=" in onSipResponse() [all …]
|
D | PresencePublication.java | 1040 public void onSipResponse(int requestId, int responseCode, String reasonPhrase) { in onSipResponse() argument 1041 logger.print( "Publish response code = " + responseCode in onSipResponse() 1049 if (isInConfigList(responseCode, reasonPhrase, in onSipResponse() 1051 logger.print("volte provision error. sipCode=" + responseCode + " phrase=" + in onSipResponse() 1061 if (isInConfigList(responseCode, reasonPhrase, mConfigRcsProvisionErrorOnPublishResponse)) { in onSipResponse() 1062 logger.print("rcs provision error.sipCode=" + responseCode + " phrase=" + reasonPhrase); in onSipResponse() 1069 switch (responseCode) { in onSipResponse() 1085 if ((responseCode < 100) || (responseCode > 699)) { in onSipResponse() 1086 logger.debug("Ignore internal response code, sipCode=" + responseCode); in onSipResponse() 1091 if(responseCode == 888) { in onSipResponse() [all …]
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | LogUploader.java | 62 final int responseCode = urlConnection.getResponseCode(); in loadInBackground() local 63 if (responseCode / 100 == 2) { in loadInBackground() 66 logger.log("Log upload may have failed. Server return status code " + responseCode); in loadInBackground() 68 return responseCode; in loadInBackground()
|
/external/exoplayer/tree/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/ |
D | CronetDataSource.java | 448 int responseCode = responseInfo.getHttpStatusCode(); in open() local 449 if (responseCode < 200 || responseCode > 299) { in open() 452 responseCode, in open() 456 if (responseCode == 416) { in open() 475 bytesToSkip = responseCode == 200 && dataSpec.position != 0 ? dataSpec.position : 0; in open() 898 int responseCode = info.getHttpStatusCode(); in onRedirectReceived() local 900 if (responseCode == 307 || responseCode == 308) { in onRedirectReceived() 903 responseCode, info.getHttpStatusText(), info.getAllHeaders(), dataSpec); in onRedirectReceived()
|
/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/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/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/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/exoplayer/tree/extensions/okhttp/src/main/java/com/google/android/exoplayer2/ext/okhttp/ |
D | OkHttpDataSource.java | 229 int responseCode = response.code(); in open() local 236 new InvalidResponseCodeException(responseCode, response.message(), headers, dataSpec); in open() 237 if (responseCode == 416) { in open() 254 bytesToSkip = responseCode == 200 && dataSpec.position != 0 ? dataSpec.position : 0; in open()
|
/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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/ |
D | HttpMediaDrmCallback.java | 163 (e.responseCode == 307 || e.responseCode == 308) in executePost()
|
/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 …]
|
/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 | 604 int responseCode = sendConf.getResponseStatus(); in onReceive() local 605 String responseStatus = getMmsResponseStatus(responseCode); in onReceive() 607 if (responseCode == PduHeaders.RESPONSE_STATUS_OK) { in onReceive()
|