HomeSort by relevance Sort by last modified time
    Searched defs:responseCode (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /libcore/ojluni/src/main/java/java/net/
HttpRetryException.java 42 private int responseCode;
54 responseCode = code;
59 * responseCode and the contents of the Location response header field.
67 responseCode = code;
76 public int responseCode() {
77 return responseCode;
HttpURLConnection.java 488 protected int responseCode = -1;
675 if (responseCode != -1) {
676 return responseCode;
729 responseCode = Integer.parseInt
731 return responseCode;
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
ExternalHttp2Example.java 48 int responseCode = connection.getResponseCode();
49 System.out.println(responseCode);
ExternalSpdyExample.java 48 int responseCode = connection.getResponseCode();
49 System.out.println(responseCode);
  /external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
LogUploader.java 61 final int responseCode = urlConnection.getResponseCode();
62 if (responseCode / 100 == 2) {
65 logger.log("Log upload may have failed. Server return status code " + responseCode);
67 return responseCode;
  /frameworks/base/core/java/com/android/internal/widget/
VerifyCredentialResponse.java 47 int responseCode = source.readInt();
48 VerifyCredentialResponse response = new VerifyCredentialResponse(responseCode, 0, null);
49 if (responseCode == RESPONSE_RETRY) {
51 } else if (responseCode == RESPONSE_OK) {
86 private VerifyCredentialResponse(int responseCode, int timeout, byte[] payload) {
87 mResponseCode = responseCode;
137 int responseCode = gateKeeperResponse.getResponseCode();
138 if (responseCode == GateKeeperResponse.RESPONSE_RETRY) {
140 } else if (responseCode == GateKeeperResponse.RESPONSE_OK) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
BlockingHttpClient.java 80 final int responseCode = mConnection.getResponseCode();
81 if (responseCode != HttpURLConnection.HTTP_OK) {
82 Log.w(TAG, "Response error: " + responseCode + ", Message: "
84 if (responseCode == HttpURLConnection.HTTP_UNAUTHORIZED) {
87 throw new HttpException(responseCode);
  /development/samples/training/threadsample/src/com/example/android/threadsample/
RSSPullService.java 167 int responseCode = localHttpURLConnection.getResponseCode();
169 switch (responseCode) {
  /external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/
Crawler.java 96 int responseCode = response.code();
98 System.out.printf("%03d: %s %s%n", responseCode, url, responseSource);
101 if (responseCode != 200 || contentType == null) {
  /external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
GithubFeedbackTask.java 114 int responseCode = httpURLConnection.getResponseCode();
115 if (responseCode != 201) {
116 throw new RuntimeException("Expected HTTP_CREATED (201), obtained " + responseCode);
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
AsyncHttpURLConnection.java 97 int responseCode = connection.getResponseCode();
98 if (responseCode != 200) {
  /developers/build/prebuilts/gradle/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/
NetworkFragment.java 237 int responseCode = connection.getResponseCode();
238 if (responseCode != HttpsURLConnection.HTTP_OK) {
239 throw new IOException("HTTP error code: " + responseCode);
  /developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/
NetworkFragment.java 237 int responseCode = connection.getResponseCode();
238 if (responseCode != HttpsURLConnection.HTTP_OK) {
239 throw new IOException("HTTP error code: " + responseCode);
  /development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
NetworkFragment.java 237 int responseCode = connection.getResponseCode();
238 if (responseCode != HttpsURLConnection.HTTP_OK) {
239 throw new IOException("HTTP error code: " + responseCode);
  /external/volley/src/main/java/com/android/volley/toolbox/
HurlStack.java 110 int responseCode = connection.getResponseCode();
111 if (responseCode == -1) {
135 * @param responseCode response status code
138 private static boolean hasResponseBody(int requestMethod, int responseCode) {
140 && !(HttpStatus.SC_CONTINUE <= responseCode && responseCode < HttpStatus.SC_OK)
141 && responseCode != HttpStatus.SC_NO_CONTENT
142 && responseCode != HttpStatus.SC_NOT_MODIFIED;
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
RoomParametersFetcher.java 178 int responseCode = connection.getResponseCode();
179 if (responseCode != 200) {
  /frameworks/base/obex/javax/obex/
HeaderSet.java 246 public int responseCode;
257 responseCode = -1;
704 if (responseCode == -1) {
707 return responseCode;
  /packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
HttpFetcher.java 74 int responseCode = conn.getResponseCode();
75 LogUtil.i("HttpFetcher.sendRequestAsByteArray", "response code: " + responseCode);
77 if (responseCode / 100 == 2) {
94 if (responseCode == 401) {
134 int responseCode = httpUrlConnection.getResponseCode();
135 LogUtil.i("HttpFetcher.sendRequestAsInputStream", "response code: " + responseCode);
137 if (responseCode == 401) {
139 } else if (responseCode / 100 == 2) { // All 2xx codes are successful.
  /tools/tradefederation/core/src/com/android/tradefed/result/
JsonHttpTestResultReporter.java 132 int responseCode = conn.getResponseCode();
133 if (responseCode < 200 || responseCode >= 300) {
135 CLog.e("Posting failure. code: %d, response: %s", responseCode, response);
  /external/tpm2/
SessionProcess.c     [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
ImapConnection.java 394 final String responseCode = response.getResponseCodeOrEmpty().getString();
396 throw new ImapException(toString, status, statusMessage, alert, responseCode);
  /frameworks/base/tests/CoreTests/android/core/
TestEventHandler.java 37 private int responseCode = -1;
174 responseCode = code;
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMnsObexClient.java 392 int responseCode = -1;
399 return responseCode;
480 responseCode = putOperation.getResponseCode();
481 if (responseCode != -1) {
482 if (V) Log.v(TAG, "Put response code " + responseCode);
483 if (responseCode != ResponseCodes.OBEX_HTTP_OK) {
484 Log.i(TAG, "Response error code is " + responseCode);
496 return responseCode;
  /packages/apps/Email/provider_src/com/android/email/mail/store/
ImapConnection.java 349 final String responseCode = response.getResponseCodeOrEmpty().getString();
353 if (ImapConstants.UNAVAILABLE.equals(responseCode)) {
357 throw new ImapException(toString, status, alert, responseCode);
571 final String responseCode = response.getResponseCodeOrEmpty().getString();
572 if (ImapConstants.UNAVAILABLE.equals(responseCode)) {
  /packages/apps/Messaging/src/android/support/v7/mms/
MmsHttpClient.java 185 final int responseCode = connection.getResponseCode();
187 Log.d(MmsService.TAG, "HTTP: " + responseCode + " " + responseMessage);
191 if (responseCode / 100 != 2) {
192 throw new MmsHttpException(responseCode, responseMessage);

Completed in 785 milliseconds

1 2 3 4