Home
last modified time | relevance | path

Searched refs:mAuthResp (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/obex/javax/obex/
DObexSession.java154 header.mAuthResp = new byte[38 + userName.length]; in handleAuthChall()
155 header.mAuthResp[36] = (byte)0x01; in handleAuthChall()
156 header.mAuthResp[37] = (byte)userName.length; in handleAuthChall()
157 System.arraycopy(userName, 0, header.mAuthResp, 38, userName.length); in handleAuthChall()
159 header.mAuthResp = new byte[36]; in handleAuthChall()
170 header.mAuthResp[0] = (byte)0x00; in handleAuthChall()
171 header.mAuthResp[1] = (byte)0x10; in handleAuthChall()
173 System.arraycopy(ObexHelper.computeMd5Hash(digest), 0, header.mAuthResp, 2, 16); in handleAuthChall()
176 header.mAuthResp[18] = (byte)0x02; in handleAuthChall()
177 header.mAuthResp[19] = (byte)0x10; in handleAuthChall()
[all …]
DServerOperation.java189 if (requestHeader.mAuthResp != null) { in ServerOperation()
190 if (!mParent.handleAuthResp(requestHeader.mAuthResp)) { in ServerOperation()
194 requestHeader.mAuthResp = null; in ServerOperation()
202 replyHeader.mAuthResp = new byte[requestHeader.mAuthResp.length]; in ServerOperation()
203 System.arraycopy(requestHeader.mAuthResp, 0, replyHeader.mAuthResp, 0, in ServerOperation()
204 replyHeader.mAuthResp.length); in ServerOperation()
205 requestHeader.mAuthResp = null; in ServerOperation()
474 if (requestHeader.mAuthResp != null) { in sendReply()
475 if (!mParent.handleAuthResp(requestHeader.mAuthResp)) { in sendReply()
479 requestHeader.mAuthResp = null; in sendReply()
[all …]
DServerSession.java328 if (request.mAuthResp != null) { in handleSetPathRequest()
329 if (!handleAuthResp(request.mAuthResp)) { in handleSetPathRequest()
332 request.mAuthResp)); in handleSetPathRequest()
334 request.mAuthResp = null; in handleSetPathRequest()
343 reply.mAuthResp = new byte[request.mAuthResp.length]; in handleSetPathRequest()
344 System.arraycopy(request.mAuthResp, 0, reply.mAuthResp, 0, in handleSetPathRequest()
345 reply.mAuthResp.length); in handleSetPathRequest()
347 request.mAuthResp = null; in handleSetPathRequest()
450 if (request.mAuthResp != null) { in handleDisconnectRequest()
451 if (!handleAuthResp(request.mAuthResp)) { in handleDisconnectRequest()
[all …]
DClientSession.java489 if (header.mAuthResp != null) { in sendRequest()
490 if (!handleAuthResp(header.mAuthResp)) { in sendRequest()
501 out.write((byte)((header.mAuthResp.length + 3) >> 8)); in sendRequest()
502 out.write((byte)(header.mAuthResp.length + 3)); in sendRequest()
503 out.write(header.mAuthResp); in sendRequest()
505 header.mAuthResp = null; in sendRequest()
DClientOperation.java122 if ((header).mAuthResp != null) { in ClientOperation()
123 mRequestHeader.mAuthResp = new byte[(header).mAuthResp.length]; in ClientOperation()
124 System.arraycopy((header).mAuthResp, 0, mRequestHeader.mAuthResp, 0, in ClientOperation()
125 (header).mAuthResp.length); in ClientOperation()
DObexHelper.java225 headerImpl.mAuthResp = new byte[length]; in updateHeaderSet()
226 System.arraycopy(headerArray, index, headerImpl.mAuthResp, 0, in updateHeaderSet()
663 if (headImpl.mAuthResp != null) { in createHeader()
665 length = headImpl.mAuthResp.length + 3; in createHeader()
669 out.write(headImpl.mAuthResp); in createHeader()
671 headImpl.mAuthResp = null; in createHeader()
DHeaderSet.java221 public byte[] mAuthResp; // The authentication response header field in HeaderSet