Home
last modified time | relevance | path

Searched refs:GetImageOffset (Results 1 – 6 of 6) sorted by relevance

/system/apex/apexd/
Dapex_file.cpp215 if (!apex.GetImageOffset() || !apex.GetImageSize()) { in GetAvbFooter()
218 off_t offset = apex.GetImageSize().value() + apex.GetImageOffset().value() - in GetAvbFooter()
283 if (!apex.GetImageOffset()) { in VerifyVbMeta()
287 off_t offset = apex.GetImageOffset().value() + footer.vbmeta_offset; in VerifyVbMeta()
Dapexd_verity.cpp83 if (!apex.GetImageOffset()) { in GenerateHashTree()
86 if (lseek(fd, apex.GetImageOffset().value(), SEEK_SET) == -1) { in GenerateHashTree()
Dapex_file.h50 const std::optional<int32_t>& GetImageOffset() const { return image_offset_; } in GetImageOffset() function
Dapexd_test_utils.h112 Property("image_offset", &ApexFile::GetImageOffset,
113 Eq(other.get().GetImageOffset())),
Dapex_file_test.cpp77 EXPECT_EQ(zip_image_offset, apex_file->GetImageOffset().value()); in TEST_P()
176 ASSERT_FALSE(apex_file->GetImageOffset().has_value()); in TEST()
Dapexd.cpp463 if (!apex.GetImageOffset() || !apex.GetImageSize()) { in MountPackageImpl()
469 full_path, apex.GetImageOffset().value(), apex.GetImageSize().value()); in MountPackageImpl()