Home
last modified time | relevance | path

Searched refs:headerId (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/obex/javax/obex/
DObexPacket.java28 private ObexPacket(int headerId, int length) { in ObexPacket() argument
29 mHeaderId = headerId; in ObexPacket()
40 int headerId = is.read(); in read() local
41 return read(headerId, is); in read()
51 public static ObexPacket read(int headerId, InputStream is) throws IOException { in read() argument
56 ObexPacket newPacket = new ObexPacket(headerId, length); in read()
DServerOperation.java308 private void checkForSrmWait(int headerId){ in checkForSrmWait() argument
309 if (mSrmEnabled && (headerId == ObexHelper.OBEX_OPCODE_GET in checkForSrmWait()
310 || headerId == ObexHelper.OBEX_OPCODE_GET_FINAL in checkForSrmWait()
311 || headerId == ObexHelper.OBEX_OPCODE_PUT)) { in checkForSrmWait()
540 int headerId = packet.mHeaderId; in sendReply() local
541 if ((headerId != ObexHelper.OBEX_OPCODE_PUT) in sendReply()
542 && (headerId != ObexHelper.OBEX_OPCODE_PUT_FINAL) in sendReply()
543 && (headerId != ObexHelper.OBEX_OPCODE_GET) in sendReply()
544 && (headerId != ObexHelper.OBEX_OPCODE_GET_FINAL)) { in sendReply()
549 if (headerId == ObexHelper.OBEX_OPCODE_ABORT) { in sendReply()
[all …]