Searched refs:INTEGER_BYTE_COUNT (Results 1 – 2 of 2) sorted by relevance
146 private static final int INTEGER_BYTE_COUNT = Integer.SIZE / Byte.SIZE; field in SettingsBackupAgent796 pos += INTEGER_BYTE_COUNT; in restoreSettings()800 pos += INTEGER_BYTE_COUNT; in restoreSettings()1002 totalSize += INTEGER_BYTE_COUNT + keyBytes.length; in extractRelevantValues()1006 totalSize += INTEGER_BYTE_COUNT + valueBytes.length; in extractRelevantValues()1263 byte[] sizeAndString = new byte[stringBytes.length + INTEGER_BYTE_COUNT]; in toByteArray()1265 writeBytes(sizeAndString, INTEGER_BYTE_COUNT, stringBytes); in toByteArray()1271 byte[] result = new byte[INTEGER_BYTE_COUNT]; in toByteArray()1298 return pos + INTEGER_BYTE_COUNT; in writeInt()1307 return readInt(in, pos.getAndAdd(INTEGER_BYTE_COUNT)); in readInt()
409 private static final int INTEGER_BYTE_COUNT = Integer.SIZE / Byte.SIZE; field in AutoGrowByteBuffer457 ensureCapacity(INTEGER_BYTE_COUNT); in putInt()