Home
last modified time | relevance | path

Searched refs:HEADER_LENGTH (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java61 private static final int HEADER_LENGTH = 6; field in SnepMessage
148 ndefOffset = HEADER_LENGTH + 4; in SnepMessage()
152 ndefOffset = HEADER_LENGTH; in SnepMessage()
197 buffer = new ByteArrayOutputStream(bytes.length + HEADER_LENGTH + 4); in toByteArray()
199 buffer = new ByteArrayOutputStream(bytes.length + HEADER_LENGTH); in toByteArray()
DSnepMessenger.java36 private static final int HEADER_LENGTH = 6; field in SnepMessenger
69 byte[] responseBytes = new byte[HEADER_LENGTH]; in sendMessage()
162 } else if (size < HEADER_LENGTH) { in getMessage()
177 readSize = size - HEADER_LENGTH; in getMessage()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java444 public static final int HEADER_LENGTH = 4; field in TcpSocketTracker.RoutingAttribute
457 return (short) (rtaLen - HEADER_LENGTH); in getDataLength()