Searched refs:target_path (Results 1 – 8 of 8) sorted by relevance
/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… 56 …erlay --recursive --target-package-name test.target --target-apk-path $target_path --output-direct…
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 200 std::string target_path; in Lookup() local 212 target_path = idmap_header->GetTargetPath().to_string(); in Lookup() 213 auto target_apk = ApkAssets::Load(target_path); in Lookup() 215 return Error("failed to read target apk from %s", target_path.c_str()); in Lookup() 225 } else if (target_path != idmap_header->GetTargetPath()) { in Lookup() 227 target_path.c_str(), idmap_path.c_str(), in Lookup()
|
D | CommandUtils.cpp | 31 Result<Unit> Verify(const std::string& idmap_path, const std::string& target_path, in Verify() argument 42 const auto header_ok = header->IsUpToDate(target_path.c_str(), overlay_path.c_str(), in Verify()
|
D | CommandUtils.h | 24 const std::string& target_path,
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Idmap.cpp | 135 Result<Unit> IdmapHeader::IsUpToDate(const char* target_path, const char* overlay_path, in IsUpToDate() argument 138 const std::unique_ptr<const ZipFile> target_zip = ZipFile::Open(target_path); in IsUpToDate() 140 return Error("failed to open target %s", target_path); in IsUpToDate() 158 return IsUpToDate(target_path, overlay_path, *target_crc, *overlay_crc, fulfilled_policies, in IsUpToDate() 162 Result<Unit> IdmapHeader::IsUpToDate(const char* target_path, const char* overlay_path, in IsUpToDate() argument 194 if (strcmp(target_path, target_path_) != 0) { in IsUpToDate() 195 return Error("bad target path: idmap version %s, file system version %s", target_path, in IsUpToDate()
|
/frameworks/base/libs/androidfw/ |
D | Idmap.cpp | 215 length = strnlen(reinterpret_cast<const char*>(header_->target_path), in LoadedIdmap() 216 arraysize(header_->target_path)); in LoadedIdmap() 217 target_apk_path_.assign(reinterpret_cast<const char*>(header_->target_path), length); in LoadedIdmap()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | Idmap.h | 143 Result<Unit> IsUpToDate(const char* target_path, const char* overlay_path, 145 Result<Unit> IsUpToDate(const char* target_path, const char* overlay_path, uint32_t target_crc,
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1752 uint8_t target_path[256]; member
|