Home
last modified time | relevance | path

Searched refs:GetHeader (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/cmds/idmap2/tests/
DBinaryStreamVisitorTests.cpp51 ASSERT_EQ(idmap1->GetHeader()->GetFulfilledPolicies(), in TEST()
52 idmap2->GetHeader()->GetFulfilledPolicies()); in TEST()
53 ASSERT_EQ(idmap1->GetHeader()->GetEnforceOverlayable(), in TEST()
54 idmap2->GetHeader()->GetEnforceOverlayable()); in TEST()
55 ASSERT_EQ(idmap1->GetHeader()->GetTargetPath(), idmap2->GetHeader()->GetTargetPath()); in TEST()
56 ASSERT_EQ(idmap1->GetHeader()->GetTargetCrc(), idmap2->GetHeader()->GetTargetCrc()); in TEST()
57 ASSERT_EQ(idmap1->GetHeader()->GetTargetPath(), idmap2->GetHeader()->GetTargetPath()); in TEST()
DIdmapTests.cpp131 ASSERT_THAT(idmap->GetHeader(), NotNull()); in TEST()
132 ASSERT_EQ(idmap->GetHeader()->GetMagic(), 0x504d4449U); in TEST()
133 ASSERT_EQ(idmap->GetHeader()->GetVersion(), 0x04U); in TEST()
134 ASSERT_EQ(idmap->GetHeader()->GetTargetCrc(), 0x1234U); in TEST()
135 ASSERT_EQ(idmap->GetHeader()->GetOverlayCrc(), 0x5678U); in TEST()
136 ASSERT_EQ(idmap->GetHeader()->GetFulfilledPolicies(), 0x11); in TEST()
137 ASSERT_EQ(idmap->GetHeader()->GetEnforceOverlayable(), true); in TEST()
138 ASSERT_EQ(idmap->GetHeader()->GetTargetPath().to_string(), "targetX.apk"); in TEST()
139 ASSERT_EQ(idmap->GetHeader()->GetOverlayPath().to_string(), "overlayX.apk"); in TEST()
185 ASSERT_THAT(idmap->GetHeader(), NotNull()); in TEST()
[all …]
DIdmap2BinaryTests.cpp59 ASSERT_EQ(idmap.GetHeader()->GetMagic(), kIdmapMagic); in AssertIdmap()
60 ASSERT_EQ(idmap.GetHeader()->GetVersion(), kIdmapCurrentVersion); in AssertIdmap()
61 ASSERT_EQ(idmap.GetHeader()->GetTargetPath(), target_apk_path); in AssertIdmap()
62 ASSERT_EQ(idmap.GetHeader()->GetOverlayPath(), overlay_apk_path); in AssertIdmap()
/frameworks/base/cmds/idmap2/libidmap2/
DPrettyPrintVisitor.cpp64 data.GetHeader()->GetStringPoolLength()); in visit()
65 const size_t string_pool_offset = data.GetHeader()->GetStringPoolIndexOffset(); in visit()
DBinaryStreamVisitor.cpp88 Write(data.GetStringPoolData(), data.GetHeader()->GetStringPoolLength()); in visit()
DRawPrintVisitor.cpp124 const size_t string_pool_length = data.GetHeader()->GetStringPoolLength(); in visit()
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h230 inline const std::unique_ptr<const Header>& GetHeader() const { in GetHeader() function
277 inline const std::unique_ptr<const IdmapHeader>& GetHeader() const { in GetHeader() function