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

  /frameworks/base/obex/javax/obex/
ObexSession.java 76 byte[] challenge = ObexHelper.getTagValue((byte)0x00, header.mAuthChall);
77 byte[] option = ObexHelper.getTagValue((byte)0x01, header.mAuthChall);
78 byte[] description = ObexHelper.getTagValue((byte)0x02, header.mAuthChall);
87 case ObexHelper.OBEX_AUTH_REALM_CHARSET_ASCII:
90 case ObexHelper.OBEX_AUTH_REALM_CHARSET_ISO_8859_1:
99 case ObexHelper.OBEX_AUTH_REALM_CHARSET_UNICODE:
101 realm = ObexHelper.convertToUnicode(realmString, false);
173 System.arraycopy(ObexHelper.computeMd5Hash(digest), 0, header.mAuthResp, 2, 16);
195 byte[] correctPassword = mAuthenticator.onAuthenticationResponse(ObexHelper.getTagValue(
206 byte[] correctResponse = ObexHelper.computeMd5Hash(temp)
    [all...]
ClientSession.java 88 head = ObexHelper.createHeader(header, false);
105 requestPacket[2] = (byte)(ObexHelper.MAX_PACKET_SIZE_INT >> 8);
106 requestPacket[3] = (byte)(ObexHelper.MAX_PACKET_SIZE_INT & 0xFF);
112 if ((requestPacket.length + 3) > ObexHelper.MAX_PACKET_SIZE_INT) {
117 sendRequest(ObexHelper.OBEX_OPCODE_CONNECT, requestPacket, returnHeaderSet, null);
171 mConnectionId = ObexHelper.convertToByteArray(id);
203 head = ObexHelper.createHeader(header, false);
218 sendRequest(ObexHelper.OBEX_OPCODE_DISCONNECT, head, returnHeaderSet, null);
243 return ObexHelper.convertToLong(mConnectionId);
314 head = ObexHelper.createHeader(headset, false)
    [all...]
ServerSession.java 96 case ObexHelper.OBEX_OPCODE_CONNECT:
100 case ObexHelper.OBEX_OPCODE_DISCONNECT:
105 case ObexHelper.OBEX_OPCODE_GET:
106 case ObexHelper.OBEX_OPCODE_GET_FINAL:
110 case ObexHelper.OBEX_OPCODE_PUT:
111 case ObexHelper.OBEX_OPCODE_PUT_FINAL:
115 case ObexHelper.OBEX_OPCODE_SETPATH:
118 case ObexHelper.OBEX_OPCODE_ABORT:
166 if (length > ObexHelper.MAX_PACKET_SIZE_INT) {
307 if (length > ObexHelper.MAX_PACKET_SIZE_INT)
    [all...]
ServerOperation.java 161 if (length > ObexHelper.MAX_PACKET_SIZE_INT) {
177 byte[] body = ObexHelper.updateHeaderSet(requestHeader, data);
184 mListener.setConnectionId(ObexHelper.convertToLong(requestHeader.mConnectionID));
293 replyHeader.mConnectionID = ObexHelper.convertToByteArray(id);
296 byte[] headerArray = ObexHelper.createHeader(replyHeader, true);
305 if ((ObexHelper.BASE_PACKET_LENGTH + headerArray.length) > mMaxPacketLength) {
311 end = ObexHelper.findHeaderEnd(headerArray, start, mMaxPacketLength
312 - ObexHelper.BASE_PACKET_LENGTH);
405 if ((headerID != ObexHelper.OBEX_OPCODE_PUT)
406 && (headerID != ObexHelper.OBEX_OPCODE_PUT_FINAL
    [all...]
ClientOperation.java 167 mParent.sendRequest(ObexHelper.OBEX_OPCODE_ABORT, null, mReplyHeader, null);
306 byte[] headerArray = ObexHelper.createHeader(mRequestHeader, false);
421 byte[] headerArray = ObexHelper.createHeader(mRequestHeader, true);
434 if ((ObexHelper.BASE_PACKET_LENGTH + headerArray.length) > mMaxPacketSize) {
441 end = ObexHelper.findHeaderEnd(headerArray, start, mMaxPacketSize
442 - ObexHelper.BASE_PACKET_LENGTH);
689 byte[] headerArray = ObexHelper.createHeader(mRequestHeader, false);
742 byte[] headerArray = ObexHelper.createHeader(mRequestHeader, false);
ObexHelper.java 49 public final class ObexHelper {
59 private ObexHelper() {
266 headerImpl.setHeader(headerID, ObexHelper.convertToUnicode(
371 value = ObexHelper.convertToByteArray(intHeader.longValue());
382 value = ObexHelper.convertToUnicodeByteArray(stringHeader);
423 value = ObexHelper.convertToByteArray(intHeader.longValue());
504 value = ObexHelper.convertToByteArray(dateHeader.getTime().getTime() / 1000L);
515 value = ObexHelper.convertToUnicodeByteArray(stringHeader);
603 value = ObexHelper.convertToUnicodeByteArray(stringHeader);
642 out.write(ObexHelper.convertToByteArray(intHeader.longValue()))
    [all...]
HeaderSet.java 632 mAuthChall = ObexHelper.computeAuthenticationChallenge(nonce, realm, access, userID);

Completed in 692 milliseconds