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

/frameworks/base/core/java/android/service/gatekeeper/
H A DGateKeeperResponse.java38 private GateKeeperResponse(int responseCode) { argument
39 mResponseCode = responseCode;
42 private GateKeeperResponse(int responseCode, int timeout) { argument
43 mResponseCode = responseCode;
55 int responseCode = source.readInt();
56 GateKeeperResponse response = new GateKeeperResponse(responseCode);
57 if (responseCode == RESPONSE_RETRY) {
59 } else if (responseCode == RESPONSE_OK) {
/frameworks/base/core/java/com/android/internal/widget/
H A DVerifyCredentialResponse.java44 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) { argument
84 mResponseCode = responseCode;
/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) {
211 if ((mReplyHeader.responseCode == -1)
212 || (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
216 return mReplyHeader.responseCode;
493 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) {
635 mReplyHeader.responseCode = ResponseCodes.OBEX_HTTP_CONTINUE;
636 while ((more) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
642 if (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/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapRequestPullVcardEntry.java70 protected void checkResponseCode(int responseCode) throws IOException { argument
74 if (responseCode != ResponseCodes.OBEX_HTTP_NOT_FOUND &&
75 responseCode != ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE) {
H A DBluetoothPbapRequest.java125 protected void checkResponseCode(int responseCode) throws IOException { argument
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DHurlStack.java109 int responseCode = connection.getResponseCode();
110 if (responseCode == -1) {
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsService.java626 int responseCode = gateKeeperResponse.getResponseCode();
627 if (responseCode == GateKeeperResponse.RESPONSE_RETRY) {
629 } else if (responseCode == GateKeeperResponse.RESPONSE_OK) {
645 int responseCode = gateKeeperResponse.getResponseCode();
646 if (responseCode == GateKeeperResponse.RESPONSE_RETRY) {
648 } else if (responseCode == GateKeeperResponse.RESPONSE_OK) {
/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 2438 milliseconds