• Home
  • Raw
  • Download

Lines Matching refs:overlay_apk_path

75     bool is_idmap_stale_fd(const char *target_apk_path, const char *overlay_apk_path, int idmap_fd)  in is_idmap_stale_fd()  argument
121 if (cached_overlay_path != overlay_apk_path) { in is_idmap_stale_fd()
130 if (get_zip_entry_crc(overlay_apk_path, AssetManager::RESOURCES_FILENAME, in is_idmap_stale_fd()
138 bool is_idmap_stale_path(const char *target_apk_path, const char *overlay_apk_path, in is_idmap_stale_path() argument
151 bool is_stale = is_idmap_stale_fd(target_apk_path, overlay_apk_path, idmap_fd); in is_idmap_stale_path()
156 int create_idmap(const char *target_apk_path, const char *overlay_apk_path, in create_idmap() argument
164 if (get_zip_entry_crc(overlay_apk_path, AssetManager::RESOURCES_FILENAME, in create_idmap()
170 bool b = am.createIdmap(target_apk_path, overlay_apk_path, target_crc, overlay_crc, in create_idmap()
175 int create_and_write_idmap(const char *target_apk_path, const char *overlay_apk_path, in create_and_write_idmap() argument
179 if (!is_idmap_stale_fd(target_apk_path, overlay_apk_path, fd)) { in create_and_write_idmap()
188 if (create_idmap(target_apk_path, overlay_apk_path, &data, &size) == -1) { in create_and_write_idmap()
202 int idmap_create_path(const char *target_apk_path, const char *overlay_apk_path, in idmap_create_path() argument
205 if (!is_idmap_stale_path(target_apk_path, overlay_apk_path, idmap_path)) { in idmap_create_path()
215 int r = create_and_write_idmap(target_apk_path, overlay_apk_path, fd, false); in idmap_create_path()
223 int idmap_create_fd(const char *target_apk_path, const char *overlay_apk_path, int fd) in idmap_create_fd() argument
225 return create_and_write_idmap(target_apk_path, overlay_apk_path, fd, true) == 0 ? in idmap_create_fd()
229 int idmap_verify_fd(const char *target_apk_path, const char *overlay_apk_path, int fd) in idmap_verify_fd() argument
231 return !is_idmap_stale_fd(target_apk_path, overlay_apk_path, fd) ? in idmap_verify_fd()