/frameworks/base/cmds/idmap2/include/idmap2/ |
D | Idmap.h | 62 class Idmap; variable 131 friend Idmap; variable 158 friend Idmap; variable 197 friend Idmap; variable 220 friend Idmap; variable 224 class Idmap { 229 static Result<std::unique_ptr<const Idmap>> FromBinaryStream(std::istream& stream); 235 static Result<std::unique_ptr<const Idmap>> FromApkAssets(const std::string& target_apk_path, 253 Idmap() { in Idmap() function 259 DISALLOW_COPY_AND_ASSIGN(Idmap); [all …]
|
D | BinaryStreamVisitor.h | 32 virtual void visit(const Idmap& idmap);
|
D | PrettyPrintVisitor.h | 36 virtual void visit(const Idmap& idmap);
|
D | RawPrintVisitor.h | 37 virtual void visit(const Idmap& idmap);
|
/frameworks/base/cmds/idmap2/idmap2d/ |
D | Idmap2Service.cpp | 43 using android::idmap2::Idmap; 73 *_aidl_return = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_apk_path); in getIdmapPath() 82 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_apk_path); in removeIdmap() 102 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_apk_path); in verifyIdmap() 123 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(kIdmapCacheDir, overlay_apk_path); in createIdmap() 140 const auto idmap = Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, in createIdmap()
|
/frameworks/base/cmds/idmap2/tests/ |
D | Idmap2BinaryTests.cpp | 54 void AssertIdmap(const Idmap& idmap, const std::string& target_apk_path, in AssertIdmap() 101 const auto idmap = Idmap::FromBinaryStream(fin); in TEST_F() 167 Idmap::CanonicalIdmapPathFor(GetTempDirPath(), overlay_static_no_name_apk_path); in TEST_F() 169 Idmap::CanonicalIdmapPathFor(GetTempDirPath(), overlay_static_1_apk_path); in TEST_F() 171 Idmap::CanonicalIdmapPathFor(GetTempDirPath(), overlay_static_2_apk_path); in TEST_F() 194 auto idmap_static_no_name = Idmap::FromBinaryStream(idmap_static_no_name_raw_stream); in TEST_F() 200 auto idmap_static_1 = Idmap::FromBinaryStream(idmap_static_1_raw_stream); in TEST_F() 206 auto idmap_static_2 = Idmap::FromBinaryStream(idmap_static_2_raw_stream); in TEST_F()
|
D | IdmapTests.cpp | 40 ASSERT_EQ(Idmap::CanonicalIdmapPathFor("/foo", "/vendor/overlay/bar.apk"), in TEST() 127 auto result = Idmap::FromBinaryStream(stream); in TEST() 168 const auto result = Idmap::FromBinaryStream(stream); in TEST() 174 std::unique_ptr<const Idmap>* out_idmap) { in CreateIdmap() 182 Idmap::FromApkAssets(target_apk_path.to_string(), *target_apk, overlay_apk_path.to_string(), in CreateIdmap() 188 std::unique_ptr<const Idmap> idmap; in TEST() 232 std::unique_ptr<const Idmap> idmap; in TEST() 262 std::unique_ptr<const Idmap> idmap; in TEST() 290 std::unique_ptr<const Idmap> idmap; in TEST() 322 std::unique_ptr<const Idmap> idmap; in TEST() [all …]
|
D | PrettyPrintVisitorTests.cpp | 47 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST() 66 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
|
D | RawPrintVisitorTests.cpp | 42 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST() 64 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
|
D | BinaryStreamVisitorTests.cpp | 38 auto result1 = Idmap::FromBinaryStream(raw_stream); in TEST() 46 auto result2 = Idmap::FromBinaryStream(stream); in TEST() 79 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Idmap.cpp | 238 std::string Idmap::CanonicalIdmapPathFor(const std::string& absolute_dir, in CanonicalIdmapPathFor() 247 Result<std::unique_ptr<const Idmap>> Idmap::FromBinaryStream(std::istream& stream) { in FromBinaryStream() 249 std::unique_ptr<Idmap> idmap(new Idmap()); in FromBinaryStream() 322 Result<std::unique_ptr<const Idmap>> Idmap::FromApkAssets(const std::string& target_apk_path, in FromApkAssets() 404 std::unique_ptr<Idmap> idmap(new Idmap()); in FromApkAssets() 499 void Idmap::accept(Visitor* v) const { in accept()
|
D | PrettyPrintVisitor.cpp | 31 void PrettyPrintVisitor::visit(const Idmap& idmap ATTRIBUTE_UNUSED) { in visit()
|
D | BinaryStreamVisitor.cpp | 44 void BinaryStreamVisitor::visit(const Idmap& idmap ATTRIBUTE_UNUSED) { in visit()
|
D | RawPrintVisitor.cpp | 35 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 | Create.cpp | 38 using android::idmap2::Idmap; 102 const auto idmap = Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, in Create()
|
D | Scan.cpp | 41 using android::idmap2::Idmap; 195 std::string idmap_path = Idmap::CanonicalIdmapPathFor(output_directory, path); in Scan()
|
/frameworks/base/cmds/idmap2/ |
D | Android.bp | 41 "libidmap2/Idmap.cpp",
|
/frameworks/base/libs/androidfw/ |
D | Android.bp | 47 "Idmap.cpp",
|