Home
last modified time | relevance | path

Searched refs:IdmapHeader (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h85 class IdmapHeader {
87 static std::unique_ptr<const IdmapHeader> FromBinaryStream(std::istream& stream);
121 IdmapHeader() { in IdmapHeader() function
132 DISALLOW_COPY_AND_ASSIGN(IdmapHeader);
242 inline const std::unique_ptr<const IdmapHeader>& GetHeader() const { in GetHeader()
256 std::unique_ptr<const IdmapHeader> header_;
267 virtual void visit(const IdmapHeader& header) = 0;
DBinaryStreamVisitor.h33 virtual void visit(const IdmapHeader& header);
DPrettyPrintVisitor.h37 virtual void visit(const IdmapHeader& header);
DRawPrintVisitor.h38 virtual void visit(const IdmapHeader& header);
/frameworks/base/cmds/idmap2/idmap2/
DVerify.cpp29 using android::idmap2::IdmapHeader;
47 const std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(fin); in Verify()
DLookup.cpp56 using android::idmap2::IdmapHeader;
191 auto idmap_header = IdmapHeader::FromBinaryStream(fin); in Lookup()
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp47 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
64 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
510 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
521 std::unique_ptr<const IdmapHeader> bad_magic_header = in TEST()
522 IdmapHeader::FromBinaryStream(bad_magic_stream); in TEST()
534 std::unique_ptr<const IdmapHeader> bad_version_header = in TEST()
535 IdmapHeader::FromBinaryStream(bad_version_stream); in TEST()
547 std::unique_ptr<const IdmapHeader> bad_target_crc_header = in TEST()
548 IdmapHeader::FromBinaryStream(bad_target_crc_stream); in TEST()
560 std::unique_ptr<const IdmapHeader> bad_overlay_crc_header = in TEST()
[all …]
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp132 std::unique_ptr<const IdmapHeader> IdmapHeader::FromBinaryStream(std::istream& stream) { in FromBinaryStream()
133 std::unique_ptr<IdmapHeader> idmap_header(new IdmapHeader()); in FromBinaryStream()
145 Result<Unit> IdmapHeader::IsUpToDate() const { in IsUpToDate()
251 idmap->header_ = IdmapHeader::FromBinaryStream(stream); in FromBinaryStream()
374 std::unique_ptr<IdmapHeader> header(new IdmapHeader()); in FromApkAssets()
474 void IdmapHeader::accept(Visitor* v) const { in accept()
DPrettyPrintVisitor.cpp34 void PrettyPrintVisitor::visit(const IdmapHeader& header) { in visit()
DBinaryStreamVisitor.cpp48 void BinaryStreamVisitor::visit(const IdmapHeader& header) { in visit()
DRawPrintVisitor.cpp38 void RawPrintVisitor::visit(const IdmapHeader& header) { in visit()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp44 using android::idmap2::IdmapHeader;
104 const std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(fin); in verifyIdmap()