Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h62 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 …]
DBinaryStreamVisitor.h32 virtual void visit(const Idmap& idmap);
DPrettyPrintVisitor.h36 virtual void visit(const Idmap& idmap);
DRawPrintVisitor.h37 virtual void visit(const Idmap& idmap);
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp43 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/
DIdmap2BinaryTests.cpp54 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()
DIdmapTests.cpp40 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 …]
DPrettyPrintVisitorTests.cpp47 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
66 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
DRawPrintVisitorTests.cpp42 Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, *overlay_apk, in TEST()
64 const auto idmap = Idmap::FromBinaryStream(raw_stream); in TEST()
DBinaryStreamVisitorTests.cpp38 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/
DIdmap.cpp238 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()
DPrettyPrintVisitor.cpp31 void PrettyPrintVisitor::visit(const Idmap& idmap ATTRIBUTE_UNUSED) { in visit()
DBinaryStreamVisitor.cpp44 void BinaryStreamVisitor::visit(const Idmap& idmap ATTRIBUTE_UNUSED) { in visit()
DRawPrintVisitor.cpp35 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()
DCreate.cpp38 using android::idmap2::Idmap;
102 const auto idmap = Idmap::FromApkAssets(target_apk_path, *target_apk, overlay_apk_path, in Create()
DScan.cpp41 using android::idmap2::Idmap;
195 std::string idmap_path = Idmap::CanonicalIdmapPathFor(output_directory, path); in Scan()
/frameworks/base/cmds/idmap2/
DAndroid.bp41 "libidmap2/Idmap.cpp",
/frameworks/base/libs/androidfw/
DAndroid.bp47 "Idmap.cpp",