Home
last modified time | relevance | path

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

/aosp12/system/update_engine/payload_generator/
H A 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()
H A 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()
H A Ddeflate_utils.cc68 utils::ReadFileChunk(part_path, in IsSquashfsImage()
H A Ddelta_diff_utils.cc911 if (!utils::ReadFileChunk( in IsExtFilesystem()
/aosp12/system/update_engine/payload_consumer/
H A Dpayload_metadata.cc230 utils::ReadFileChunk(payload_path, 0, kMaxPayloadHeaderSize, &payload)); in ParsePayloadFile()
235 utils::ReadFileChunk(payload_path, in ParsePayloadFile()
244 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in ParsePayloadFile()
/aosp12/system/update_engine/common/
H A Dutils_unittest.cc62 TEST(UtilsTest, ReadFileChunk) { in TEST() argument
71 EXPECT_TRUE(utils::ReadFileChunk(file.path().c_str(), kSize, 10, &in_data)); in TEST()
73 EXPECT_TRUE(utils::ReadFileChunk(file.path().c_str(), 0, -1, &in_data)); in TEST()
76 EXPECT_TRUE(utils::ReadFileChunk(file.path().c_str(), 10, 20, &in_data)); in TEST()
H A Dutils.h117 bool ReadFileChunk(const std::string& path,
H A Dutils.cc354 bool ReadFileChunk(const string& path, in ReadFileChunk() function