/frameworks/base/cmds/idmap2/libidmap2/ |
D | RawPrintVisitor.cpp | 70 Result<std::string> overlay_name(Error("")); in visit() local 72 overlay_name = overlay_->GetResourceName(target_entry.overlay_id); in visit() 74 if (overlay_name) { in visit() 75 print(target_entry.overlay_id, "overlay id: %s", overlay_name->c_str()); in visit() 104 Result<std::string> overlay_name(Error("")); in visit() local 108 overlay_name = overlay_->GetResourceName(value.data_value); in visit() 111 if (overlay_name) { in visit() 112 print(value.data_value, "data: %s", overlay_name->c_str()); in visit() 120 Result<std::string> overlay_name(Error("")); in visit() local 122 overlay_name = overlay_->GetResourceName(overlay_entry.overlay_id); in visit() [all …]
|
D | PrettyPrintVisitor.cpp | 82 std::string overlay_name = kUnknownResourceName; in visit() local 85 overlay_name = *name; in visit() 92 overlay_name.c_str()) in visit()
|
D | Idmap.cpp | 117 const std::string& overlay_name, in IsUpToDate() argument 130 return IsUpToDate(target.GetPath(), overlay.GetPath(), overlay_name, *target_crc, *overlay_crc, in IsUpToDate() 136 const std::string& overlay_name, uint32_t target_crc, in IsUpToDate() argument 177 if (overlay_name != overlay_name_) { in IsUpToDate() 178 return Error("bad overlay name: idmap version %s, file system version %s", overlay_name.c_str(), in IsUpToDate() 358 const std::string& overlay_name, in FromContainers() argument 383 header->overlay_name_ = overlay_name; in FromContainers() 385 auto info = overlay.FindOverlayInfo(overlay_name); in FromContainers()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Create.cpp | 54 std::string overlay_name; in Create() local 68 &overlay_name) in Create() 107 const auto idmap = Idmap::FromContainers(**target, **overlay, overlay_name, fulfilled_policies, in Create()
|
D | CommandUtils.cpp | 36 const std::string& overlay_path, const std::string& overlay_name, in Verify() argument 56 const auto header_ok = header->IsUpToDate(**target, **overlay, overlay_name, fulfilled_policies, in Verify()
|
D | CommandUtils.h | 27 const std::string& overlay_name, PolicyBitmask fulfilled_policies, bool enforce_overlayable);
|
/frameworks/base/cmds/idmap2/tests/ |
D | IdmapTests.cpp | 392 const std::string& overlay_name, const PolicyBitmask& fulfilled_policies, in TestIdmapDataFromApkAssets() argument 406 auto overlay_info = (*overlay)->FindOverlayInfo(overlay_name); in TestIdmapDataFromApkAssets() 408 return Error(R"(Failed to find overlay name "%s")", overlay_name.c_str()); in TestIdmapDataFromApkAssets() 472 const std::string overlay_name {kIdmapRawOverlayName}; in TEST() local 490 ASSERT_TRUE(header->IsUpToDate(target_apk_path, overlay_apk_path, overlay_name, in TEST() 527 ASSERT_FALSE(bad_target_crc_header->IsUpToDate(target_apk_path, overlay_apk_path, overlay_name, in TEST() 542 ASSERT_FALSE(bad_overlay_crc_header->IsUpToDate(target_apk_path, overlay_apk_path, overlay_name, in TEST() 557 ASSERT_FALSE(bad_policy_header->IsUpToDate(target_apk_path, overlay_apk_path, overlay_name, in TEST() 569 ASSERT_FALSE(bad_enforce_header->IsUpToDate(target_apk_path, overlay_apk_path, overlay_name, in TEST() 581 ASSERT_FALSE(bad_target_path_header->IsUpToDate(target_apk_path, overlay_apk_path, overlay_name, in TEST() [all …]
|
D | ResourceMappingTests.cpp | 45 const std::string& overlay_name, in TestGetResourceMapping() argument 64 auto overlay_info = (*overlay)->FindOverlayInfo(overlay_name); in TestGetResourceMapping() 67 overlay_name.c_str()); in TestGetResourceMapping()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | Idmap.h | 146 const OverlayResourceContainer& overlay, const std::string& overlay_name, 150 const std::string& overlay_name, uint32_t target_crc, 287 const std::string& overlay_name, const PolicyBitmask& fulfilled_policies,
|
/frameworks/base/cmds/idmap2/idmap2d/ |
D | Idmap2Service.h | 50 const std::string& overlay_name, int32_t fulfilled_policies, 55 const std::string& overlay_name, int32_t fulfilled_policies,
|
D | Idmap2Service.cpp | 109 const std::string& overlay_name, int32_t fulfilled_policies, in verifyIdmap() argument 140 header->IsUpToDate(*GetPointer(*target), **overlay, overlay_name, in verifyIdmap() 152 const std::string& overlay_name, int32_t fulfilled_policies, in createIdmap() argument 184 const auto idmap = Idmap::FromContainers(*GetPointer(*target), **overlay, overlay_name, in createIdmap()
|