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

1 2

  /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 176 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) {
201 * defined in the <code>ResponseCodes</code> interface.
211 || (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) {
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 == ResponseCodes.OBEX_HTTP_CONTINUE) {
646 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE)
    [all...]
ServerSession.java 143 sendResponse(ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED, null);
165 int code = ResponseCodes.OBEX_HTTP_OK;
172 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE;
208 if (response != ResponseCodes.OBEX_HTTP_OK && !op.isAborted) {
213 op.sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
225 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null);
253 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null);
315 code = ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE;
337 code = ResponseCodes.OBEX_HTTP_UNAUTHORIZED;
345 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 186 mParent.sendResponse(ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE, null);
200 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
209 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
217 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
244 mParent.sendResponse(ResponseCodes.OBEX_HTTP_UNAUTHORIZED, null);
336 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
340 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
350 sendReply(ResponseCodes.OBEX_HTTP_CONTINUE);
418 mParent.sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null);
440 if (mGetOperation && type == ResponseCodes.OBEX_HTTP_OK)
    [all...]
  /frameworks/opt/bluetooth/src/android/bluetooth/client/map/
BluetoothMnsObexServer.java 29 import javax.obex.ResponseCodes;
59 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
65 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
69 return ResponseCodes.OBEX_HTTP_OK;
81 return ResponseCodes.OBEX_HTTP_BAD_REQUEST;
96 return ResponseCodes.OBEX_HTTP_BAD_REQUEST;
109 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
112 return ResponseCodes.OBEX_HTTP_OK;
119 return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED;
127 return ResponseCodes.OBEX_HTTP_BAD_REQUEST
    [all...]
BluetoothMasRequestSetPath.java 23 import javax.obex.ResponseCodes;
68 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
BluetoothMasRequestPushMessage.java 24 import javax.obex.ResponseCodes;
65 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
67 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
BluetoothMasRequest.java 27 import javax.obex.ResponseCodes;
122 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
145 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
152 return (mResponseCode == ResponseCodes.OBEX_HTTP_OK);
BluetoothMasRequestGetMessage.java 33 import javax.obex.ResponseCodes;
89 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
BluetoothMasObexClientSession.java 32 import javax.obex.ResponseCodes;
143 if (headerset.getResponseCode() == ResponseCodes.OBEX_HTTP_OK) {
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
ObexTestServer.java 11 import javax.obex.ResponseCodes;
39 int result = ResponseCodes.OBEX_HTTP_OK;
45 result = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
57 int result = ResponseCodes.OBEX_HTTP_OK;
63 result = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
86 int result = ResponseCodes.OBEX_HTTP_OK;
96 result = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
100 if(result == ResponseCodes.OBEX_HTTP_OK) {
118 int result = ResponseCodes.OBEX_HTTP_OK;
128 result = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR
    [all...]
MapObexTestServer.java 8 import javax.obex.ResponseCodes;
83 int result = ResponseCodes.OBEX_HTTP_OK;
95 result = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
106 int result = ResponseCodes.OBEX_HTTP_OK;
118 result = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
134 int result = ResponseCodes.OBEX_HTTP_OK;
147 result = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
150 if(result == ResponseCodes.OBEX_HTTP_OK) {
161 int result = ResponseCodes.OBEX_HTTP_OK;
174 result = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR
    [all...]
SdpManagerTestServer.java 9 import javax.obex.ResponseCodes;
41 int mResult = ResponseCodes.OBEX_HTTP_OK;
61 int result = ResponseCodes.OBEX_HTTP_OK;
67 result = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
77 int result = ResponseCodes.OBEX_HTTP_OK;
83 result = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
102 int result = ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED;
118 mResult = ResponseCodes.OBEX_HTTP_OK;
132 mResult = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
135 if(mResult == ResponseCodes.OBEX_HTTP_OK)
    [all...]
MapStepsFolder.java 7 import javax.obex.ResponseCodes;
132 Assert.assertEquals(ResponseCodes.OBEX_HTTP_OK, responseCode);
SdpManagerTest.java 9 import javax.obex.ResponseCodes;
187 assertEquals(response.responseCode, ResponseCodes.OBEX_HTTP_OK);
203 assertEquals(response, ResponseCodes.OBEX_HTTP_OK);
213 assertEquals(response.responseCode, ResponseCodes.OBEX_HTTP_OK);
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapObexServer.java 45 import javax.obex.ResponseCodes;
317 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
323 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
328 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
334 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
354 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
376 return ResponseCodes.OBEX_HTTP_OK;
384 resp.responseCode = ResponseCodes.OBEX_HTTP_OK;
398 return ResponseCodes.OBEX_HTTP_OK;
443 return ResponseCodes.OBEX_HTTP_UNAVAILABLE
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
BluetoothPbapRequestSetPath.java 25 import javax.obex.ResponseCodes;
70 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
BluetoothPbapRequest.java 27 import javax.obex.ResponseCodes;
56 return (mResponseCode == ResponseCodes.OBEX_HTTP_OK);
64 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
95 mResponseCode = ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
BluetoothPbapRequestPullVcardEntry.java 29 import javax.obex.ResponseCodes;
80 if (responseCode != ResponseCodes.OBEX_HTTP_NOT_FOUND &&
81 responseCode != ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE) {
BluetoothPbapObexSession.java 31 import javax.obex.ResponseCodes;
149 if (hs.getResponseCode() != ResponseCodes.OBEX_HTTP_OK) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapObexServer.java 53 import javax.obex.ResponseCodes;
188 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
194 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
199 return ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE;
205 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
216 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
226 return ResponseCodes.OBEX_HTTP_OK;
234 resp.responseCode = ResponseCodes.OBEX_HTTP_OK;
248 return ResponseCodes.OBEX_HTTP_OK;
255 return ResponseCodes.OBEX_HTTP_BAD_REQUEST
    [all...]
BluetoothPbapVcardManager.java 66 import javax.obex.ResponseCodes;
341 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
406 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
437 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
576 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
589 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
600 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
615 return ResponseCodes.OBEX_HTTP_OK;
632 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR;
645 return ResponseCodes.OBEX_HTTP_INTERNAL_ERROR
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexServerSession.java 55 import javax.obex.ResponseCodes;
169 int obexResponse = ResponseCodes.OBEX_HTTP_OK;
176 return ResponseCodes.OBEX_HTTP_FORBIDDEN;
200 obexResponse = ResponseCodes.OBEX_HTTP_LENGTH_REQUIRED;
206 obexResponse = ResponseCodes.OBEX_HTTP_BAD_REQUEST;
217 obexResponse = ResponseCodes.OBEX_HTTP_BAD_REQUEST;
230 obexResponse = ResponseCodes.OBEX_HTTP_UNSUPPORTED_TYPE;
249 obexResponse = ResponseCodes.OBEX_HTTP_UNSUPPORTED_TYPE;
252 if (pre_reject && obexResponse != ResponseCodes.OBEX_HTTP_OK) {
259 return ResponseCodes.OBEX_HTTP_BAD_REQUEST
    [all...]
BluetoothOppObexClientSession.java 39 import javax.obex.ResponseCodes;
426 if (responseCode == ResponseCodes.OBEX_HTTP_CONTINUE
427 || responseCode == ResponseCodes.OBEX_HTTP_OK) {
448 if (responseCode != ResponseCodes.OBEX_HTTP_CONTINUE
449 && responseCode != ResponseCodes.OBEX_HTTP_OK) {
471 if (responseCode == ResponseCodes.OBEX_HTTP_FORBIDDEN
472 || responseCode == ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE) {
476 } else if (responseCode == ResponseCodes.OBEX_HTTP_UNSUPPORTED_TYPE) {
509 if (responseCode != ResponseCodes.OBEX_HTTP_OK) {
512 if (responseCode == ResponseCodes.OBEX_HTTP_UNSUPPORTED_TYPE)
    [all...]

Completed in 898 milliseconds

1 2