/packages/modules/adb/ |
D | types.h | 32 struct Block { struct 35 Block() = default; argument 37 explicit Block(size_t size) { allocate(size); } in Block() function 40 Block(Iterator begin, Iterator end) : Block(end - begin) { in Block() function 44 Block(const Block& copy) = delete; 45 Block(Block&& move) noexcept in Block() argument 50 Block& operator=(const Block& copy) = delete; argument 51 Block& operator=(Block&& move) noexcept { 59 ~Block() = default; 99 bool operator==(const Block& rhs) const { argument [all …]
|
D | compression_utils.h | 47 void Append(Block&& block) { input_buffer_.append(std::move(block)); } in Append() 69 void Append(Block input) { input_buffer_.append(std::move(input)); } in Append() 79 virtual EncodeResult Encode(Block* output) = 0; 113 EncodeResult Encode(Block* output) final { in Encode() 188 EncodeResult Encode(Block* output) final { in Encode() 230 Block output_block_; 294 Block header(LZ4F_HEADER_SIZE_MAX); in LZ4Encoder() 309 EncodeResult Encode(Block* output) final { in Encode() 330 Block encode_block(encode_block_size); in Encode() 353 Block final_block(encode_block_size + 4); in Encode() [all …]
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/block/read/ |
D | BlockMatcher.java | 22 public class BlockMatcher implements ArgumentMatcher<Block> { 24 private final Block mBlock; 26 public BlockMatcher(Block block) { in BlockMatcher() 31 public boolean matches(Block block) { in matches()
|
D | BlockTest.java | 36 Block block = new Block(id, type, blockData); in visit() 37 Block.BlockVisitor mockVisitor = mock(Block.BlockVisitor.class); in visit()
|
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/block/ |
D | BlockFileTest.java | 25 import com.android.timezone.location.storage.block.read.Block; 74 Block block1 = bfr.getBlock(0); in testReadWrite() 87 Block block2 = bfr.getBlock(1); in testReadWrite() 142 Block block1111 = bfr.getBlock(0); in visit() 143 Block block2222 = bfr.getBlock(1); in visit()
|
/packages/modules/GeoTZ/s2storage/tools/src/java/com/android/timezone/location/tools/dump/ |
D | BlockDumper.java | 19 import com.android.timezone.location.storage.block.read.Block; 24 public final class BlockDumper extends SingleFileDumper implements Block.BlockVisitor { 31 public void visit(Block block) { in visit()
|
D | BlockFileDumper.java | 21 import com.android.timezone.location.storage.block.read.Block; 58 public void visitBlock(Block block) throws VisitException { in visitBlock()
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/block/read/ |
D | Block.java | 27 public final class Block { class 36 public Block(int id, int type, ByteBuffer dataBytes) { in Block() method in Block 61 void visit(Block block) throws VisitException; in visit()
|
D | BlockFileReader.java | 144 public Block getBlock(int blockId) throws IOException { in getBlock() 149 return new Block(blockId, blockInfo.getType(), EMPTY_BYTE_BUFFER); in getBlock() 197 return new Block(actualId, actualType, blockDataBytes); in getBlock() 220 void visitBlock(Block block) throws VisitException; in visitBlock()
|
/packages/modules/adb/daemon/ |
D | usb.cpp | 97 using IoReadBlock = IoBlock<Block>; 98 using IoWriteBlock = IoBlock<std::shared_ptr<Block>>; 183 auto header = std::make_shared<Block>(sizeof(packet->msg)); in Write() 193 auto payload = std::make_shared<Block>(std::move(packet->payload)); in Write() 464 block->payload = Block(kUsbReadSize); in PrepareReadBlock() 625 IoWriteBlock CreateWriteBlock(std::shared_ptr<Block> payload, size_t offset, size_t len, in CreateWriteBlock() 642 IoWriteBlock CreateWriteBlock(Block&& payload, uint64_t id) { in CreateWriteBlock() 644 return CreateWriteBlock(std::make_shared<Block>(std::move(payload)), 0, len, id); in CreateWriteBlock()
|
D | file_sync_service.cpp | 274 Block buffer(SYNC_DATA_MAX); in handle_send_file_data() 308 Block block(msg.data.size); in handle_send_file_data() 676 Block input(SYNC_DATA_MAX); in recv_impl() 691 Block output; in recv_impl()
|
D | services.cpp | 228 Block block(len); in Ready()
|
/packages/modules/adb/client/ |
D | usb_libusb.cpp | 104 Block block; 111 Block block; 120 void HandlePacket(amessage& msg, std::optional<Block> payload) { in HandlePacket() 281 void SubmitWrite(Block&& block) REQUIRES(write_mutex_) { in SubmitWrite() 302 Block header; in Write() 320 Block empty; in Write()
|
D | file_sync_client.cpp | 359 Block buf; in SendSend2() 411 Block buf; in SendRecv2() 672 Block input(SYNC_DATA_MAX); in SendLargeFile() 690 Block output; in SendLargeFile() 941 Block acknowledgement_buffer_; 1153 Block buffer(SYNC_DATA_MAX); in sync_recv_v2() 1203 Block block(msg.data.size); in sync_recv_v2()
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/ |
D | TzS2RangeFileReader.java | 19 import com.android.timezone.location.storage.block.read.Block; 79 Block firstBlock = mBlockFileReader.getBlock(headerBlockId); in initialize() 187 Block block = mBlockFileReader.getBlock(prefix + mFileFormat.getSuffixTableBlockIdOffset()); in getSuffixTableBlockForPrefix()
|
/packages/modules/GeoTZ/s2storage/ |
D | README.md | 13 Block file format information 101 The Header Block
|
/packages/apps/Dialer/java/com/android/dialer/logging/ |
D | dialer_impression.proto | 100 // "Block", and "Dismiss". 104 // contact", "Block/report spam", and "Dismiss".
|
/packages/modules/DnsResolver/ |
D | stats.proto | 231 SYS_ENOTBLK = 15; // Block device required
|