Searched refs:GetHeader (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/cmds/idmap2/tests/ |
D | BinaryStreamVisitorTests.cpp | 51 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()
|
D | IdmapTests.cpp | 131 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 …]
|
D | Idmap2BinaryTests.cpp | 59 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/ |
D | PrettyPrintVisitor.cpp | 64 data.GetHeader()->GetStringPoolLength()); in visit() 65 const size_t string_pool_offset = data.GetHeader()->GetStringPoolIndexOffset(); in visit()
|
D | BinaryStreamVisitor.cpp | 88 Write(data.GetStringPoolData(), data.GetHeader()->GetStringPoolLength()); in visit()
|
D | RawPrintVisitor.cpp | 124 const size_t string_pool_length = data.GetHeader()->GetStringPoolLength(); in visit()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | Idmap.h | 230 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
|