Home
last modified time | relevance | path

Searched refs:target_apk_path (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/cmds/idmap/
Dcreate.cpp75 bool is_idmap_stale_fd(const char *target_apk_path, const char *overlay_apk_path, int idmap_fd) in is_idmap_stale_fd() argument
114 if (cached_target_path != target_apk_path) { in is_idmap_stale_fd()
122 if (get_zip_entry_crc(target_apk_path, AssetManager::RESOURCES_FILENAME, in is_idmap_stale_fd()
134 bool is_idmap_stale_path(const char *target_apk_path, const char *overlay_apk_path, in is_idmap_stale_path() argument
147 bool is_stale = is_idmap_stale_fd(target_apk_path, overlay_apk_path, idmap_fd); in is_idmap_stale_path()
152 int create_idmap(const char *target_apk_path, const char *overlay_apk_path, in create_idmap() argument
156 if (get_zip_entry_crc(target_apk_path, AssetManager::RESOURCES_FILENAME, in create_idmap()
166 bool b = am.createIdmap(target_apk_path, overlay_apk_path, target_crc, overlay_crc, in create_idmap()
171 int create_and_write_idmap(const char *target_apk_path, const char *overlay_apk_path, in create_and_write_idmap() argument
175 if (!is_idmap_stale_fd(target_apk_path, overlay_apk_path, fd)) { in create_and_write_idmap()
[all …]
Didmap.cpp123 int maybe_create_fd(const char *target_apk_path, const char *overlay_apk_path, in maybe_create_fd() argument
136 if (!verify_file_readable(target_apk_path)) { in maybe_create_fd()
137 ALOGD("error: failed to read apk %s: %s\n", target_apk_path, strerror(errno)); in maybe_create_fd()
146 return idmap_create_fd(target_apk_path, overlay_apk_path, idmap_fd); in maybe_create_fd()
149 int maybe_create_path(const char *target_apk_path, const char *overlay_apk_path, in maybe_create_path() argument
157 if (!verify_file_readable(target_apk_path)) { in maybe_create_path()
158 ALOGD("error: failed to read apk %s: %s\n", target_apk_path, strerror(errno)); in maybe_create_path()
167 return idmap_create_path(target_apk_path, overlay_apk_path, idmap_path); in maybe_create_path()
170 int maybe_scan(const char *target_package_name, const char *target_apk_path, in maybe_scan() argument
178 if (!verify_file_readable(target_apk_path)) { in maybe_scan()
[all …]
Didmap.h23 int idmap_create_path(const char *target_apk_path, const char *overlay_apk_path,
26 int idmap_create_fd(const char *target_apk_path, const char *overlay_apk_path, int fd);
31 int idmap_scan(const char *target_package_name, const char *target_apk_path,
Dscan.cpp169 int idmap_scan(const char *target_package_name, const char *target_apk_path, in idmap_scan() argument
208 if (idmap_create_path(target_apk_path, overlay_apk_path, idmap_path.string()) != 0) { in idmap_scan()
210 target_apk_path, overlay_apk_path, idmap_path.string()); in idmap_scan()