Home
last modified time | relevance | path

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

/frameworks/base/obex/javax/obex/
DServerSession.java142 sendResponse(ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED, null); in run()
164 int code = ResponseCodes.OBEX_HTTP_OK; in handleAbortRequest()
171 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE; in handleAbortRequest()
207 if (response != ResponseCodes.OBEX_HTTP_OK && !op.isAborted) { in handlePutRequest()
212 op.sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in handlePutRequest()
224 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in handlePutRequest()
252 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in handleGetRequest()
314 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE; in handleSetPathRequest()
336 code = ResponseCodes.OBEX_HTTP_UNAUTHORIZED; in handleSetPathRequest()
344 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()
211 || (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) { in getResponseCode()
493 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) { in sendRequest()
636 mReplyHeader.responseCode = ResponseCodes.OBEX_HTTP_CONTINUE; in startProcessing()
638 ResponseCodes.OBEX_HTTP_CONTINUE)) { in startProcessing()
644 if (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE) { in startProcessing()
648 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) { in startProcessing()
666 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()
205 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in ServerOperation()
219 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in ServerOperation()
227 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in ServerOperation()
254 mParent.sendResponse(ResponseCodes.OBEX_HTTP_UNAUTHORIZED, null); in handleObexPacket()
346 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in continueOperation()
350 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in continueOperation()
360 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE); in continueOperation()
428 mParent.sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in sendReply()
450 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()