Home
last modified time | relevance | path

Searched refs:ReadFullyAtOffset (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/install/
Dpackage.cpp57 bool ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) override;
105 bool ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) override;
176 bool MemoryPackage::ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) { in ReadFullyAtOffset() function in MemoryPackage
227 bool FilePackage::ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) { in ReadFullyAtOffset() function in FilePackage
234 if (!android::base::ReadFullyAtOffset(fd_.get(), buffer, byte_count, offset)) { in ReadFullyAtOffset()
254 if (!ReadFullyAtOffset(buffer.data(), read_size, start + so_far)) { in UpdateHashAtOffset()
Dverifier.cpp134 if (!package->ReadFullyAtOffset(footer, FOOTER_SIZE, length - FOOTER_SIZE)) { in verify_file()
176 if (!package->ReadFullyAtOffset(eocd, eocd_size, length - eocd_size)) { in verify_file()
/bootable/recovery/tests/unit/
Dpackage_test.cpp67 ASSERT_TRUE(package->ReadFullyAtOffset(buffer.data(), file_content_.size(), 0)); in TEST_F()
70 ASSERT_TRUE(package->ReadFullyAtOffset(buffer.data(), file_content_.size() - 10, 10)); in TEST_F()
79 ASSERT_FALSE(package->ReadFullyAtOffset(buffer.data(), file_content_.size(), 10)); in TEST_F()
/bootable/recovery/fuse_sideload/
Dfuse_provider.cpp68 if (!android::base::ReadFullyAtOffset(fd_, buffer, fetch_size, offset)) { in ReadBlockAlignedData()
112 if (!android::base::ReadFullyAtOffset(fd_, next_out, bytes_to_read, bytes_start)) { in ReadBlockAlignedData()
126 if (!android::base::ReadFullyAtOffset(fd_, next_out, tailing_bytes, tailing_offset)) { in ReadBlockAlignedData()
/bootable/recovery/install/include/install/
Dverifier.h70 virtual bool ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) = 0;