Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java46 private static final int HEADER_LENGTH = 6; field in SnepMessage
88 ndefOffset = HEADER_LENGTH + 4; in SnepMessage()
92 ndefOffset = HEADER_LENGTH; in SnepMessage()
125 buffer = new ByteArrayOutputStream(bytes.length + HEADER_LENGTH + 4); in toByteArray()
127 buffer = new ByteArrayOutputStream(bytes.length + HEADER_LENGTH); in toByteArray()
DSnepMessenger.java33 private static final int HEADER_LENGTH = 6; field in SnepMessenger
66 byte[] responseBytes = new byte[HEADER_LENGTH]; in sendMessage()
118 } else if (size < HEADER_LENGTH) { in getMessage()
126 readSize = size - HEADER_LENGTH; in getMessage()