OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ResponseCodes
(Results
1 - 24
of
24
) 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
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) {
636
mReplyHeader.responseCode =
ResponseCodes
.OBEX_HTTP_CONTINUE;
638
ResponseCodes
.OBEX_HTTP_CONTINUE)) {
644
if (mReplyHeader.responseCode ==
ResponseCodes
.OBEX_HTTP_CONTINUE) {
648
if (mReplyHeader.responseCode !=
ResponseCodes
.OBEX_HTTP_CONTINUE)
[
all
...]
ServerSession.java
142
sendResponse(
ResponseCodes
.OBEX_HTTP_NOT_IMPLEMENTED, null);
164
int code =
ResponseCodes
.OBEX_HTTP_OK;
171
code =
ResponseCodes
.OBEX_HTTP_REQ_TOO_LARGE;
207
if (response !=
ResponseCodes
.OBEX_HTTP_OK && !op.isAborted) {
212
op.sendReply(
ResponseCodes
.OBEX_HTTP_CONTINUE);
224
sendResponse(
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR, null);
252
sendResponse(
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR, null);
314
code =
ResponseCodes
.OBEX_HTTP_REQ_TOO_LARGE;
336
code =
ResponseCodes
.OBEX_HTTP_UNAUTHORIZED;
344
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);
205
sendReply(
ResponseCodes
.OBEX_HTTP_CONTINUE);
219
sendReply(
ResponseCodes
.OBEX_HTTP_CONTINUE);
227
sendReply(
ResponseCodes
.OBEX_HTTP_CONTINUE);
254
mParent.sendResponse(
ResponseCodes
.OBEX_HTTP_UNAUTHORIZED, null);
346
sendReply(
ResponseCodes
.OBEX_HTTP_CONTINUE);
350
sendReply(
ResponseCodes
.OBEX_HTTP_CONTINUE);
360
sendReply(
ResponseCodes
.OBEX_HTTP_CONTINUE);
428
mParent.sendResponse(
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR, null);
450
if (mGetOperation && type ==
ResponseCodes
.OBEX_HTTP_OK)
[
all
...]
ClientSession.java
158
if (returnHeaderSet.responseCode ==
ResponseCodes
.OBEX_HTTP_OK) {
584
if ((header.responseCode ==
ResponseCodes
.OBEX_HTTP_UNAUTHORIZED)
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
MnsObexServer.java
29
import javax.obex.
ResponseCodes
;
76
return
ResponseCodes
.OBEX_HTTP_NOT_ACCEPTABLE;
81
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
85
return
ResponseCodes
.OBEX_HTTP_OK;
100
return
ResponseCodes
.OBEX_HTTP_BAD_REQUEST;
116
return
ResponseCodes
.OBEX_HTTP_BAD_REQUEST;
129
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
131
return
ResponseCodes
.OBEX_HTTP_OK;
139
return
ResponseCodes
.OBEX_HTTP_NOT_IMPLEMENTED;
148
return
ResponseCodes
.OBEX_HTTP_BAD_REQUEST
[
all
...]
MasClient.java
36
import javax.obex.
ResponseCodes
;
123
if (headerset.getResponseCode() ==
ResponseCodes
.OBEX_HTTP_OK) {
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapObexServer.java
45
import javax.obex.
ResponseCodes
;
346
return
ResponseCodes
.OBEX_HTTP_NOT_ACCEPTABLE;
354
return
ResponseCodes
.OBEX_HTTP_NOT_ACCEPTABLE;
359
return
ResponseCodes
.OBEX_HTTP_NOT_ACCEPTABLE;
365
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
386
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
409
return
ResponseCodes
.OBEX_HTTP_OK;
421
resp.responseCode =
ResponseCodes
.OBEX_HTTP_OK;
439
return
ResponseCodes
.OBEX_HTTP_OK;
491
return
ResponseCodes
.OBEX_HTTP_UNAVAILABLE
[
all
...]
BluetoothMnsObexClient.java
37
import javax.obex.
ResponseCodes
;
536
if (responseCode !=
ResponseCodes
.OBEX_HTTP_OK) {
BluetoothMapContentObserver.java
81
import javax.obex.
ResponseCodes
;
[
all
...]
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
RequestSetPath.java
23
import javax.obex.
ResponseCodes
;
66
mResponseCode =
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
RequestPushMessage.java
26
import javax.obex.
ResponseCodes
;
65
mResponseCode =
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
67
mResponseCode =
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
Request.java
27
import javax.obex.
ResponseCodes
;
113
mResponseCode =
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
136
mResponseCode =
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
143
return (mResponseCode ==
ResponseCodes
.OBEX_HTTP_OK);
RequestGetMessage.java
35
import javax.obex.
ResponseCodes
;
91
mResponseCode =
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
BluetoothPbapRequest.java
27
import javax.obex.
ResponseCodes
;
57
return (mResponseCode ==
ResponseCodes
.OBEX_HTTP_OK);
65
mResponseCode =
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
96
mResponseCode =
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
PbapClientConnectionHandler.java
41
import javax.obex.
ResponseCodes
;
336
(connectionResponse.getResponseCode() ==
ResponseCodes
.OBEX_HTTP_OK);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapObexServer.java
58
import javax.obex.
ResponseCodes
;
235
return
ResponseCodes
.OBEX_HTTP_NOT_ACCEPTABLE;
243
return
ResponseCodes
.OBEX_HTTP_NOT_ACCEPTABLE;
248
return
ResponseCodes
.OBEX_HTTP_NOT_ACCEPTABLE;
254
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
267
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
275
return
ResponseCodes
.OBEX_HTTP_BAD_REQUEST;
279
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
286
return
ResponseCodes
.OBEX_HTTP_OK;
298
resp.responseCode =
ResponseCodes
.OBEX_HTTP_OK
[
all
...]
BluetoothPbapVcardManager.java
67
import javax.obex.
ResponseCodes
;
482
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
550
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
588
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
731
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
744
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
762
return
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR;
779
return
ResponseCodes
.OBEX_HTTP_OK;
[
all
...]
PbapStateMachine.java
47
import javax.obex.
ResponseCodes
;
246
new ObexRejectServer(
ResponseCodes
.OBEX_HTTP_UNAVAILABLE, mConnSocket);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexServerSession.java
60
import javax.obex.
ResponseCodes
;
192
return
ResponseCodes
.OBEX_HTTP_FORBIDDEN;
217
return
ResponseCodes
.OBEX_HTTP_BAD_REQUEST;
224
return
ResponseCodes
.OBEX_HTTP_LENGTH_REQUIRED;
231
return
ResponseCodes
.OBEX_HTTP_BAD_REQUEST;
241
return
ResponseCodes
.OBEX_HTTP_BAD_REQUEST;
256
return
ResponseCodes
.OBEX_HTTP_UNSUPPORTED_TYPE;
268
return
ResponseCodes
.OBEX_HTTP_UNSUPPORTED_TYPE;
347
int obexResponse =
ResponseCodes
.OBEX_HTTP_OK;
360
obexResponse =
ResponseCodes
.OBEX_HTTP_INTERNAL_ERROR
[
all
...]
BluetoothOppObexClientSession.java
58
import javax.obex.
ResponseCodes
;
491
if (responseCode ==
ResponseCodes
.OBEX_HTTP_CONTINUE
492
|| responseCode ==
ResponseCodes
.OBEX_HTTP_OK) {
520
if (responseCode !=
ResponseCodes
.OBEX_HTTP_CONTINUE
521
&& responseCode !=
ResponseCodes
.OBEX_HTTP_OK) {
547
if (responseCode ==
ResponseCodes
.OBEX_HTTP_FORBIDDEN
548
|| responseCode ==
ResponseCodes
.OBEX_HTTP_NOT_ACCEPTABLE) {
552
} else if (responseCode ==
ResponseCodes
.OBEX_HTTP_UNSUPPORTED_TYPE) {
592
if (responseCode !=
ResponseCodes
.OBEX_HTTP_OK) {
595
if (responseCode ==
ResponseCodes
.OBEX_HTTP_UNSUPPORTED_TYPE)
[
all
...]
TestActivity.java
67
import javax.obex.
ResponseCodes
;
523
return
ResponseCodes
.OBEX_HTTP_OK;
557
return
ResponseCodes
.OBEX_HTTP_OK;
577
return
ResponseCodes
.OBEX_HTTP_NOT_IMPLEMENTED;
582
return
ResponseCodes
.OBEX_HTTP_NOT_IMPLEMENTED;
587
return
ResponseCodes
.OBEX_HTTP_NOT_IMPLEMENTED;
/packages/apps/Bluetooth/src/com/android/bluetooth/
ObexServerSockets.java
25
import javax.obex.
ResponseCodes
;
353
new ObexRejectServer(
ResponseCodes
.OBEX_HTTP_UNAVAILABLE,
Completed in 590 milliseconds