Searched refs:GetHeader (Results 1 – 6 of 6) 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 | 144 ASSERT_THAT(idmap->GetHeader(), NotNull()); in TEST() 145 ASSERT_EQ(idmap->GetHeader()->GetMagic(), 0x504d4449U); in TEST() 146 ASSERT_EQ(idmap->GetHeader()->GetVersion(), 0x09U); in TEST() 147 ASSERT_EQ(idmap->GetHeader()->GetTargetCrc(), 0x1234U); in TEST() 148 ASSERT_EQ(idmap->GetHeader()->GetOverlayCrc(), 0x5678U); in TEST() 149 ASSERT_EQ(idmap->GetHeader()->GetFulfilledPolicies(), kIdmapRawDataPolicies); in TEST() 150 ASSERT_EQ(idmap->GetHeader()->GetEnforceOverlayable(), true); in TEST() 151 ASSERT_EQ(idmap->GetHeader()->GetTargetPath(), kIdmapRawTargetPath); in TEST() 152 ASSERT_EQ(idmap->GetHeader()->GetOverlayPath(), kIdmapRawOverlayPath); in TEST() 153 ASSERT_EQ(idmap->GetHeader()->GetOverlayName(), kIdmapRawOverlayName); in TEST() [all …]
|
D | Idmap2BinaryTests.cpp | 60 ASSERT_EQ(idmap.GetHeader()->GetMagic(), kIdmapMagic); in AssertIdmap() 61 ASSERT_EQ(idmap.GetHeader()->GetVersion(), kIdmapCurrentVersion); in AssertIdmap() 62 ASSERT_EQ(idmap.GetHeader()->GetTargetPath(), target_apk_path); in AssertIdmap() 63 ASSERT_EQ(idmap.GetHeader()->GetOverlayPath(), overlay_apk_path); in AssertIdmap()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | BinaryStreamVisitor.cpp | 74 target_values.reserve(data.GetHeader()->GetTargetInlineEntryValueCount()); in visit() 84 configs.reserve(data.GetHeader()->GetConfigCount()); in visit()
|
D | PrettyPrintVisitor.cpp | 72 const size_t string_pool_offset = data.GetHeader()->GetStringPoolIndexOffset(); in visit()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | Idmap.h | 239 const std::unique_ptr<const Header>& GetHeader() const { in GetHeader() function 290 const std::unique_ptr<const IdmapHeader>& GetHeader() const { in GetHeader() function
|