Searched refs:ReadFileChunk (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/payload_generator/ |
D | payload_generation_config_android.cc | 99 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()
|
D | boot_img_filesystem.cc | 39 if (!utils::ReadFileChunk(filename, 0, sizeof(boot_img_hdr), &header) || in CreateFromFile() 68 if (utils::ReadFileChunk(filename_, offset, size, &data)) { in GetFile()
|
D | deflate_utils.cc | 68 utils::ReadFileChunk(part_path, in IsSquashfsImage()
|
D | payload_signer.cc | 441 utils::ReadFileChunk(payload_path, 0, kMaxPayloadHeaderSize, &payload)); in ExtractPayloadProperties()
|
D | delta_diff_utils.cc | 1069 if (!utils::ReadFileChunk( in IsExtFilesystem()
|
/system/update_engine/common/ |
D | utils_unittest.cc | 75 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()
|
D | utils.h | 100 bool ReadFileChunk(const std::string& path,
|
D | utils.cc | 392 bool ReadFileChunk(const string& path, in ReadFileChunk() function
|