Searched refs:idmap_path (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/cmds/idmap/ |
H A D | idmap.h | 24 const char *idmap_path); 36 int idmap_inspect(const char *idmap_path);
|
H A D | idmap.cpp | 154 const char *idmap_path) 171 return idmap_create_path(target_apk_path, overlay_apk_path, idmap_path); 227 int maybe_inspect(const char *idmap_path) argument 230 if (!verify_file_readable(idmap_path)) { 231 ALOGD("error: failed to read idmap %s: %s\n", idmap_path, strerror(errno)); 234 return idmap_inspect(idmap_path); 153 maybe_create_path(const char *target_apk_path, const char *overlay_apk_path, const char *idmap_path) argument
|
H A D | create.cpp | 135 const char *idmap_path) 138 if (stat(idmap_path, &st) == -1) { 143 int idmap_fd = TEMP_FAILURE_RETRY(open(idmap_path, O_RDONLY)); 199 const char *idmap_path) 201 if (!is_idmap_stale_path(target_apk_path, overlay_apk_path, idmap_path)) { 206 int fd = open_idmap(idmap_path); 214 unlink(idmap_path); 134 is_idmap_stale_path(const char *target_apk_path, const char *overlay_apk_path, const char *idmap_path) argument 198 idmap_create_path(const char *target_apk_path, const char *overlay_apk_path, const char *idmap_path) argument
|
H A D | inspect.cpp | 34 status_t init(const char *idmap_path) { argument 38 if (stat(idmap_path, &st) < 0) { 39 printe("failed to stat idmap '%s': %s\n", idmap_path, strerror(errno)); 43 if ((fd = TEMP_FAILURE_RETRY(open(idmap_path, O_RDONLY))) < 0) { 44 printe("failed to open idmap '%s': %s\n", idmap_path, strerror(errno)); 295 int idmap_inspect(const char *idmap_path) { argument 297 if (buf.init(idmap_path) < 0) {
|
H A D | scan.cpp | 27 apk_path(a), idmap_path(i), priority(p) {} 35 String8 idmap_path; member in struct:__anon1028::Overlay 61 fprintf(fout, "%s %s\n", overlay.apk_path.string(), overlay.idmap_path.string()); 265 String8 idmap_path(idmap_dir); 266 idmap_path.appendPath(flatten_path(overlay_apk_path + 1)); 267 idmap_path.append("@idmap"); 269 if (idmap_create_path(target_apk_path, overlay_apk_path, idmap_path.string()) != 0) { 271 target_apk_path, overlay_apk_path, idmap_path.string()); 275 Overlay overlay(String8(overlay_apk_path), idmap_path, priority); local
|
/frameworks/native/cmds/installd/ |
H A D | InstalldNativeService.cpp | 1961 const char* idmap_path, int32_t uid) { 1962 int idmap_fd = open(idmap_path, O_RDWR); 1964 PLOG(ERROR) << "idmap open failed: " << idmap_path; 1965 unlink(idmap_path); 1982 PLOG(ERROR) << "flock(" << idmap_path << ") failed during idmap"; 1994 LOG(DEBUG) << "delete stale idmap: " << idmap_path; 1995 unlink(idmap_path); 2005 const char *overlay_path, char *idmap_path, size_t N) 2007 if (overlay_path == NULL || idmap_path == NULL) { 2025 memset(idmap_path, 1960 delete_stale_idmap(const char* target_apk, const char* overlay_apk, const char* idmap_path, int32_t uid) argument 2004 flatten_path(const char *prefix, const char *suffix, const char *overlay_path, char *idmap_path, size_t N) argument 2047 char idmap_path[PATH_MAX]; local 2126 char idmap_path[PATH_MAX]; local [all...] |
Completed in 85 milliseconds