Searched refs:TAG_LENGTH (Results 1 – 1 of 1) sorted by relevance
78 private static final int TAG_LENGTH = 4; field in EventLog.Event141 if ((offset + TAG_LENGTH) >= mBuffer.limit()) { in getData()145 mBuffer.position(offset + TAG_LENGTH); // Just after the tag. in getData()165 if (payload.length > 65535 - TAG_LENGTH) { in withNewData()169 byte[] newBytes = new byte[headerLength + TAG_LENGTH + payload.length]; in withNewData()171 System.arraycopy(mBuffer.array(), 0, newBytes, 0, headerLength + TAG_LENGTH); in withNewData() local173 System.arraycopy(payload, 0, newBytes, headerLength + TAG_LENGTH, payload.length); in withNewData()176 result.mBuffer.putShort(LENGTH_OFFSET, (short) (payload.length + TAG_LENGTH)); in withNewData()