Searched refs:responseCode (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/service/gatekeeper/
H A DGateKeeperResponse.java41 private GateKeeperResponse(int responseCode) { argument
42 mResponseCode = responseCode;
46 public static GateKeeperResponse createGenericResponse(int responseCode) { argument
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/
H A DConfirmationPrompt.java96 private void doCallback(int responseCode, byte[] dataThatWasConfirmed, argument
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
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A 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) { argument
87 mResponseCode = responseCode;
139 int responseCode = gateKeeperResponse.getResponseCode();
140 if (responseCode == GateKeeperResponse.RESPONSE_RETRY) {
142 } else if (responseCode == GateKeeperResponse.RESPONSE_OK) {
/frameworks/base/obex/javax/obex/
H A DClientOperation.java176 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...]
H A DHeaderSet.java246 public int responseCode; field in class:HeaderSet
257 responseCode = -1;
704 if (responseCode == -1) {
707 return responseCode;
H A DClientSession.java158 if (returnHeaderSet.responseCode == ResponseCodes.OBEX_HTTP_OK) {
512 header.responseCode = mInput.read();
584 if ((header.responseCode == ResponseCodes.OBEX_HTTP_UNAUTHORIZED)
/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordManager.java849 int responseCode = response.getResponseCode();
850 if (responseCode == GateKeeperResponse.RESPONSE_OK) {
869 } else if (responseCode == GateKeeperResponse.RESPONSE_RETRY) {
997 int responseCode = response.getResponseCode();
998 if (responseCode == GateKeeperResponse.RESPONSE_OK) {
1013 } else if (responseCode == GateKeeperResponse.RESPONSE_RETRY) {
/frameworks/base/tests/CoreTests/android/core/
H A DTestEventHandler.java37 private int responseCode = -1; field in class:TestEventHandler
174 responseCode = code;
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java447 public void sendResponse(RequestEvent event, int responseCode) argument
452 responseCode, request);

Completed in 233 milliseconds