OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:overlay_apk_path
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/cmds/idmap/
create.cpp
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))
[
all
...]
idmap.h
21
int idmap_create_path(const char *target_apk_path, const char *
overlay_apk_path
,
24
int idmap_create_fd(const char *target_apk_path, const char *
overlay_apk_path
, int fd);
idmap.cpp
122
int maybe_create_fd(const char *target_apk_path, const char *
overlay_apk_path
,
140
if (!verify_file_readable(
overlay_apk_path
)) {
141
ALOGD("error: failed to read apk %s: %s\n",
overlay_apk_path
, strerror(errno));
145
return idmap_create_fd(target_apk_path,
overlay_apk_path
, idmap_fd);
148
int maybe_create_path(const char *target_apk_path, const char *
overlay_apk_path
,
161
if (!verify_file_readable(
overlay_apk_path
)) {
162
ALOGD("error: failed to read apk %s: %s\n",
overlay_apk_path
, strerror(errno));
166
return idmap_create_path(target_apk_path,
overlay_apk_path
, idmap_path);
scan.cpp
210
char
overlay_apk_path
[PATH_MAX + 1];
local
211
snprintf(
overlay_apk_path
, PATH_MAX, "%s/%s", overlay_dir, dirent->d_name);
212
if (stat(
overlay_apk_path
, &st) < 0) {
219
int priority = parse_apk(
overlay_apk_path
, target_package_name);
225
idmap_path.appendPath(flatten_path(
overlay_apk_path
+ 1));
228
if (idmap_create_path(target_apk_path,
overlay_apk_path
, idmap_path.string()) != 0) {
230
target_apk_path,
overlay_apk_path
, idmap_path.string());
234
Overlay overlay(String8(
overlay_apk_path
), idmap_path, priority);
Completed in 130 milliseconds