Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_generation_config_android.cc99 utils::ReadFileChunk(part.path, offset, bytes_to_read, &buffer)); in VerifyVerityConfig()
106 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in VerifyVerityConfig()
135 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in LoadVerityConfig()
146 TEST_AND_RETURN_FALSE(utils::ReadFileChunk( in LoadVerityConfig()
157 TEST_AND_RETURN_FALSE(utils::ReadFileChunk(part.path, in LoadVerityConfig()
Dboot_img_filesystem.cc39 if (!utils::ReadFileChunk(filename, 0, sizeof(boot_img_hdr), &header) || in CreateFromFile()
68 if (utils::ReadFileChunk(filename_, offset, size, &data)) { in GetFile()
Ddeflate_utils.cc68 utils::ReadFileChunk(part_path, in IsSquashfsImage()
Dpayload_signer.cc441 utils::ReadFileChunk(payload_path, 0, kMaxPayloadHeaderSize, &payload)); in ExtractPayloadProperties()
Ddelta_diff_utils.cc1069 if (!utils::ReadFileChunk( in IsExtFilesystem()
/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.h100 bool ReadFileChunk(const std::string& path,
Dutils.cc392 bool ReadFileChunk(const string& path, in ReadFileChunk() function