Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dfile_descriptor_utils_unittest.cc87 EXPECT_FALSE(fd_utils::CopyAndHashExtents( in TEST_F()
96 EXPECT_FALSE(fd_utils::CopyAndHashExtents( in TEST_F()
108 EXPECT_FALSE(fd_utils::CopyAndHashExtents( in TEST_F()
117 EXPECT_TRUE(fd_utils::CopyAndHashExtents( in TEST_F()
131 EXPECT_TRUE(fd_utils::CopyAndHashExtents( in TEST_F()
147 EXPECT_TRUE(fd_utils::CopyAndHashExtents( in TEST_F()
175 EXPECT_FALSE(fd_utils::ReadAndHashExtents(source_, extents, 4, &hash_out)); in TEST_F()
181 EXPECT_TRUE(fd_utils::ReadAndHashExtents(source_, extents, 4, nullptr)); in TEST_F()
189 EXPECT_TRUE(fd_utils::ReadAndHashExtents(source_, extents, 4, &hash_out)); in TEST_F()
Dfile_descriptor_utils.h26 namespace fd_utils {
Dfile_descriptor_utils.cc77 namespace fd_utils { namespace
Ddelta_performer.cc1184 bool read_ok = fd_utils::CopyAndHashExtents(source_fd_, in PerformSourceCopyOperation()
1206 TEST_AND_RETURN_FALSE(fd_utils::CopyAndHashExtents(source_ecc_fd_, in PerformSourceCopyOperation()
1224 fd_utils::CopyAndHashExtents(source_ecc_fd_, in PerformSourceCopyOperation()
1232 TEST_AND_RETURN_FALSE(fd_utils::CopyAndHashExtents(source_fd_, in PerformSourceCopyOperation()
1255 fd_utils::ReadAndHashExtents( in ChooseSourceFD()
1265 if (fd_utils::ReadAndHashExtents( in ChooseSourceFD()
1285 if (fd_utils::ReadAndHashExtents( in ChooseSourceFD()
/system/update_engine/
Dupdate_attempter_android.cc435 if (!fd_utils::ReadAndHashExtents(fd, in VerifyPayloadApplicable()