Home | History | Annotate | Download | only in idmap

Lines Matching refs:overlay_apk_path

74     bool is_idmap_stale_fd(const char *target_apk_path, const char *overlay_apk_path, int idmap_fd)
116 if (cached_overlay_path != overlay_apk_path) {
125 if (get_zip_entry_crc(overlay_apk_path, AssetManager::RESOURCES_FILENAME,
133 bool is_idmap_stale_path(const char *target_apk_path, const char *overlay_apk_path,
146 bool is_stale = is_idmap_stale_fd(target_apk_path, overlay_apk_path, idmap_fd);
151 int create_idmap(const char *target_apk_path, const char *overlay_apk_path,
159 if (get_zip_entry_crc(overlay_apk_path, AssetManager::RESOURCES_FILENAME,
165 bool b = am.createIdmap(target_apk_path, overlay_apk_path, target_crc, overlay_crc,
170 int create_and_write_idmap(const char *target_apk_path, const char *overlay_apk_path,
174 if (!is_idmap_stale_fd(target_apk_path, overlay_apk_path, fd)) {
183 if (create_idmap(target_apk_path, overlay_apk_path, &data, &size) == -1) {
197 int idmap_create_path(const char *target_apk_path, const char *overlay_apk_path,
200 if (!is_idmap_stale_path(target_apk_path, overlay_apk_path, idmap_path)) {
210 int r = create_and_write_idmap(target_apk_path, overlay_apk_path, fd, false);
218 int idmap_create_fd(const char *target_apk_path, const char *overlay_apk_path, int fd)
220 return create_and_write_idmap(target_apk_path, overlay_apk_path, fd, true) == 0 ?