Searched defs:idmap (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | AssetManager.h | 191 * Generate idmap data to translate resources IDs between a package and a 200 asset_path() : path(""), type(kFileTypeRegular), idmap(""), 204 String8 idmap; member in struct:android::AssetManager::asset_path
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | Installer.java | 313 public void idmap(String targetApkPath, String overlayApkPath, int uid) method in class:Installer 317 mInstalld.idmap(targetApkPath, overlayApkPath, uid);
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 74 const char* AssetManager::IDMAP_BIN = "/system/bin/idmap"; 104 path.append("@idmap"); 227 if (mAssetPaths[i].idmap == idmapPath) { 233 Asset* idmap = NULL; local 234 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { 235 ALOGW("failed to open idmap file %s\n", idmapPath.string()); 241 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(), 243 ALOGW("failed to read idmap file %s\n", idmapPath.string()); 244 delete idmap; 505 Asset* idmap = openIdmapLocked(ap); local [all...] |
H A D | ResourceTypes.cpp | 230 static bool assertIdmapHeader(const void* idmap, size_t size) { argument 231 if (reinterpret_cast<uintptr_t>(idmap) & 0x03) { 232 ALOGE("idmap: header is not word aligned"); 237 ALOGW("idmap: header too small (%d bytes)", (uint32_t) size); 241 const uint32_t magic = htodl(*reinterpret_cast<const uint32_t*>(idmap)); 243 ALOGW("idmap: no magic found in header (is 0x%08x, expected 0x%08x)", 248 const uint32_t version = htodl(*(reinterpret_cast<const uint32_t*>(idmap) + 1)); 252 ALOGW("idmap: version mismatch in header (is 0x%08x, expected 0x%08x)", 295 ALOGE("idmap: entry header is not word aligned"); 300 ALOGE("idmap 354 parseIdmap(const void* idmap, size_t size, uint8_t* outPackageId, KeyedVector<uint8_t, IdmapEntries>* outMap) argument 6897 getIdmapInfo(const void* idmap, size_t sizeBytes, uint32_t* pVersion, uint32_t* pTargetCrc, uint32_t* pOverlayCrc, String8* pTargetPath, String8* pOverlayPath) argument [all...] |
/frameworks/native/cmds/installd/ |
H A D | InstalldNativeService.cpp | 81 static constexpr const char *kIdMapPath = "/system/bin/idmap"; 83 static constexpr const char* IDMAP_SUFFIX = "@idmap"; 1964 PLOG(ERROR) << "idmap open failed: " << idmap_path; 1974 LOG(ERROR) << "setgid(" << uid << ") failed during idmap"; 1978 LOG(ERROR) << "setuid(" << uid << ") failed during idmap"; 1982 PLOG(ERROR) << "flock(" << idmap_path << ") failed during idmap"; 1987 exit(1); /* only if exec call to deleting stale idmap failed */ 1993 // Failed on verifying if idmap is made from target_apk and overlay_apk. 1994 LOG(DEBUG) << "delete stale idmap: " << idmap_path; 2003 // eg /a/b/c.apk to /data/resource-cache/a@b@c.apk@idmap 2037 binder::Status InstalldNativeService::idmap(const std::string& targetApkPath, function in class:android::installd::InstalldNativeService [all...] |
Completed in 106 milliseconds