/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);
|
/frameworks/base/core/java/android/security/ |
ConfirmationPrompt.java | 96 private void doCallback(int responseCode, byte[] dataThatWasConfirmed, 98 switch (responseCode) { 116 callback.onError(new Exception("Unexpected responseCode=" + responseCode 126 int responseCode, final byte[] dataThatWasConfirmed) 134 doCallback(responseCode, dataThatWasConfirmed, callback); 139 doCallback(responseCode, dataThatWasConfirmed, callback); 279 int responseCode = mKeyStore.presentConfirmationPrompt( 281 switch (responseCode) { 297 "Unexpected responseCode=" + responseCod [all...] |
/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; 139 int responseCode = gateKeeperResponse.getResponseCode(); 140 if (responseCode == GateKeeperResponse.RESPONSE_RETRY) { 142 } 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);
|
/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...] |
/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;
|
/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/volley/src/main/java/com/android/volley/toolbox/ |
HurlStack.java | 99 int responseCode = connection.getResponseCode(); 100 if (responseCode == -1) { 106 if (!hasResponseBody(request.getMethod(), responseCode)) { 107 return new HttpResponse(responseCode, convertHeaders(connection.getHeaderFields())); 110 return new HttpResponse(responseCode, convertHeaders(connection.getHeaderFields()), 133 * @param responseCode response status code 136 private static boolean hasResponseBody(int requestMethod, int responseCode) { 138 && !(HTTP_CONTINUE <= responseCode && responseCode < HttpURLConnection.HTTP_OK) 139 && responseCode != HttpURLConnection.HTTP_NO_CONTEN [all...] |
/system/security/keystore/ |
confirmation_manager.cpp | 87 ConfirmationResponseCode responseCode; 88 responseCode = confirmationUI->promptUserConfirmation(sp<IConfirmationResultCallback>(this), 91 if (responseCode != ConfirmationResponseCode::OK) { 92 ALOGW("Unexpecxted responseCode %d from promptUserConfirmation\n", responseCode); 93 *aidl_return = static_cast<int32_t>(responseCode); 138 void ConfirmationManager::finalizeTransaction(ConfirmationResponseCode responseCode, 147 mRateLimiting.processResult(responseCode); 168 Status status = obj->onConfirmationPromptCompleted(static_cast<int32_t>(responseCode), 178 Return<void> ConfirmationManager::result(ConfirmationResponseCode responseCode, [all...] |
confirmation_manager.h | 38 using ConfirmationResponseCode = android::hardware::confirmationui::V1_0::ResponseCode; 80 android::hardware::Return<void> result(ConfirmationResponseCode responseCode, 87 void finalizeTransaction(ConfirmationResponseCode responseCode,
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
Tpm2Startup.c | 63 TPM_RC ResponseCode;
76 ResponseCode = SwapBytes32(Res.Header.responseCode);
77 switch (ResponseCode) {
86 DEBUG ((EFI_D_ERROR, "Tpm2Startup: Response Code error! 0x%08x\r\n", ResponseCode));
121 if (SwapBytes32(Res.Header.responseCode) != TPM_RC_SUCCESS) {
122 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...] |
/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 | 73 int responseCode = conn.getResponseCode(); 74 LogUtil.i("HttpFetcher.sendRequestAsByteArray", "response code: " + responseCode); 76 if (responseCode / 100 == 2) { 93 if (responseCode == 401) { 133 int responseCode = httpUrlConnection.getResponseCode(); 134 LogUtil.i("HttpFetcher.sendRequestAsInputStream", "response code: " + responseCode); 136 if (responseCode == 401) { 138 } else if (responseCode / 100 == 2) { // All 2xx codes are successful.
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppObexClientSession.java | 381 int responseCode = -1; 484 responseCode = putOperation.getResponseCode(); 491 if (responseCode == ResponseCodes.OBEX_HTTP_CONTINUE 492 || responseCode == ResponseCodes.OBEX_HTTP_OK) { 503 Log.i(TAG, "Remote reject, Response code is " + responseCode); 516 responseCode = putOperation.getResponseCode(); 518 Log.v(TAG, "Response code is " + responseCode); 520 if (responseCode != ResponseCodes.OBEX_HTTP_CONTINUE 521 && responseCode != ResponseCodes.OBEX_HTTP_OK) { 547 if (responseCode == ResponseCodes.OBEX_HTTP_FORBIDDE [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
ImapStore.java | 137 private final String responseCode; 144 String responseCode) { 149 this.responseCode = responseCode; 165 return responseCode;
|
/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) {
|