Home
last modified time | relevance | path

Searched refs:ResponseCodes (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/obex/javax/obex/
DServerSession.java143 sendResponse(ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED, null); in run()
165 int code = ResponseCodes.OBEX_HTTP_OK; in handleAbortRequest()
172 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE; in handleAbortRequest()
208 if (response != ResponseCodes.OBEX_HTTP_OK && !op.isAborted) { in handlePutRequest()
213 op.sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in handlePutRequest()
225 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in handlePutRequest()
253 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in handleGetRequest()
315 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE; in handleSetPathRequest()
337 code = ResponseCodes.OBEX_HTTP_UNAUTHORIZED; in handleSetPathRequest()
345 if (code != ResponseCodes.OBEX_HTTP_UNAUTHORIZED) { in handleSetPathRequest()
[all …]
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()
212 || (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) { in getResponseCode()
493 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) { in sendRequest()
635 mReplyHeader.responseCode = ResponseCodes.OBEX_HTTP_CONTINUE; in startProcessing()
636 while ((more) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) { in startProcessing()
642 if (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE) { in startProcessing()
646 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) { in startProcessing()
655 mReplyHeader.responseCode = ResponseCodes.OBEX_HTTP_CONTINUE; in startProcessing()
[all …]
DServerRequestHandler.java128 return ResponseCodes.OBEX_HTTP_OK; in onConnect()
173 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED; in onSetPath()
196 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED; in onDelete()
203 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED; in onAbort()
224 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED; in onPut()
245 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED; in onGet()
DServerOperation.java186 mParent.sendResponse(ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE, null); in ServerOperation()
200 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in ServerOperation()
209 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in ServerOperation()
217 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in ServerOperation()
244 mParent.sendResponse(ResponseCodes.OBEX_HTTP_UNAUTHORIZED, null); in handleObexPacket()
336 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in continueOperation()
340 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in continueOperation()
350 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in continueOperation()
418 mParent.sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in sendReply()
440 if (mGetOperation && type == ResponseCodes.OBEX_HTTP_OK) { in sendReply()
[all …]
DResponseCodes.java53 public final class ResponseCodes { class
324 private ResponseCodes() { in ResponseCodes() method in ResponseCodes
DClientSession.java158 if (returnHeaderSet.responseCode == ResponseCodes.OBEX_HTTP_OK) { in connect()
584 if ((header.responseCode == ResponseCodes.OBEX_HTTP_UNAUTHORIZED) in sendRequest()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMnsObexServer.java29 import javax.obex.ResponseCodes;
59 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE; in onConnect()
65 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR; in onConnect()
69 return ResponseCodes.OBEX_HTTP_OK; in onConnect()
81 return ResponseCodes.OBEX_HTTP_BAD_REQUEST; in onGet()
96 return ResponseCodes.OBEX_HTTP_BAD_REQUEST; in onPut()
109 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR; in onPut()
112 return ResponseCodes.OBEX_HTTP_OK; in onPut()
119 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED; in onAbort()
127 return ResponseCodes.OBEX_HTTP_BAD_REQUEST; in onSetPath()
DBluetoothMasRequest.java27 import javax.obex.ResponseCodes;
122 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR; in executeGet()
145 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR; in executePut()
152 return (mResponseCode == ResponseCodes.OBEX_HTTP_OK); in isSuccess()
DBluetoothMasRequestPushMessage.java24 import javax.obex.ResponseCodes;
65 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR; in readResponseHeaders()
67 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR; in readResponseHeaders()
DBluetoothMasRequestSetPath.java23 import javax.obex.ResponseCodes;
68 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR; in execute()
DBluetoothMasRequestGetMessage.java33 import javax.obex.ResponseCodes;
89 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR; in readResponse()
DBluetoothMasObexClientSession.java32 import javax.obex.ResponseCodes;
143 if (headerset.getResponseCode() == ResponseCodes.OBEX_HTTP_OK) { in connect()