Searched refs:overlay_apk_path (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/cmds/idmap/
H A Dcreate.cpp75 bool is_idmap_stale_fd(const char *target_apk_path, const char *overlay_apk_path, int idmap_fd) argument
117 if (cached_overlay_path != overlay_apk_path) {
126 if (get_zip_entry_crc(overlay_apk_path, AssetManager::RESOURCES_FILENAME,
134 bool is_idmap_stale_path(const char *target_apk_path, const char *overlay_apk_path, argument
147 bool is_stale = is_idmap_stale_fd(target_apk_path, overlay_apk_path, idmap_fd);
152 int create_idmap(const char *target_apk_path, const char *overlay_apk_path, argument
160 if (get_zip_entry_crc(overlay_apk_path, AssetManager::RESOURCES_FILENAME,
166 bool b = am.createIdmap(target_apk_path, overlay_apk_path, target_crc, overlay_crc,
171 int create_and_write_idmap(const char *target_apk_path, const char *overlay_apk_path, argument
175 if (!is_idmap_stale_fd(target_apk_path, overlay_apk_path, f
198 idmap_create_path(const char *target_apk_path, const char *overlay_apk_path, const char *idmap_path) argument
219 idmap_create_fd(const char *target_apk_path, const char *overlay_apk_path, int fd) argument
[all...]
H A Didmap.cpp123 int maybe_create_fd(const char *target_apk_path, const char *overlay_apk_path, argument
141 if (!verify_file_readable(overlay_apk_path)) {
142 ALOGD("error: failed to read apk %s: %s\n", overlay_apk_path, strerror(errno));
146 return idmap_create_fd(target_apk_path, overlay_apk_path, idmap_fd);
149 int maybe_create_path(const char *target_apk_path, const char *overlay_apk_path, argument
162 if (!verify_file_readable(overlay_apk_path)) {
163 ALOGD("error: failed to read apk %s: %s\n", overlay_apk_path, strerror(errno));
167 return idmap_create_path(target_apk_path, overlay_apk_path, idmap_path);
H A 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);
H A Dscan.cpp190 char overlay_apk_path[PATH_MAX + 1]; local
191 snprintf(overlay_apk_path, PATH_MAX, "%s/%s", overlay_dir, dirent->d_name);
192 if (stat(overlay_apk_path, &st) < 0) {
199 int priority = parse_apk(overlay_apk_path, target_package_name);
205 idmap_path.appendPath(flatten_path(overlay_apk_path + 1));
208 if (idmap_create_path(target_apk_path, overlay_apk_path, idmap_path.string()) != 0) {
210 target_apk_path, overlay_apk_path, idmap_path.string());
214 Overlay overlay(String8(overlay_apk_path), idmap_path, priority);

Completed in 446 milliseconds