Home
last modified time | relevance | path

Searched refs:ReadFileChunk (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/payload_generator/
Dboot_img_filesystem.cc40 !utils::ReadFileChunk(filename, 0, BOOT_MAGIC_SIZE, &header_magic) || in CreateFromFile()
52 if (!utils::ReadFileChunk(filename, in CreateFromFile()
70 if (!utils::ReadFileChunk(filename, 0, header_size, &header_blob)) { in CreateFromFile()
114 if (utils::ReadFileChunk(filename_, offset, size, &data)) { in GetFile()
Dpayload_generation_config_android.cc101 utils::ReadFileChunk(part.path, offset, bytes_to_read, &buffer)); in VerifyVerityConfig()
108 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in VerifyVerityConfig()
137 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in LoadVerityConfig()
148 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in LoadVerityConfig()
159 TEST_AND_RETURN_FALSE(utils::ReadFileChunk(part.path, in LoadVerityConfig()
Ddeflate_utils.cc68 utils::ReadFileChunk(part_path, in IsSquashfsImage()
Ddelta_diff_utils.cc915 if (!utils::ReadFileChunk( in IsExtFilesystem()
/system/update_engine/payload_consumer/
Dpayload_metadata.cc207 utils::ReadFileChunk(payload_path, 0, kMaxPayloadHeaderSize, &payload)); in ParsePayloadFile()
212 utils::ReadFileChunk(payload_path, in ParsePayloadFile()
221 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in ParsePayloadFile()
/system/update_engine/common/
Dutils_unittest.cc75 TEST(UtilsTest, ReadFileChunk) { in TEST() argument
84 EXPECT_TRUE(utils::ReadFileChunk(file.path().c_str(), kSize, 10, &in_data)); in TEST()
86 EXPECT_TRUE(utils::ReadFileChunk(file.path().c_str(), 0, -1, &in_data)); in TEST()
89 EXPECT_TRUE(utils::ReadFileChunk(file.path().c_str(), 10, 20, &in_data)); in TEST()
Dutils.h101 bool ReadFileChunk(const std::string& path,
Dutils.cc350 bool ReadFileChunk(const string& path, in ReadFileChunk() function