Home
last modified time | relevance | path

Searched refs:FromBinaryStream (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp68 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
87 ASSERT_FALSE(Idmap::FromBinaryStream(stream)); in TEST()
96 ASSERT_FALSE(Idmap::FromBinaryStream(stream)); in TEST()
104 std::unique_ptr<const IdmapData::Header> header = IdmapData::Header::FromBinaryStream(stream); in TEST()
115 std::unique_ptr<const IdmapData> data = IdmapData::FromBinaryStream(stream); in TEST()
140 auto result = Idmap::FromBinaryStream(stream); in TEST()
184 const auto result = Idmap::FromBinaryStream(stream); in TEST()
480 auto result = Idmap::FromBinaryStream(raw_stream); in TEST()
488 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
502 IdmapHeader::FromBinaryStream(bad_magic_stream); in TEST()
[all …]
DBinaryStreamVisitorTests.cpp39 auto result1 = Idmap::FromBinaryStream(raw_stream); in TEST()
47 auto result2 = Idmap::FromBinaryStream(stream); in TEST()
DPrettyPrintVisitorTests.cpp66 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
DRawPrintVisitorTests.cpp108 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
DIdmap2BinaryTests.cpp104 const auto idmap = Idmap::FromBinaryStream(fin); in TEST_F()
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h100 static std::unique_ptr<const IdmapHeader> FromBinaryStream(std::istream& stream);
177 static std::unique_ptr<const Header> FromBinaryStream(std::istream& stream);
234 static std::unique_ptr<const IdmapData> FromBinaryStream(std::istream& stream);
279 static Result<std::unique_ptr<const Idmap>> FromBinaryStream(std::istream& stream);
DFabricatedOverlay.h94 static Result<FabricatedOverlay> FromBinaryStream(std::istream& stream);
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp90 std::unique_ptr<const IdmapHeader> IdmapHeader::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::IdmapHeader
185 std::unique_ptr<const IdmapData::Header> IdmapData::Header::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::IdmapData::Header
199 std::unique_ptr<const IdmapData> IdmapData::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::IdmapData
201 data->header_ = IdmapData::Header::FromBinaryStream(stream); in FromBinaryStream()
292 Result<std::unique_ptr<const Idmap>> Idmap::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::Idmap
296 idmap->header_ = IdmapHeader::FromBinaryStream(stream); in FromBinaryStream()
304 std::unique_ptr<const IdmapData> data = IdmapData::FromBinaryStream(stream); in FromBinaryStream()
DFabricatedOverlay.cpp294 Result<FabricatedOverlay> FabricatedOverlay::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::FabricatedOverlay
426 auto overlay = FabricatedOverlay::FromBinaryStream(fin); in FromPath()
/frameworks/base/cmds/idmap2/idmap2/
DDump.cpp53 const auto idmap = Idmap::FromBinaryStream(fin); in Dump()
DCommandUtils.cpp40 const std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(fin); in Verify()
DLookup.cpp183 auto idmap_header = IdmapHeader::FromBinaryStream(fin); in Lookup()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp117 const std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(fin); in verifyIdmap()
440 const auto idmap = Idmap::FromBinaryStream(fin); in dumpIdmap()