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