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.cc85 EXPECT_FALSE(fd_utils::CopyAndHashExtents( in TEST_F()
94 EXPECT_FALSE(fd_utils::CopyAndHashExtents( in TEST_F()
106 EXPECT_FALSE(fd_utils::CopyAndHashExtents( in TEST_F()
115 EXPECT_TRUE(fd_utils::CopyAndHashExtents( in TEST_F()
129 EXPECT_TRUE(fd_utils::CopyAndHashExtents( in TEST_F()
145 EXPECT_TRUE(fd_utils::CopyAndHashExtents( in TEST_F()
173 EXPECT_FALSE(fd_utils::ReadAndHashExtents(source_, extents, 4, &hash_out)); in TEST_F()
179 EXPECT_TRUE(fd_utils::ReadAndHashExtents(source_, extents, 4, nullptr)); in TEST_F()
187 EXPECT_TRUE(fd_utils::ReadAndHashExtents(source_, extents, 4, &hash_out)); in TEST_F()
Dpartition_writer.cc397 fd_utils::ReadAndHashExtents( in PerformSourceCopyOperation()
399 fd_utils::CopyAndHashExtents(source_fd_, in PerformSourceCopyOperation()
406 read_ok = fd_utils::CopyAndHashExtents(source_fd_, in PerformSourceCopyOperation()
430 TEST_AND_RETURN_FALSE(fd_utils::ReadAndHashExtents( in PerformSourceCopyOperation()
433 fd_utils::CopyAndHashExtents(source_ecc_fd_, in PerformSourceCopyOperation()
441 fd_utils::CopyAndHashExtents(source_ecc_fd_, in PerformSourceCopyOperation()
461 fd_utils::CopyAndHashExtents(source_ecc_fd_, in PerformSourceCopyOperation()
469 TEST_AND_RETURN_FALSE(fd_utils::CopyAndHashExtents(source_fd_, in PerformSourceCopyOperation()
551 fd_utils::ReadAndHashExtents( in ChooseSourceFD()
561 if (fd_utils::ReadAndHashExtents( in ChooseSourceFD()
[all …]
Dfile_descriptor_utils.h26 namespace fd_utils {
Dfile_descriptor_utils.cc77 namespace fd_utils { namespace
/system/update_engine/aosp/
Dupdate_attempter_android.cc527 if (!fd_utils::ReadAndHashExtents(fd, in VerifyPayloadApplicable()