Searched refs:target_path (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/cmds/idmap2/idmap2d/ |
D | Idmap2Service.cpp | 108 Status Idmap2Service::verifyIdmap(const std::string& target_path, const std::string& overlay_path, in verifyIdmap() argument 125 const auto target = GetTargetContainer(target_path); in verifyIdmap() 128 LOG(WARNING) << "failed to load target '" << target_path << "'"; in verifyIdmap() 151 Status Idmap2Service::createIdmap(const std::string& target_path, const std::string& overlay_path, in createIdmap() argument 156 SYSTRACE << "Idmap2Service::createIdmap " << target_path << " " << overlay_path; in createIdmap() 174 const auto target = GetTargetContainer(target_path); in createIdmap() 176 return error("failed to load target '%s'" + target_path); in createIdmap() 209 const std::string& target_path) { in GetTargetContainer() argument 210 const bool is_framework = target_path == kFrameworkPath; in GetTargetContainer() 213 if (is_framework || !::stat(target_path.c_str(), &st)) { in GetTargetContainer() [all …]
|
D | Idmap2Service.h | 49 binder::Status verifyIdmap(const std::string& target_path, const std::string& overlay_path, 54 binder::Status createIdmap(const std::string& target_path, const std::string& overlay_path, 101 idmap2::Result<TargetResourceContainerPtr> GetTargetContainer(const std::string& target_path);
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | CommandUtils.cpp | 35 Result<Unit> Verify(const std::string& idmap_path, const std::string& target_path, in Verify() argument 46 auto target = TargetResourceContainer::FromPath(target_path); in Verify() 48 return Error("failed to load target '%s'", target_path.c_str()); in Verify()
|
D | Lookup.cpp | 178 std::string target_path; in Lookup() local 190 target_path = idmap_header->GetTargetPath(); in Lookup() 191 auto target_apk = ApkAssets::Load(target_path); in Lookup() 193 return Error("failed to read target apk from %s", target_path.c_str()); in Lookup() 208 } else if (target_path != idmap_header->GetTargetPath()) { in Lookup() 210 target_path.c_str(), idmap_path.c_str(), idmap_header->GetTargetPath().c_str()); in Lookup()
|
D | CommandUtils.h | 26 const std::string& idmap_path, const std::string& target_path, const std::string& overlay_path,
|
/frameworks/base/cmds/idmap2/ |
D | valgrind.sh | 48 target_path="${prefix}/tests/data/target/target.apk" 53 _eval "idmap2 create" "$valgrind idmap2 create --policy public --target-apk-path $target_path --ove…
|
/frameworks/base/libs/androidfw/ |
D | Idmap.cpp | 304 std::optional<std::string_view> target_path = ReadString(&data_ptr, &data_size, "target path"); in Load() local 305 if (!target_path) { in Load() 374 overlay_entries, std::move(idmap_string_pool), *overlay_path, *target_path)); in Load()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Idmap.cpp | 134 Result<Unit> IdmapHeader::IsUpToDate(const std::string& target_path, in IsUpToDate() argument 167 if (target_path != target_path_) { in IsUpToDate() 168 return Error("bad target path: idmap version %s, file system version %s", target_path.c_str(), in IsUpToDate()
|
/frameworks/base/cmds/idmap2/tests/ |
D | ResourceMappingTests.cpp | 48 const std::string target_path = (local_target_path[0] == '/') in TestGetResourceMapping() local 51 auto target = TargetResourceContainer::FromPath(target_path); in TestGetResourceMapping() 53 return Error(target.GetError(), R"(Failed to load target "%s")", target_path.c_str()); in TestGetResourceMapping()
|
D | IdmapTests.cpp | 394 const std::string target_path(GetTestDataPath() + local_target_path); in TestIdmapDataFromApkAssets() local 395 auto target = TargetResourceContainer::FromPath(target_path); in TestIdmapDataFromApkAssets() 397 return Error(R"(Failed to load target "%s")", target_path.c_str()); in TestIdmapDataFromApkAssets()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | Idmap.h | 149 Result<Unit> IsUpToDate(const std::string& target_path, const std::string& overlay_path,
|