HomeSort by relevance Sort by last modified time
    Searched refs:ResponseCodes (Results 1 - 11 of 11) sorted by null

  /frameworks/base/obex/javax/obex/
ServerRequestHandler.java 42 * <code>ResponseCodes</code> class except for <code>OBEX_HTTP_CONTINUE</code>.
44 * <code>ResponseCodes</code> class is returned, the server implementation will
122 * @return a response code defined in <code>ResponseCodes</code> that will
128 return ResponseCodes.OBEX_HTTP_OK;
166 * @return a response code defined in <code>ResponseCodes</code> that will
173 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED;
190 * @return a response code defined in <code>ResponseCodes</code> that will
196 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED;
203 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED;
218 * @return a response code defined in <code>ResponseCodes</code> that wil
    [all...]
ClientOperation.java 136 if ((mOperationDone) && (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE)) {
141 if ((!mOperationDone) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
149 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_OK) {
161 * defined in the <code>ResponseCodes</code> interface.
172 || (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
446 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) {
547 mReplyHeader.responseCode = ResponseCodes.OBEX_HTTP_CONTINUE;
548 while ((more) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
552 if (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE) {
555 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE)
    [all...]
ServerSession.java 138 sendResponse(ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED, null);
160 int code = ResponseCodes.OBEX_HTTP_OK;
167 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE;
203 if (response != ResponseCodes.OBEX_HTTP_OK && !op.isAborted) {
208 op.sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
219 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null);
246 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null);
304 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE;
326 code = ResponseCodes.OBEX_HTTP_UNAUTHORIZED;
334 if (code != ResponseCodes.OBEX_HTTP_UNAUTHORIZED)
    [all...]
ResponseCodes.java 36 * The <code>ResponseCodes</code> class contains the list of valid response
53 public final class ResponseCodes {
324 private ResponseCodes() {
ServerOperation.java 160 mParent.sendResponse(ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE, null);
190 mParent.sendResponse(ResponseCodes.OBEX_HTTP_UNAUTHORIZED, null);
212 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
221 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
229 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
254 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
258 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
268 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
322 mParent.sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null);
344 if (mGetOperation && type == ResponseCodes.OBEX_HTTP_OK)
    [all...]
ClientSession.java 128 if (returnHeaderSet.responseCode == ResponseCodes.OBEX_HTTP_OK) {
496 if ((header.responseCode == ResponseCodes.OBEX_HTTP_UNAUTHORIZED)
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapObexServer.java 51 import javax.obex.ResponseCodes;
187 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
193 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
198 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
204 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
215 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
225 return ResponseCodes.OBEX_HTTP_OK;
233 resp.responseCode = ResponseCodes.OBEX_HTTP_OK;
246 return ResponseCodes.OBEX_HTTP_OK;
252 return ResponseCodes.OBEX_HTTP_BAD_REQUEST
    [all...]
BluetoothPbapVcardManager.java 63 import javax.obex.ResponseCodes;
321 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
382 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
427 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
463 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
515 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
528 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
537 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
558 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
571 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexServerSession.java 55 import javax.obex.ResponseCodes;
173 int obexResponse = ResponseCodes.OBEX_HTTP_OK;
180 return ResponseCodes.OBEX_HTTP_FORBIDDEN;
204 obexResponse = ResponseCodes.OBEX_HTTP_LENGTH_REQUIRED;
210 obexResponse = ResponseCodes.OBEX_HTTP_BAD_REQUEST;
221 obexResponse = ResponseCodes.OBEX_HTTP_BAD_REQUEST;
234 obexResponse = ResponseCodes.OBEX_HTTP_UNSUPPORTED_TYPE;
253 obexResponse = ResponseCodes.OBEX_HTTP_UNSUPPORTED_TYPE;
256 if (pre_reject && obexResponse != ResponseCodes.OBEX_HTTP_OK) {
263 return ResponseCodes.OBEX_HTTP_BAD_REQUEST
    [all...]
BluetoothOppObexClientSession.java 39 import javax.obex.ResponseCodes;
434 if (responseCode == ResponseCodes.OBEX_HTTP_CONTINUE
435 || responseCode == ResponseCodes.OBEX_HTTP_OK) {
457 if (responseCode != ResponseCodes.OBEX_HTTP_CONTINUE
458 && responseCode != ResponseCodes.OBEX_HTTP_OK) {
476 if (responseCode == ResponseCodes.OBEX_HTTP_FORBIDDEN
477 || responseCode == ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE) {
481 } else if (responseCode == ResponseCodes.OBEX_HTTP_UNSUPPORTED_TYPE) {
511 if (responseCode != ResponseCodes.OBEX_HTTP_OK) {
514 if (responseCode == ResponseCodes.OBEX_HTTP_UNSUPPORTED_TYPE)
    [all...]
TestActivity.java 67 import javax.obex.ResponseCodes;
496 return ResponseCodes.OBEX_HTTP_OK;
529 return ResponseCodes.OBEX_HTTP_OK;
545 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED;
549 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED;
553 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED;

Completed in 292 milliseconds