/frameworks/base/cmds/idmap2/include/idmap2/ |
D | Idmap.h | 89 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;
|
D | PrettyPrintVisitor.h | 37 void visit(const Idmap& idmap) override;
|
D | BinaryStreamVisitor.h | 33 void visit(const Idmap& idmap) override;
|
D | RawPrintVisitor.h | 38 void visit(const Idmap& idmap) override;
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Idmap.cpp | 283 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()
|
D | PrettyPrintVisitor.cpp | 33 void PrettyPrintVisitor::visit(const Idmap& idmap ATTRIBUTE_UNUSED) { in visit()
|
D | BinaryStreamVisitor.cpp | 49 void BinaryStreamVisitor::visit(const Idmap& idmap ATTRIBUTE_UNUSED) { in visit()
|
D | RawPrintVisitor.cpp | 34 void RawPrintVisitor::visit(const Idmap& idmap ATTRIBUTE_UNUSED) { in visit()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Dump.cpp | 33 using android::idmap2::Idmap; 53 const auto idmap = Idmap::FromBinaryStream(fin); in Dump()
|
D | CreateMultiple.cpp | 41 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()
|
D | Create.cpp | 37 using android::idmap2::Idmap; 107 const auto idmap = Idmap::FromContainers(**target, **overlay, overlay_name, fulfilled_policies, in Create()
|
/frameworks/base/cmds/idmap2/idmap2d/ |
D | Idmap2Service.cpp | 48 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/ |
D | IdmapTests.cpp | 61 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 …]
|
D | PrettyPrintVisitorTests.cpp | 45 const auto idmap = Idmap::FromContainers(**target, **overlay, TestConstants::OVERLAY_NAME_DEFAULT, in TEST() 66 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
|
D | BinaryStreamVisitorTests.cpp | 39 auto result1 = Idmap::FromBinaryStream(raw_stream); in TEST() 47 auto result2 = Idmap::FromBinaryStream(stream); in TEST()
|
D | RawPrintVisitorTests.cpp | 58 const auto idmap = Idmap::FromContainers(**target, **overlay, TestConstants::OVERLAY_NAME_DEFAULT, in TEST() 108 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
|
D | Idmap2BinaryTests.cpp | 56 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/ |
D | SelfTargeting.cpp | 33 using android::idmap2::Idmap; 159 const auto idmap = Idmap::FromContainers(**target, **overlay, overlayName, in CreateIdmapFile()
|
/frameworks/base/libs/androidfw/ |
D | Android.bp | 76 "Idmap.cpp",
|