Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp62 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
82 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
92 std::unique_ptr<const IdmapData::Header> header = IdmapData::Header::FromBinaryStream(stream); in TEST()
104 std::unique_ptr<const IdmapData> data = IdmapData::FromBinaryStream(stream); in TEST()
127 auto result = Idmap::FromBinaryStream(stream); in TEST()
165 const auto result = Idmap::FromBinaryStream(stream); in TEST()
396 std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(stream); in TEST()
409 IdmapHeader::FromBinaryStream(bad_magic_stream); in TEST()
423 IdmapHeader::FromBinaryStream(bad_version_stream); in TEST()
437 IdmapHeader::FromBinaryStream(bad_target_crc_stream); in TEST()
[all …]
DBinaryStreamVisitorTests.cpp39 auto result1 = Idmap::FromBinaryStream(raw_stream); in TEST()
47 auto result2 = Idmap::FromBinaryStream(stream); in TEST()
DIdmap2BinaryTests.cpp102 const auto idmap = Idmap::FromBinaryStream(fin); in TEST_F()
197 auto idmap_static_no_name = Idmap::FromBinaryStream(idmap_static_no_name_raw_stream); in TEST_F()
203 auto idmap_static_1 = Idmap::FromBinaryStream(idmap_static_1_raw_stream); in TEST_F()
209 auto idmap_static_2 = Idmap::FromBinaryStream(idmap_static_2_raw_stream); in TEST_F()
DPrettyPrintVisitorTests.cpp69 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
DRawPrintVisitorTests.cpp97 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h102 static std::unique_ptr<const IdmapHeader> FromBinaryStream(std::istream& stream);
172 static std::unique_ptr<const Header> FromBinaryStream(std::istream& stream);
225 static std::unique_ptr<const IdmapData> FromBinaryStream(std::istream& stream);
266 static Result<std::unique_ptr<const Idmap>> FromBinaryStream(std::istream& stream);
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp113 std::unique_ptr<const IdmapHeader> IdmapHeader::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::IdmapHeader
207 std::unique_ptr<const IdmapData::Header> IdmapData::Header::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::IdmapData::Header
222 std::unique_ptr<const IdmapData> IdmapData::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::IdmapData
224 data->header_ = IdmapData::Header::FromBinaryStream(stream); in FromBinaryStream()
264 Result<std::unique_ptr<const Idmap>> Idmap::FromBinaryStream(std::istream& stream) { in FromBinaryStream() function in android::idmap2::Idmap
268 idmap->header_ = IdmapHeader::FromBinaryStream(stream); in FromBinaryStream()
276 std::unique_ptr<const IdmapData> data = IdmapData::FromBinaryStream(stream); in FromBinaryStream()
/frameworks/base/cmds/idmap2/idmap2/
DCommandUtils.cpp36 const std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(fin); in Verify()
DDump.cpp53 const auto idmap = Idmap::FromBinaryStream(fin); in Dump()
DLookup.cpp205 auto idmap_header = IdmapHeader::FromBinaryStream(fin); in Lookup()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp127 const std::unique_ptr<const IdmapHeader> header = IdmapHeader::FromBinaryStream(fin); in verifyIdmap()