Searched refs:idmap_path (Results 1 - 8 of 8) 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 | 139 const char *idmap_path) 142 if (stat(idmap_path, &st) == -1) { 147 int idmap_fd = TEMP_FAILURE_RETRY(open(idmap_path, O_RDONLY)); 203 const char *idmap_path) 205 if (!is_idmap_stale_path(target_apk_path, overlay_apk_path, idmap_path)) { 210 int fd = open_idmap(idmap_path); 218 unlink(idmap_path); 138 is_idmap_stale_path(const char *target_apk_path, const char *overlay_apk_path, const char *idmap_path) argument 202 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)); 297 int idmap_inspect(const char *idmap_path) { argument 299 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:__anon781::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/base/libs/androidfw/include/androidfw/ |
H A D | ApkAssets.h | 52 static std::unique_ptr<const ApkAssets> LoadOverlay(const std::string& idmap_path,
|
/frameworks/base/libs/androidfw/ |
H A D | ApkAssets.cpp | 55 std::unique_ptr<const ApkAssets> ApkAssets::LoadOverlay(const std::string& idmap_path, argument 57 std::unique_ptr<Asset> idmap_asset = CreateAssetFromFile(idmap_path); 67 LOG(ERROR) << "failed to load IDMAP " << idmap_path;
|
/frameworks/native/cmds/installd/ |
H A D | InstalldNativeService.cpp | 2097 const char* idmap_path, int32_t uid) { 2098 int idmap_fd = open(idmap_path, O_RDWR); 2100 PLOG(ERROR) << "idmap open failed: " << idmap_path; 2101 unlink(idmap_path); 2118 PLOG(ERROR) << "flock(" << idmap_path << ") failed during idmap"; 2130 LOG(DEBUG) << "delete stale idmap: " << idmap_path; 2131 unlink(idmap_path); 2141 const char *overlay_path, char *idmap_path, size_t N) 2143 if (overlay_path == NULL || idmap_path == NULL) { 2161 memset(idmap_path, 2096 delete_stale_idmap(const char* target_apk, const char* overlay_apk, const char* idmap_path, int32_t uid) argument 2140 flatten_path(const char *prefix, const char *suffix, const char *overlay_path, char *idmap_path, size_t N) argument 2185 char idmap_path[PATH_MAX]; local 2268 char idmap_path[PATH_MAX]; local [all...] |
Completed in 495 milliseconds