Home
last modified time | relevance | path

Searched refs:IdmapData (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp187 std::unique_ptr<const IdmapData::Header> IdmapData::Header::FromBinaryStream(std::istream& stream) { in FromBinaryStream()
188 std::unique_ptr<IdmapData::Header> idmap_data_header(new IdmapData::Header()); in FromBinaryStream()
199 std::unique_ptr<const IdmapData::TypeEntry> IdmapData::TypeEntry::FromBinaryStream( in FromBinaryStream()
201 std::unique_ptr<IdmapData::TypeEntry> data(new IdmapData::TypeEntry()); in FromBinaryStream()
222 std::unique_ptr<const IdmapData> IdmapData::FromBinaryStream(std::istream& stream) { in FromBinaryStream()
223 std::unique_ptr<IdmapData> data(new IdmapData()); in FromBinaryStream()
224 data->header_ = IdmapData::Header::FromBinaryStream(stream); in FromBinaryStream()
229 std::unique_ptr<const TypeEntry> type = IdmapData::TypeEntry::FromBinaryStream(stream); in FromBinaryStream()
259 std::unique_ptr<const IdmapData> data = IdmapData::FromBinaryStream(stream); in FromBinaryStream()
444 std::unique_ptr<IdmapData> data(new IdmapData()); in FromApkAssets()
[all …]
DPrettyPrintVisitor.cpp44 void PrettyPrintVisitor::visit(const IdmapData& data ATTRIBUTE_UNUSED) { in visit()
47 void PrettyPrintVisitor::visit(const IdmapData::Header& header ATTRIBUTE_UNUSED) { in visit()
51 void PrettyPrintVisitor::visit(const IdmapData::TypeEntry& type_entry) { in visit()
DBinaryStreamVisitor.cpp57 void BinaryStreamVisitor::visit(const IdmapData& data ATTRIBUTE_UNUSED) { in visit()
61 void BinaryStreamVisitor::visit(const IdmapData::Header& header) { in visit()
66 void BinaryStreamVisitor::visit(const IdmapData::TypeEntry& type_entry) { in visit()
DRawPrintVisitor.cpp52 void RawPrintVisitor::visit(const IdmapData& data ATTRIBUTE_UNUSED) { in visit()
55 void RawPrintVisitor::visit(const IdmapData::Header& header) { in visit()
61 void RawPrintVisitor::visit(const IdmapData::TypeEntry& type_entry) { in visit()
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp74 std::unique_ptr<const IdmapData::Header> header = IdmapData::Header::FromBinaryStream(stream); in TEST()
86 std::unique_ptr<const IdmapData::TypeEntry> data = IdmapData::TypeEntry::FromBinaryStream(stream); in TEST()
101 std::unique_ptr<const IdmapData> data = IdmapData::FromBinaryStream(stream); in TEST()
105 const std::vector<std::unique_ptr<const IdmapData::TypeEntry>>& types = data->GetTypeEntries(); in TEST()
139 const std::vector<std::unique_ptr<const IdmapData>>& dataBlocks = idmap->GetData(); in TEST()
142 const std::unique_ptr<const IdmapData>& data = dataBlocks[0]; in TEST()
145 const std::vector<std::unique_ptr<const IdmapData::TypeEntry>>& types = data->GetTypeEntries(); in TEST()
203 const std::vector<std::unique_ptr<const IdmapData>>& dataBlocks = idmap->GetData(); in TEST()
206 const std::unique_ptr<const IdmapData>& data = dataBlocks[0]; in TEST()
211 const std::vector<std::unique_ptr<const IdmapData::TypeEntry>>& types = data->GetTypeEntries(); in TEST()
[all …]
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h135 class IdmapData {
201 static std::unique_ptr<const IdmapData> FromBinaryStream(std::istream& stream);
214 IdmapData() { in IdmapData() function
221 DISALLOW_COPY_AND_ASSIGN(IdmapData);
246 inline const std::vector<std::unique_ptr<const IdmapData>>& GetData() const { in GetData()
257 std::vector<std::unique_ptr<const IdmapData>> data_;
268 virtual void visit(const IdmapData& data) = 0;
269 virtual void visit(const IdmapData::Header& header) = 0;
270 virtual void visit(const IdmapData::TypeEntry& type_entry) = 0;
DBinaryStreamVisitor.h34 virtual void visit(const IdmapData& data);
35 virtual void visit(const IdmapData::Header& header);
36 virtual void visit(const IdmapData::TypeEntry& type_entry);
DPrettyPrintVisitor.h38 virtual void visit(const IdmapData& data);
39 virtual void visit(const IdmapData::Header& header);
40 virtual void visit(const IdmapData::TypeEntry& type_entry);
DRawPrintVisitor.h39 virtual void visit(const IdmapData& data);
40 virtual void visit(const IdmapData::Header& header);
41 virtual void visit(const IdmapData::TypeEntry& type_entry);