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.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()
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/
DWaveHeader.java43 private static final int HEADER_LENGTH = 44; field in WaveHeader
207 return HEADER_LENGTH; in read()
250 return HEADER_LENGTH; in write()