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

1 2

  /libcore/luni/src/main/java/java/net/
HttpRetryException.java 29 private int responseCode;
44 responseCode = code;
61 responseCode = code;
88 public int responseCode() {
89 return responseCode;
HttpURLConnection.java 292 protected int responseCode = -1;
626 responseCode = Integer.parseInt(response.substring(mark, last));
630 return responseCode;
  /frameworks/base/obex/javax/obex/
ClientOperation.java 143 if ((mOperationDone) && (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE)) {
148 if ((!mOperationDone) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
156 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_OK) {
178 if ((mReplyHeader.responseCode == -1)
179 || (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
183 return mReplyHeader.responseCode;
453 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) {
554 mReplyHeader.responseCode = ResponseCodes.OBEX_HTTP_CONTINUE;
555 while ((more) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
559 if (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)
    [all...]
HeaderSet.java 222 public int responseCode;
233 responseCode = -1;
624 if (responseCode == -1) {
627 return responseCode;
ClientSession.java 128 if (returnHeaderSet.responseCode == ResponseCodes.OBEX_HTTP_OK) {
435 header.responseCode = mInput.read();
496 if ((header.responseCode == ResponseCodes.OBEX_HTTP_UNAUTHORIZED)
  /libcore/luni/src/test/java/libcore/java/net/
OldHttpRetryExceptionTest.java 32 assertTrue("responseCode is incorrect: " + hre.responseCode(),
33 hre.responseCode() == codes[i]);
47 assertTrue("responseCode is incorrect: " + hre.responseCode(),
48 hre.responseCode() == codes[i]);
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
ExternalSpdyExample.java 39 int responseCode = connection.getResponseCode();
40 System.out.println(responseCode);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
HttpRetryExceptionTest.java 42 assertEquals("responseCode", ref.responseCode(), tst.responseCode());
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
HttpRetryExceptionTest.java 42 assertEquals("responseCode", ref.responseCode(), tst.responseCode());
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexClientSession.java 339 int responseCode = -1;
432 responseCode = putOperation.getResponseCode();
434 if (responseCode == ResponseCodes.OBEX_HTTP_CONTINUE
435 || responseCode == ResponseCodes.OBEX_HTTP_OK) {
443 Log.i(TAG, "Remote reject, Response code is " + responseCode);
455 responseCode = putOperation.getResponseCode();
456 if (V) Log.v(TAG, "Response code is " + responseCode);
457 if (responseCode != ResponseCodes.OBEX_HTTP_CONTINUE
458 && responseCode != ResponseCodes.OBEX_HTTP_OK) {
476 if (responseCode == ResponseCodes.OBEX_HTTP_FORBIDDE
    [all...]
  /packages/services/Telephony/src/com/android/phone/
HfaLogic.java 191 private void sendFinalResponse(int responseCode, String errorCode) {
194 extraStuff.putExtra(OtaUtils.EXTRA_OTASP_RESULT_CODE, responseCode);
196 if (responseCode == OTASP_FAILURE && errorCode != null) {
202 + responseCode);
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Job.java 74 int responseCode = connection.getResponseCode();
75 Response.Builder responseBuilder = new Response.Builder(request, responseCode);
HttpAuthenticator.java 91 public static boolean processAuthHeader(OkAuthenticator authenticator, int responseCode,
96 if (responseCode == HTTP_UNAUTHORIZED) {
99 } else if (responseCode == HTTP_PROXY_AUTH) {
ResponseHeaders.java 343 int responseCode = headers.getResponseCode();
344 if (responseCode != HttpURLConnection.HTTP_OK
345 && responseCode != HttpURLConnection.HTTP_NOT_AUTHORITATIVE
346 && responseCode != HttpURLConnection.HTTP_MULT_CHOICE
347 && responseCode != HttpURLConnection.HTTP_MOVED_PERM
348 && responseCode != HttpURLConnection.HTTP_GONE) {
HttpURLConnectionImpl.java 191 throw new ProtocolException("No response body exists; responseCode=" + getResponseCode());
313 int responseCode = getResponseCode();
314 if (responseCode == HTTP_MULT_CHOICE
315 || responseCode == HTTP_MOVED_PERM
316 || responseCode == HTTP_MOVED_TEMP
317 || responseCode == HTTP_SEE_OTHER) {
417 final int responseCode = getResponseCode();
418 switch (responseCode) {
441 if (responseCode == HTTP_TEMP_REDIRECT && !method.equals("GET") && !method.equals("HEAD")) {
RawHeaders.java 73 private int responseCode = -1;
84 responseCode = copyFrom.responseCode;
114 int responseCode;
116 responseCode = Integer.parseInt(statusLine.substring(9, 12));
121 this.responseCode = responseCode;
157 return responseCode;
HttpEngine.java 479 int responseCode = responseHeaders.getHeaders().getResponseCode();
486 if ((responseCode < HTTP_CONTINUE || responseCode >= 200)
487 && responseCode != HttpURLConnectionImpl.HTTP_NO_CONTENT
488 && responseCode != HttpURLConnectionImpl.HTTP_NOT_MODIFIED) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMnsObexClient.java 264 int responseCode = -1;
271 return responseCode;
354 responseCode = putOperation.getResponseCode();
355 if (responseCode != -1) {
356 if (V) Log.v(TAG, "Put response code " + responseCode);
357 if (responseCode != ResponseCodes.OBEX_HTTP_OK) {
358 Log.i(TAG, "Response error code is " + responseCode);
370 return responseCode;
  /external/mockwebserver/src/test/java/com/google/mockwebserver/
CustomDispatcherTest.java 86 private Thread buildRequestThread(final String path, final AtomicInteger responseCode) {
93 responseCode.set(conn.getResponseCode()); // Force the connection to hit the "server".
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java     [all...]
  /development/samples/training/threadsample/src/com/example/android/threadsample/
RSSPullService.java 167 int responseCode = localHttpURLConnection.getResponseCode();
169 switch (responseCode) {
  /system/security/keystore/
keystore.cpp 497 ResponseCode writeBlob(const char* filename, AES_KEY *aes_key, State state, Entropy* entropy) {
560 ResponseCode readBlob(const char* filename, AES_KEY *aes_key, State state) {
683 ResponseCode initialize(const android::String8& pw, Entropy* entropy) {
687 ResponseCode response = writeMasterKey(pw, entropy);
695 ResponseCode writeMasterKey(const android::String8& pw, Entropy* entropy) {
704 ResponseCode readMasterKey(const android::String8& pw, Entropy* entropy) {
729 ResponseCode response = masterKeyBlob.readBlob(mMasterKeyFile, &passwordAesKey,
897 ResponseCode initialize() {
910 ResponseCode initializeUser(const android::String8& pw, uid_t uid) {
915 ResponseCode writeMasterKey(const android::String8& pw, uid_t uid)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java 733 final int responseCode)
735 return doInteraction(clientConnection, serverSocket, responseCode, false);
747 final int responseCode,
755 ServerWork server = new ServerWork(serverSocket, responseCode, doAuthentication);
    [all...]
  /frameworks/volley/src/com/android/volley/toolbox/
HurlStack.java 109 int responseCode = connection.getResponseCode();
110 if (responseCode == -1) {
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
MediaDrmBridge.java 825 int responseCode = response.getStatusLine().getStatusCode();
826 if (responseCode == 200) {
829 Log.d(TAG, "Server returned HTTP error code " + responseCode);

Completed in 725 milliseconds

1 2