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

1 2 3 4 5

  /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...]
  /frameworks/base/core/java/android/service/gatekeeper/
GateKeeperResponse.java 41 private GateKeeperResponse(int responseCode) {
42 mResponseCode = responseCode;
46 public static GateKeeperResponse createGenericResponse(int responseCode) {
47 return new GateKeeperResponse(responseCode);
73 int responseCode = source.readInt();
75 if (responseCode == RESPONSE_RETRY) {
77 } else if (responseCode == RESPONSE_OK) {
87 response = createGenericResponse(responseCode);
  /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);
  /frameworks/base/core/java/com/android/internal/widget/
VerifyCredentialResponse.java 44 int responseCode = source.readInt();
45 VerifyCredentialResponse response = new VerifyCredentialResponse(responseCode, 0, null);
46 if (responseCode == RESPONSE_RETRY) {
48 } else if (responseCode == RESPONSE_OK) {
83 private VerifyCredentialResponse(int responseCode, int timeout, byte[] payload) {
84 mResponseCode = responseCode;
  /frameworks/base/obex/javax/obex/
ClientOperation.java 176 if ((mOperationDone) && (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE)) {
181 if ((!mOperationDone) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
189 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_OK) {
210 if ((mReplyHeader.responseCode == -1)
211 || (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
215 return mReplyHeader.responseCode;
427 if (mPrivateInput == null || mReplyHeader.responseCode == -1) {
493 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) {
636 mReplyHeader.responseCode = ResponseCodes.OBEX_HTTP_CONTINUE;
637 while ((more) && (mReplyHeader.responseCode =
    [all...]
  /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]);
  /device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/
Tpm2Startup.c 62 TPM_RC ResponseCode;
75 ResponseCode = SwapBytes32(Res.Header.responseCode);
76 switch (ResponseCode) {
82 DEBUG ((EFI_D_ERROR, "Tpm2Startup: Response Code error! 0x%08x\r\n", ResponseCode));
117 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
118 DEBUG ((EFI_D_ERROR, "Tpm2Shutdown: Response Code error! 0x%08x\r\n", SwapBytes32(Res.Header.responseCode)));
Tpm2Context.c 79 if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) {
80 DEBUG ((EFI_D_ERROR, "Tpm2FlushContext - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode)));
Tpm2DictionaryAttack.c 115 if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) {
116 DEBUG ((EFI_D_ERROR, "Tpm2DictionaryAttackLockReset - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode)));
206 if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) {
207 DEBUG ((EFI_D_ERROR, "Tpm2DictionaryAttackParameters - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode)));
Tpm2EnhancedAuthorization.c 172 if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) {
173 DEBUG ((EFI_D_ERROR, "Tpm2PolicySecret - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode)));
263 if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) {
264 DEBUG ((EFI_D_ERROR, "Tpm2PolicyOR - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode)));
318 if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) {
319 DEBUG ((EFI_D_ERROR, "Tpm2PolicyCommandCode - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode)));
373 if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) {
    [all...]
Tpm2Miscellaneous.c 109 if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) {
110 DEBUG ((EFI_D_ERROR, "Tpm2SetAlgorithmSet - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode)));
Tpm2Hierarchy.c 197 if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) {
198 DEBUG ((EFI_D_ERROR, "Tpm2SetPrimaryPolicy - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode)));
279 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
280 DEBUG ((EFI_D_ERROR, "Clear: Response Code error! 0x%08x\r\n", SwapBytes32(Res.Header.responseCode)));
373 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
374 DEBUG ((EFI_D_ERROR, "ClearControl: Response Code error! 0x%08x\r\n", SwapBytes32(Res.Header.responseCode)));
486 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
487 DEBUG((EFI_D_ERROR,"HierarchyChangeAuth: Response Code error! 0x%08x\r\n", SwapBytes32(Res.Header.responseCode)));
584 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
    [all...]
Tpm2Sequences.c 159 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
160 DEBUG ((EFI_D_ERROR, "HashSequenceStart: Response Code error! 0x%08x\r\n", SwapBytes32(Res.Header.responseCode)));
256 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
257 DEBUG ((EFI_D_ERROR, "SequenceUpdate: Response Code error! 0x%08x\r\n", SwapBytes32(Res.Header.responseCode)));
365 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
366 DEBUG ((EFI_D_ERROR, "EventSequenceComplete: Response Code error! 0x%08x\r\n", SwapBytes32(Res.Header.responseCode)));
486 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
487 DEBUG ((EFI_D_ERROR, "SequenceComplete: Response Code error! 0x%08x\r\n", SwapBytes32(Res.Header.responseCode)));
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
HttpRetryExceptionTest.java 42 assertEquals("responseCode", ref.responseCode(), tst.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.
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexClientSession.java 339 int responseCode = -1;
419 responseCode = putOperation.getResponseCode();
433 if (responseCode == ResponseCodes.OBEX_HTTP_CONTINUE
434 || responseCode == ResponseCodes.OBEX_HTTP_OK) {
442 Log.i(TAG, "Remote reject, Response code is " + responseCode);
453 responseCode = putOperation.getResponseCode();
454 if (V) Log.v(TAG, "Response code is " + responseCode);
455 if (responseCode != ResponseCodes.OBEX_HTTP_CONTINUE
456 && responseCode != ResponseCodes.OBEX_HTTP_OK) {
478 if (responseCode == ResponseCodes.OBEX_HTTP_FORBIDDE
    [all...]
  /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/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/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/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/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/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/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
AsyncHttpURLConnection.java 97 int responseCode = connection.getResponseCode();
98 if (responseCode != 200) {
  /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;

Completed in 2100 milliseconds

1 2 3 4 5