Home
last modified time | relevance | path

Searched refs:Idmap (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h89 class Idmap; variable
170 friend Idmap; variable
214 friend Idmap; variable
270 friend Idmap; variable
274 class Idmap {
279 static Result<std::unique_ptr<const Idmap>> FromBinaryStream(std::istream& stream);
285 static Result<std::unique_ptr<const Idmap>> FromContainers(
301 Idmap() = default;
306 DISALLOW_COPY_AND_ASSIGN(Idmap);
312 virtual void visit(const Idmap& idmap) = 0;
DPrettyPrintVisitor.h37 void visit(const Idmap& idmap) override;
DBinaryStreamVisitor.h33 void visit(const Idmap& idmap) override;
DRawPrintVisitor.h38 void visit(const Idmap& idmap) override;
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp283 std::string Idmap::CanonicalIdmapPathFor(std::string_view absolute_dir, in CanonicalIdmapPathFor()
292 Result<std::unique_ptr<const Idmap>> Idmap::FromBinaryStream(std::istream& stream) { in FromBinaryStream()
294 std::unique_ptr<Idmap> idmap(new Idmap()); in FromBinaryStream()
356 Result<std::unique_ptr<const Idmap>> Idmap::FromContainers(const TargetResourceContainer& target, in FromContainers()
403 std::unique_ptr<Idmap> idmap(new Idmap()); in FromContainers()
427 void Idmap::accept(Visitor* v) const { in accept()
DPrettyPrintVisitor.cpp33 void PrettyPrintVisitor::visit(const Idmap& idmap ATTRIBUTE_UNUSED) { in visit()
DBinaryStreamVisitor.cpp49 void BinaryStreamVisitor::visit(const Idmap& idmap ATTRIBUTE_UNUSED) { in visit()
DRawPrintVisitor.cpp34 void RawPrintVisitor::visit(const Idmap& idmap ATTRIBUTE_UNUSED) { in visit()
/frameworks/base/cmds/idmap2/idmap2/
DDump.cpp33 using android::idmap2::Idmap;
53 const auto idmap = Idmap::FromBinaryStream(fin); in Dump()
DCreateMultiple.cpp41 using android::idmap2::Idmap;
102 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(idmap_dir, overlay_apk_path); in CreateMultiple()
119 Idmap::FromContainers(**target, **overlay, "", fulfilled_policies, !ignore_overlayable); in CreateMultiple()
DCreate.cpp37 using android::idmap2::Idmap;
107 const auto idmap = Idmap::FromContainers(**target, **overlay, overlay_name, fulfilled_policies, in Create()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp48 using android::idmap2::Idmap;
85 *_aidl_return = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in getIdmapPath()
94 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in removeIdmap()
115 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in verifyIdmap()
161 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in createIdmap()
184 const auto idmap = Idmap::FromContainers(*GetPointer(*target), **overlay, overlay_name, in createIdmap()
413 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in deleteFabricatedOverlay()
438 const auto idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_path); in dumpIdmap()
440 const auto idmap = Idmap::FromBinaryStream(fin); in dumpIdmap()
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp61 ASSERT_EQ(Idmap::CanonicalIdmapPathFor("/foo", "/vendor/overlay/bar.apk"), in TEST()
87 ASSERT_FALSE(Idmap::FromBinaryStream(stream)); in TEST()
96 ASSERT_FALSE(Idmap::FromBinaryStream(stream)); in TEST()
140 auto result = Idmap::FromBinaryStream(stream); in TEST()
184 const auto result = Idmap::FromBinaryStream(stream); in TEST()
198 auto idmap_result = Idmap::FromContainers( in TEST()
227 auto idmap_result = Idmap::FromContainers( in TEST()
285 auto idmap_result = Idmap::FromContainers(**target, **overlay, "SandTheme", PolicyFlags::PUBLIC, in TEST()
330 auto idmap_result = Idmap::FromContainers(**target, **overlay, "", PolicyFlags::PUBLIC, in TEST()
335 auto idmap_result = Idmap::FromContainers(**target, **overlay, "unknown", PolicyFlags::PUBLIC, in TEST()
[all …]
DPrettyPrintVisitorTests.cpp45 const auto idmap = Idmap::FromContainers(**target, **overlay, TestConstants::OVERLAY_NAME_DEFAULT, in TEST()
66 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
DBinaryStreamVisitorTests.cpp39 auto result1 = Idmap::FromBinaryStream(raw_stream); in TEST()
47 auto result2 = Idmap::FromBinaryStream(stream); in TEST()
DRawPrintVisitorTests.cpp58 const auto idmap = Idmap::FromContainers(**target, **overlay, TestConstants::OVERLAY_NAME_DEFAULT, in TEST()
108 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
DIdmap2BinaryTests.cpp56 void AssertIdmap(const Idmap& idmap, const std::string& target_apk_path, in AssertIdmap()
104 const auto idmap = Idmap::FromBinaryStream(fin); in TEST_F()
/frameworks/base/cmds/idmap2/self_targeting/
DSelfTargeting.cpp33 using android::idmap2::Idmap;
159 const auto idmap = Idmap::FromContainers(**target, **overlay, overlayName, in CreateIdmapFile()
/frameworks/base/libs/androidfw/
DAndroid.bp76 "Idmap.cpp",