Home
last modified time | relevance | path

Searched refs:BlockData (Results 1 – 22 of 22) sorted by relevance

/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/table/packed/
DIntValuePackedTableTest.java28 import com.android.storage.block.read.BlockData;
51 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in valueSizeTooBig()
74 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in valueSizeMax_unsigned()
97 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in valueSizeMax_signed()
118 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in addEntry_outOfOrder()
141 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in getSharedData()
157 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in getEntry_unsignedValue()
176 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in getEntryByIndex()
199 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in getEntry_signedValue()
215 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in getEntry_emptyTable()
[all …]
DPackedTableReaderWriterTest.java28 import com.android.storage.block.read.BlockData;
88 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in headerFields()
111 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in entryGetValue_int()
136 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in entryGetValue_long()
162 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in valueSizeMax_unsigned()
186 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in valueSizeMax_signed()
207 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in addEntry_outOfOrder()
229 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in getSharedData()
244 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in getEntry_unsignedValue()
263 BlockData blockData = new BlockData(createByteBuffer(baos.toByteArray())); in getEntry_signedValue()
[all …]
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/block/
DBlockFileTest.java26 import com.android.storage.block.read.BlockData;
64 bfw.addBlock(1111, block1ExtraBytes, new BlockData(getByteBuffer(block1DataBytes))); in testReadWrite()
65 bfw.addBlock(2222, block2ExtraBytes, new BlockData(getByteBuffer(block2DataBytes))); in testReadWrite()
79 BlockData block1Data = block1.getData(); in testReadWrite()
92 BlockData block2Data = block2.getData(); in testReadWrite()
106 bfw.addBlock(1111, blockInfoExtraBytes, new BlockData(getByteBuffer(block1DataBytes))); in blockIdBounds()
107 bfw.addBlock(2222, blockInfoExtraBytes, new BlockData(getByteBuffer(block2DataBytes))); in blockIdBounds()
131 bfw.addBlock(1111, block1ExtraBytes, new BlockData(getByteBuffer(block1DataBytes))); in visit()
132 bfw.addBlock(2222, block2ExtraBytes, new BlockData(getByteBuffer(block2DataBytes))); in visit()
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/storage/block/write/
DEmptyBlockWriter.java19 import com.android.storage.block.read.BlockData;
33 private static final BlockData EMPTY_BLOCK_DATA = new BlockData(EMPTY_BYTE_BUFFER);
56 public BlockData getBlockData() { in close()
DBlockWriter.java19 import com.android.storage.block.read.BlockData;
52 BlockData getBlockData(); in getBlockData()
DBlockFileWriter.java19 import com.android.storage.block.read.BlockData;
77 public void addBlock(int blockType, byte[] blockInfoExtraBytes, BlockData blockData) in addBlock()
164 private static int copyAll(BlockData blockData, TypedOutputStream outputStream) in copyAll()
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/block/read/
DBlockDataTest.java46 BlockData blockData = new BlockData(ByteBuffer.wrap(blockDataBytes).asReadOnlyBuffer()); in getSize()
63 BlockData blockData = new BlockData(originalByteBuffer); in getByteBuffer()
92 BlockData blockData = new BlockData(ByteBuffer.wrap(blockDataBytes).asReadOnlyBuffer()); in typedRandomAccess()
/packages/services/Telephony/utils/satellite/s2storage/src/write/java/com/android/telephony/sats2range/write/
DHeaderBlockWriter.java19 import com.android.storage.block.read.BlockData;
71 BlockData blockData = new BlockData(map); in close()
84 public BlockData getBlockData() { in close()
DSuffixTableWriter.java21 import com.android.storage.block.read.BlockData;
168 BlockData blockData = new BlockData(map); in close()
181 public BlockData getBlockData() { in close()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/block/read/
DBlock.java33 private final BlockData mBlockData;
39 mBlockData = new BlockData(Objects.requireNonNull(dataBytes)); in Block()
53 public BlockData getData() { in getData()
DBlockData.java32 public final class BlockData { class
37 public BlockData(ByteBuffer dataBytes) { in BlockData() method in BlockData
/packages/services/Telephony/utils/satellite/s2storage/src/readonly/java/com/android/telephony/sats2range/read/
DHeaderBlock.java19 import com.android.storage.block.read.BlockData;
34 private HeaderBlock(BlockData blockData) { in HeaderBlock()
50 public static HeaderBlock wrap(BlockData blockData) { in wrap()
DSuffixTableBlock.java22 import com.android.storage.block.read.BlockData;
99 SatS2RangeFileFormat fileFormat, BlockData blockData) { in createPopulated()
/packages/modules/GeoTZ/tzs2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DHeaderBlockWriter.java19 import com.android.storage.block.read.BlockData;
117 BlockData blockData = new BlockData(map); in close()
130 public BlockData getBlockData() { in close()
DSuffixTableWriter.java21 import com.android.storage.block.read.BlockData;
175 BlockData blockData = new BlockData(map); in close()
188 public BlockData getBlockData() { in close()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/table/packed/read/
DIntValueTypedPackedTable.java19 import com.android.storage.block.read.BlockData;
32 public IntValueTypedPackedTable(BlockData blockData) { in IntValueTypedPackedTable()
36 public IntValueTypedPackedTable(BlockData blockData, boolean useBigSharedData) { in IntValueTypedPackedTable()
DBaseTypedPackedTable.java19 import com.android.storage.block.read.BlockData;
35 BaseTypedPackedTable(BlockData blockData, int maxValueTypeBits) { in BaseTypedPackedTable()
39 BaseTypedPackedTable(BlockData blockData, int maxValueTypeBits, boolean useBigSharedData) { in BaseTypedPackedTable()
DPackedTableReader.java19 import com.android.storage.block.read.BlockData;
44 private final BlockData mBlockData;
75 public PackedTableReader(BlockData blockData) { in PackedTableReader()
79 public PackedTableReader(BlockData blockData, boolean useBigSharedData) { in PackedTableReader()
/packages/modules/GeoTZ/tzs2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/
DHeaderBlock.java19 import com.android.storage.block.read.BlockData;
39 private HeaderBlock(BlockData blockData) { in HeaderBlock()
94 public static HeaderBlock wrap(BlockData blockData) { in wrap()
DSuffixTableBlock.java22 import com.android.storage.block.read.BlockData;
107 TzS2RangeFileFormat fileFormat, BlockData blockData) { in createPopulated()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/io/read/
DTypedInputStream.java19 import com.android.storage.block.read.BlockData;
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/storage/io/write/
DTypedOutputStream.java19 import com.android.storage.block.read.BlockData;