Searched refs:HeaderSet (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/obex/javax/obex/ |
D | ObexHelper.java | 186 public static byte[] updateHeaderSet(HeaderSet header, byte[] headerArray) throws IOException { in updateHeaderSet() 192 HeaderSet headerImpl = header; in updateHeaderSet() 226 case HeaderSet.TYPE: in updateHeaderSet() 241 case HeaderSet.AUTH_CHALLENGE: in updateHeaderSet() 247 case HeaderSet.AUTH_RESPONSE: in updateHeaderSet() 253 case HeaderSet.BODY: in updateHeaderSet() 255 case HeaderSet.END_OF_BODY: in updateHeaderSet() 261 case HeaderSet.TIME_ISO_8601: in updateHeaderSet() 281 headerImpl.setHeader(HeaderSet.TIME_ISO_8601, temp); in updateHeaderSet() 323 if (headerID != HeaderSet.TIME_4_BYTE) { in updateHeaderSet() [all …]
|
D | ServerRequestHandler.java | 127 public int onConnect(HeaderSet request, HeaderSet reply) { in onConnect() 142 public void onDisconnect(HeaderSet request, HeaderSet reply) { in onDisconnect() 171 public int onSetPath(HeaderSet request, HeaderSet reply, boolean backup, boolean create) { in onSetPath() 195 public int onDelete(HeaderSet request, HeaderSet reply) { in onDelete() 202 public int onAbort(HeaderSet request, HeaderSet reply) { in onAbort()
|
D | ClientSession.java | 100 public HeaderSet connect(final HeaderSet header) throws IOException { in connect() 146 HeaderSet returnHeaderSet = new HeaderSet(); in connect() 166 public Operation get(HeaderSet header) throws IOException { in get() 175 HeaderSet head; in get() 177 head = new HeaderSet(); in get() 192 head.setHeader(HeaderSet.SINGLE_RESPONSE_MODE, ObexHelper.OBEX_SRM_ENABLE); in get() 215 public HeaderSet delete(HeaderSet header) throws IOException { in delete() 219 HeaderSet returnValue = op.getReceivedHeader(); in delete() 225 public HeaderSet disconnect(HeaderSet header) throws IOException { in disconnect() 253 head[0] = (byte)HeaderSet.CONNECTION_ID; in disconnect() [all …]
|
D | ClientOperation.java | 79 private HeaderSet mRequestHeader; 81 private HeaderSet mReplyHeader; 107 public ClientOperation(int maxSize, ClientSession p, HeaderSet header, boolean type) in ClientOperation() 123 mReplyHeader = new HeaderSet(); in ClientOperation() 125 mRequestHeader = new HeaderSet(); in ClientOperation() 235 return (String)mReplyHeader.getHeader(HeaderSet.TYPE); in getType() 251 Long temp = (Long)mReplyHeader.getHeader(HeaderSet.LENGTH); in getLength() 358 public HeaderSet getReceivedHeader() throws IOException { in getReceivedHeader() 374 public void sendHeaders(HeaderSet headers) throws IOException { in sendHeaders() 538 out.write(HeaderSet.END_OF_BODY); in sendRequest() [all …]
|
D | ServerSession.java | 165 HeaderSet request = new HeaderSet(); in handleAbortRequest() 166 HeaderSet reply = new HeaderSet(); in handleAbortRequest() 305 HeaderSet request = new HeaderSet(); in handleSetPathRequest() 306 HeaderSet reply = new HeaderSet(); in handleSetPathRequest() 429 HeaderSet request = new HeaderSet(); in handleDisconnectRequest() 430 HeaderSet reply = new HeaderSet(); in handleDisconnectRequest() 538 HeaderSet request = new HeaderSet(); in handleConnectRequest() 539 HeaderSet reply = new HeaderSet(); in handleConnectRequest()
|
D | ServerOperation.java | 66 public HeaderSet requestHeader; 68 public HeaderSet replyHeader; 133 requestHeader = new HeaderSet(); in ServerOperation() 134 replyHeader = new HeaderSet(); in ServerOperation() 289 Byte srmMode = (Byte)requestHeader.getHeader(HeaderSet.SINGLE_RESPONSE_MODE); in updateRequestHeaders() 314 Byte srmp = (Byte)requestHeader.getHeader(HeaderSet.SINGLE_RESPONSE_MODE_PARAMETER); in checkForSrmWait() 319 requestHeader.setHeader(HeaderSet.SINGLE_RESPONSE_MODE_PARAMETER, null); in checkForSrmWait() 392 replyHeader.setHeader(HeaderSet.SINGLE_RESPONSE_MODE, (byte)ObexHelper.OBEX_SRM_ENABLE); in sendReply() 397 replyHeader.setHeader(HeaderSet.SINGLE_RESPONSE_MODE, (byte)ObexHelper.OBEX_SRMP_WAIT); in sendReply() 656 public HeaderSet getReceivedHeader() throws IOException { in getReceivedHeader() [all …]
|
D | Operation.java | 137 HeaderSet getReceivedHeader() throws IOException; in getReceivedHeader() 150 void sendHeaders(HeaderSet headers) throws IOException; in sendHeaders()
|
D | HeaderSet.java | 46 public final class HeaderSet { class 252 public HeaderSet() { in HeaderSet() method in HeaderSet
|
D | ObexSession.java | 67 public boolean handleAuthChall(HeaderSet header) throws IOException { in handleAuthChall()
|