Home
last modified time | relevance | path

Searched refs:overlay_apk_path (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/idmap2/idmap2/
DCreateMultiple.cpp101 for (const std::string& overlay_apk_path : overlay_apk_paths) { in CreateMultiple() local
102 const std::string idmap_path = Idmap::CanonicalIdmapPathFor(idmap_dir, overlay_apk_path); in CreateMultiple()
110 if (!Verify(idmap_path, target_apk_path, overlay_apk_path, "", fulfilled_policies, in CreateMultiple()
112 const auto overlay = OverlayResourceContainer::FromPath(overlay_apk_path); in CreateMultiple()
114 LOG(WARNING) << "failed to load apk " << overlay_apk_path.c_str(); in CreateMultiple()
DCreate.cpp52 std::string overlay_apk_path; in Create() local
65 &overlay_apk_path) in Create()
102 const auto overlay = OverlayResourceContainer::FromPath(overlay_apk_path); in Create()
104 return Error("failed to load apk overlay '%s'", overlay_apk_path.c_str()); in Create()
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp190 std::string overlay_apk_path = GetTestDataPath() + "/overlay/overlay.apk"; in TEST() local
195 auto overlay = OverlayResourceContainer::FromPath(overlay_apk_path); in TEST()
213 ASSERT_EQ(idmap->GetHeader()->GetOverlayPath(), overlay_apk_path); in TEST()
219 std::string overlay_apk_path = GetTestDataPath() + "/overlay/overlay.apk"; in TEST() local
224 auto overlay = OverlayResourceContainer::FromPath(overlay_apk_path); in TEST()
302 std::string overlay_apk_path = GetTestDataPath() + "/overlay/overlay.apk"; in TEST() local
307 auto overlay = OverlayResourceContainer::FromPath(overlay_apk_path); in TEST()
324 std::string overlay_apk_path = GetTestDataPath() + "/overlay/overlay-shared.apk"; in TEST() local
329 auto overlay = OverlayResourceContainer::FromPath(overlay_apk_path); in TEST()
452 const std::string overlay_apk_path = kIdmapRawOverlayPath; in TEST() local
[all …]
DIdmap2BinaryTests.cpp58 const std::string& overlay_apk_path) { in AssertIdmap() argument
64 ASSERT_EQ(idmap.GetHeader()->GetOverlayPath(), overlay_apk_path); in AssertIdmap()
68 #define ASSERT_IDMAP(idmap_ref, target_apk_path, overlay_apk_path) \ argument
70 ASSERT_NO_FATAL_FAILURE(AssertIdmap(idmap_ref, target_apk_path, overlay_apk_path)); \
DPrettyPrintVisitorTests.cpp41 const std::string overlay_apk_path(GetTestDataPath() + "/overlay/overlay.apk"); in TEST() local
42 auto overlay = OverlayResourceContainer::FromPath(overlay_apk_path); in TEST()
DRawPrintVisitorTests.cpp54 const std::string overlay_apk_path(GetTestDataPath() + "/overlay/overlay.apk"); in TEST() local
55 auto overlay = OverlayResourceContainer::FromPath(overlay_apk_path); in TEST()
/frameworks/base/libs/androidfw/
DIdmap.cpp242 std::string_view overlay_apk_path, in LoadedIdmap() argument
251 overlay_apk_path_(overlay_apk_path), in LoadedIdmap()
/frameworks/base/libs/androidfw/include/androidfw/
DIdmap.h212 std::string_view overlay_apk_path,