OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ObexHelper
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/obex/javax/obex/
ObexSession.java
53
private static final boolean V =
ObexHelper
.VDBG;
81
byte[] challenge =
ObexHelper
.getTagValue((byte)0x00, header.mAuthChall);
82
byte[] option =
ObexHelper
.getTagValue((byte)0x01, header.mAuthChall);
83
byte[] description =
ObexHelper
.getTagValue((byte)0x02, header.mAuthChall);
92
case
ObexHelper
.OBEX_AUTH_REALM_CHARSET_ASCII:
95
case
ObexHelper
.OBEX_AUTH_REALM_CHARSET_ISO_8859_1:
104
case
ObexHelper
.OBEX_AUTH_REALM_CHARSET_UNICODE:
106
realm =
ObexHelper
.convertToUnicode(realmString, false);
179
System.arraycopy(
ObexHelper
.computeMd5Hash(digest), 0, header.mAuthResp, 2, 16);
201
byte[] correctPassword = mAuthenticator.onAuthenticationResponse(
ObexHelper
.getTagValue
[
all
...]
ServerOperation.java
62
private static final boolean V =
ObexHelper
.VDBG; // Verbose debugging
147
if ((request ==
ObexHelper
.OBEX_OPCODE_PUT) ||
148
(request ==
ObexHelper
.OBEX_OPCODE_PUT_FINAL)) {
157
if ((request &
ObexHelper
.OBEX_OPCODE_FINAL_BIT_MASK) == 0) {
163
} else if ((request ==
ObexHelper
.OBEX_OPCODE_GET) ||
164
(request ==
ObexHelper
.OBEX_OPCODE_GET_FINAL)) {
173
if (request ==
ObexHelper
.OBEX_OPCODE_GET_FINAL) {
185
if (packet.mLength >
ObexHelper
.getMaxRxPacketSize(mTransport)) {
188
+ packet.mLength + " maxLength: " +
ObexHelper
.getMaxRxPacketSize(mTransport));
235
mListener.setConnectionId(
ObexHelper
[
all
...]
ClientOperation.java
55
private static final boolean V =
ObexHelper
.VDBG;
187
mParent.sendRequest(
ObexHelper
.OBEX_OPCODE_ABORT, null, mReplyHeader, null, false);
328
byte[] headerArray =
ObexHelper
.createHeader(mRequestHeader, false);
445
byte[] headerArray =
ObexHelper
.createHeader(mRequestHeader, true);
459
if ((
ObexHelper
.BASE_PACKET_LENGTH + headerArray.length + MINIMUM_BODY_LENGTH)
468
end =
ObexHelper
.findHeaderEnd(headerArray, start, mMaxPacketSize
469
-
ObexHelper
.BASE_PACKET_LENGTH);
512
opCode |=
ObexHelper
.OBEX_OPCODE_FINAL_BIT_MASK;
537
&& ((opCode &
ObexHelper
.OBEX_OPCODE_FINAL_BIT_MASK) != 0)) {
555
if ((opCode &
ObexHelper
.OBEX_OPCODE_FINAL_BIT_MASK) == 0)
[
all
...]
ClientSession.java
63
private int mMaxTxPacketSize =
ObexHelper
.LOWER_LIMIT_MAX_PACKET_SIZE;
116
head =
ObexHelper
.createHeader(header, false);
129
int maxRxPacketSize =
ObexHelper
.getMaxRxPacketSize(mTransport);
142
if ((requestPacket.length + 3) >
ObexHelper
.MAX_PACKET_SIZE_INT) {
147
sendRequest(
ObexHelper
.OBEX_OPCODE_CONNECT, requestPacket, returnHeaderSet, null, false);
192
head.setHeader(HeaderSet.SINGLE_RESPONSE_MODE,
ObexHelper
.OBEX_SRM_ENABLE);
197
head.setHeader(HeaderSet.SINGLE_RESPONSE_MODE_PARAMETER,
ObexHelper
.OBEX_SRMP_WAIT);
212
mConnectionId =
ObexHelper
.convertToByteArray(id);
244
head =
ObexHelper
.createHeader(header, false);
259
sendRequest(
ObexHelper
.OBEX_OPCODE_DISCONNECT, head, returnHeaderSet, null, false)
[
all
...]
ServerSession.java
50
private static final boolean V =
ObexHelper
.VDBG;
101
case
ObexHelper
.OBEX_OPCODE_CONNECT:
105
case
ObexHelper
.OBEX_OPCODE_DISCONNECT:
110
case
ObexHelper
.OBEX_OPCODE_GET:
111
case
ObexHelper
.OBEX_OPCODE_GET_FINAL:
115
case
ObexHelper
.OBEX_OPCODE_PUT:
116
case
ObexHelper
.OBEX_OPCODE_PUT_FINAL:
120
case
ObexHelper
.OBEX_OPCODE_SETPATH:
123
case
ObexHelper
.OBEX_OPCODE_ABORT:
171
if (length >
ObexHelper
.getMaxRxPacketSize(mTransport))
[
all
...]
ObexHelper.java
52
public final class
ObexHelper
{
54
private static final String TAG = "
ObexHelper
";
64
private
ObexHelper
() {
283
headerImpl.setHeader(headerID,
ObexHelper
.convertToUnicode(
388
value =
ObexHelper
.convertToByteArray(intHeader.longValue());
399
value =
ObexHelper
.convertToUnicodeByteArray(stringHeader);
440
value =
ObexHelper
.convertToByteArray(intHeader.longValue());
521
value =
ObexHelper
.convertToByteArray(dateHeader.getTime().getTime() / 1000L);
532
value =
ObexHelper
.convertToUnicodeByteArray(stringHeader);
620
value =
ObexHelper
.convertToUnicodeByteArray(stringHeader)
[
all
...]
HeaderSet.java
689
mAuthChall =
ObexHelper
.computeAuthenticationChallenge(nonce, realm, access, userID);
Completed in 444 milliseconds