HomeSort by relevance Sort by last modified time
    Searched refs:ResponseCodes (Results 1 - 13 of 13) 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 143 if ((mOperationDone) && (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE)) {
148 if ((!mOperationDone) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
156 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_OK) {
168 * defined in the <code>ResponseCodes</code> interface.
179 || (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
453 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) {
554 mReplyHeader.responseCode = ResponseCodes.OBEX_HTTP_CONTINUE;
555 while ((more) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
559 if (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE) {
562 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);
308 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE;
330 code = ResponseCodes.OBEX_HTTP_UNAUTHORIZED;
338 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 162 mParent.sendResponse(ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE, null);
192 mParent.sendResponse(ResponseCodes.OBEX_HTTP_UNAUTHORIZED, null);
214 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
223 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
231 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
256 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
260 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
270 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
324 mParent.sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null);
346 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/map/
BluetoothMapObexServer.java 25 import javax.obex.ResponseCodes;
106 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
112 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
117 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
123 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
134 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
145 return ResponseCodes.OBEX_HTTP_OK;
153 resp.responseCode = ResponseCodes.OBEX_HTTP_OK;
166 return ResponseCodes.OBEX_HTTP_OK;
186 return ResponseCodes.OBEX_HTTP_BAD_REQUEST
    [all...]
BluetoothMnsObexClient.java 38 import javax.obex.ResponseCodes;
318 if (responseCode != ResponseCodes.OBEX_HTTP_OK) {
  /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 62 import javax.obex.ResponseCodes;
322 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
383 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
428 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
464 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
516 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
529 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
538 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
559 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
572 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 233 milliseconds