Home
last modified time | relevance | path

Searched refs:responseCode (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/obex/javax/obex/
DClientOperation.java176 if ((mOperationDone) && (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE)) { in abort()
181 if ((!mOperationDone) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) { in abort()
189 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_OK) { in abort()
210 if ((mReplyHeader.responseCode == -1) in getResponseCode()
211 || (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) { in getResponseCode()
215 return mReplyHeader.responseCode; in getResponseCode()
427 if (mPrivateInput == null || mReplyHeader.responseCode == -1) { in validateConnection()
493 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) { in sendRequest()
636 mReplyHeader.responseCode = ResponseCodes.OBEX_HTTP_CONTINUE; in startProcessing()
637 while ((more) && (mReplyHeader.responseCode == in startProcessing()
[all …]
DHeaderSet.java246 public int responseCode; field in HeaderSet
257 responseCode = -1; in HeaderSet()
704 if (responseCode == -1) { in getResponseCode()
707 return responseCode; in getResponseCode()
DClientSession.java158 if (returnHeaderSet.responseCode == ResponseCodes.OBEX_HTTP_OK) { in connect()
512 header.responseCode = mInput.read(); in sendRequest()
584 if ((header.responseCode == ResponseCodes.OBEX_HTTP_UNAUTHORIZED) in sendRequest()
/frameworks/base/core/java/android/security/
DConfirmationPrompt.java96 private void doCallback(int responseCode, byte[] dataThatWasConfirmed, in doCallback() argument
98 switch (responseCode) { in doCallback()
116 callback.onError(new Exception("Unexpected responseCode=" + responseCode in doCallback()
126 int responseCode, final byte[] dataThatWasConfirmed)
134 doCallback(responseCode, dataThatWasConfirmed, callback);
139 doCallback(responseCode, dataThatWasConfirmed, callback);
275 int responseCode = mKeyStore.presentConfirmationPrompt( in presentPrompt() local
277 switch (responseCode) { in presentPrompt()
293 "Unexpected responseCode=" + responseCode in presentPrompt()
309 int responseCode = mKeyStore.cancelConfirmationPrompt(mCallbackBinder); in cancelPrompt() local
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DVerifyCredentialResponse.java47 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) { in VerifyCredentialResponse() argument
87 mResponseCode = responseCode; in VerifyCredentialResponse()
139 int responseCode = gateKeeperResponse.getResponseCode(); in fromGateKeeperResponse() local
140 if (responseCode == GateKeeperResponse.RESPONSE_RETRY) { in fromGateKeeperResponse()
142 } else if (responseCode == GateKeeperResponse.RESPONSE_OK) { in fromGateKeeperResponse()
/frameworks/base/core/java/android/service/gatekeeper/
DGateKeeperResponse.java41 private GateKeeperResponse(int responseCode) { in GateKeeperResponse() argument
42 mResponseCode = responseCode; in GateKeeperResponse()
46 public static GateKeeperResponse createGenericResponse(int responseCode) { in createGenericResponse() argument
47 return new GateKeeperResponse(responseCode); in createGenericResponse()
73 int responseCode = source.readInt();
75 if (responseCode == RESPONSE_RETRY) {
77 } else if (responseCode == RESPONSE_OK) {
87 response = createGenericResponse(responseCode);
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DHttpResponse.kt24 val responseCode: Int, constant in com.android.server.net.integrationtests.HttpResponse
31 responseCode = 200,
38 writeInt(responseCode) in writeToParcel()
DTestNetworkStackService.kt79 doReturn(response.responseCode).`when`(connection).responseCode in openConnection()
DConnectivityServiceIntegrationTest.kt200 nsInstrumentation.addHttpResponse(HttpResponse(httpProbeUrl, responseCode = 204)) in testValidation()
201 nsInstrumentation.addHttpResponse(HttpResponse(httpsProbeUrl, responseCode = 204)) in testValidation()
237 nsInstrumentation.addHttpResponse(HttpResponse(httpsProbeUrl, responseCode = 204)) in testCapportApi()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java891 int responseCode = response.getResponseCode(); in unwrapPasswordBasedSyntheticPassword() local
892 if (responseCode == GateKeeperResponse.RESPONSE_OK) { in unwrapPasswordBasedSyntheticPassword()
911 } else if (responseCode == GateKeeperResponse.RESPONSE_RETRY) { in unwrapPasswordBasedSyntheticPassword()
1041 int responseCode = response.getResponseCode(); in verifyChallenge() local
1042 if (responseCode == GateKeeperResponse.RESPONSE_OK) { in verifyChallenge()
1057 } else if (responseCode == GateKeeperResponse.RESPONSE_RETRY) { in verifyChallenge()
/frameworks/base/tests/CoreTests/android/core/
DTestEventHandler.java37 private int responseCode = -1; field in TestEventHandler
174 responseCode = code; in status()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipHelper.java447 public void sendResponse(RequestEvent event, int responseCode) in sendResponse() argument
452 responseCode, request); in sendResponse()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt42938 method public int responseCode();
42998 field protected int responseCode;
/frameworks/base/non-updatable-api/
Dcurrent.txt63309 method public int responseCode();
63369 field protected int responseCode;
/frameworks/base/api/
Dcurrent.txt63453 method public int responseCode();
63513 field protected int responseCode;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt104999 Ljava/net/HttpRetryException;->responseCode:I