Home
last modified time | relevance | path

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

/frameworks/base/obex/javax/obex/
DObexSession.java160 header.mAuthResp = new byte[38 + userName.length]; in handleAuthChall()
161 header.mAuthResp[36] = (byte)0x01; in handleAuthChall()
162 header.mAuthResp[37] = (byte)userName.length; in handleAuthChall()
163 System.arraycopy(userName, 0, header.mAuthResp, 38, userName.length); in handleAuthChall()
165 header.mAuthResp = new byte[36]; in handleAuthChall()
176 header.mAuthResp[0] = (byte)0x00; in handleAuthChall()
177 header.mAuthResp[1] = (byte)0x10; in handleAuthChall()
179 System.arraycopy(ObexHelper.computeMd5Hash(digest), 0, header.mAuthResp, 2, 16); in handleAuthChall()
182 header.mAuthResp[18] = (byte)0x02; in handleAuthChall()
183 header.mAuthResp[19] = (byte)0x10; in handleAuthChall()
[all …]
DServerSession.java335 if (request.mAuthResp != null) { in handleSetPathRequest()
336 if (!handleAuthResp(request.mAuthResp)) { in handleSetPathRequest()
339 request.mAuthResp)); in handleSetPathRequest()
341 request.mAuthResp = null; in handleSetPathRequest()
350 reply.mAuthResp = new byte[request.mAuthResp.length]; in handleSetPathRequest()
351 System.arraycopy(request.mAuthResp, 0, reply.mAuthResp, 0, in handleSetPathRequest()
352 reply.mAuthResp.length); in handleSetPathRequest()
354 request.mAuthResp = null; in handleSetPathRequest()
458 if (request.mAuthResp != null) { in handleDisconnectRequest()
459 if (!handleAuthResp(request.mAuthResp)) { in handleDisconnectRequest()
[all …]
DServerOperation.java241 if (requestHeader.mAuthResp != null) { in handleObexPacket()
242 if (!mParent.handleAuthResp(requestHeader.mAuthResp)) { in handleObexPacket()
246 requestHeader.mAuthResp = null; in handleObexPacket()
249 requestHeader.mAuthResp = null; in handleObexPacket()
255 replyHeader.mAuthResp = new byte[requestHeader.mAuthResp.length]; in handleObexPacket()
256 System.arraycopy(requestHeader.mAuthResp, 0, replyHeader.mAuthResp, 0, in handleObexPacket()
257 replyHeader.mAuthResp.length); in handleObexPacket()
258 requestHeader.mAuthResp = null; in handleObexPacket()
DClientSession.java577 if (header.mAuthResp != null) { in sendRequest()
578 if (!handleAuthResp(header.mAuthResp)) { in sendRequest()
589 out.write((byte)((header.mAuthResp.length + 3) >> 8)); in sendRequest()
590 out.write((byte)(header.mAuthResp.length + 3)); in sendRequest()
591 out.write(header.mAuthResp); in sendRequest()
593 header.mAuthResp = null; in sendRequest()
DClientOperation.java142 if ((header).mAuthResp != null) { in ClientOperation()
143 mRequestHeader.mAuthResp = new byte[(header).mAuthResp.length]; in ClientOperation()
144 System.arraycopy((header).mAuthResp, 0, mRequestHeader.mAuthResp, 0, in ClientOperation()
145 (header).mAuthResp.length); in ClientOperation()
DObexHelper.java242 headerImpl.mAuthResp = new byte[length]; in updateHeaderSet()
243 System.arraycopy(headerArray, index, headerImpl.mAuthResp, 0, in updateHeaderSet()
680 if (headImpl.mAuthResp != null) { in createHeader()
682 length = headImpl.mAuthResp.length + 3; in createHeader()
686 out.write(headImpl.mAuthResp); in createHeader()
688 headImpl.mAuthResp = null; in createHeader()
DHeaderSet.java242 public byte[] mAuthResp; // The authentication response header field in HeaderSet