Searched defs:idmap (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/include/androidfw/ |
H A D | AssetManager.h | 230 * Generate idmap data to translate resources IDs between a package and a 241 String8 idmap; member in struct:android::AssetManager::asset_path
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | Installer.java | 95 public int idmap(String targetApkPath, String overlayApkPath, int uid) { method in class:Installer 96 StringBuilder builder = new StringBuilder("idmap");
|
/frameworks/base/core/tests/overlaytests/ |
H A D | testrunner.py | 17 TASK_GREP_IDMAP_TEST = 'test (grep idmap)' 19 TASK_IDMAP_PATH = 'idmap --path' 20 TASK_IDMAP_SCAN = 'idmap --scan' 28 TASK_SETUP_IDMAP_PATH = 'setup idmap --path' 29 TASK_SETUP_IDMAP_SCAN = 'setup idmap --scan' 239 return _adb_shell('su system idmap --path "%s" "%s" "%s"' % (self.path_target_apk, self.path_overlay_apk, self.path_idmap)) 256 return _adb_shell('su system idmap --scan "%s" "%s" "%s" "%s"' % (self.overlay_dir, self.target_pkg_name, self.target_pkg, self.idmap_dir)) 284 returncode, stdout, stderr = _adb_shell('idmap --inspect %s' % self.path_idmap) 289 return 1, 'pattern=%s idmap=%s expected=%d found=%d\n' % (self.pattern, self.path_idmap, self.expected_n, len(all_matches)), '' 410 RmTask("/data/resource-cache/vendor@overlay@framework_a.apk@idmap"), 603 idmap = idmaps + '/vendor@overlay@framework_b.apk@idmap' variable [all...] |
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 86 const char* AssetManager::IDMAP_BIN = "/system/bin/idmap"; 115 path.append("@idmap"); 248 if (mAssetPaths[i].idmap == idmapPath) { 254 Asset* idmap = NULL; local 255 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { 256 ALOGW("failed to open idmap file %s\n", idmapPath.string()); 262 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(), 264 ALOGW("failed to read idmap file %s\n", idmapPath.string()); 265 delete idmap; 609 Asset* idmap = openIdmapLocked(ap); local [all...] |
H A D | ResourceTypes.cpp | 225 static bool assertIdmapHeader(const void* idmap, size_t size) { argument 226 if (reinterpret_cast<uintptr_t>(idmap) & 0x03) { 227 ALOGE("idmap: header is not word aligned"); 232 ALOGW("idmap: header too small (%d bytes)", (uint32_t) size); 236 const uint32_t magic = htodl(*reinterpret_cast<const uint32_t*>(idmap)); 238 ALOGW("idmap: no magic found in header (is 0x%08x, expected 0x%08x)", 243 const uint32_t version = htodl(*(reinterpret_cast<const uint32_t*>(idmap) + 1)); 247 ALOGW("idmap: version mismatch in header (is 0x%08x, expected 0x%08x)", 290 ALOGE("idmap: entry header is not word aligned"); 295 ALOGE("idmap 349 parseIdmap(const void* idmap, size_t size, uint8_t* outPackageId, KeyedVector<uint8_t, IdmapEntries>* outMap) argument 6187 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 | commands.c | 1444 static const char *IDMAP_BIN = "/system/bin/idmap"; 1455 // eg /a/b/c.apk to /data/resource-cache/a@b@c.apk@idmap 1489 int idmap(const char *target_apk, const char *overlay_apk, uid_t uid) function 1491 ALOGV("idmap target_apk=%s overlay_apk=%s uid=%d\n", target_apk, overlay_apk, uid); 1498 ALOGE("idmap cannot generate idmap path for overlay %s\n", overlay_apk); 1505 ALOGE("idmap cannot open '%s' for output: %s\n", idmap_path, strerror(errno)); 1509 ALOGE("idmap cannot chown '%s'\n", idmap_path); 1513 ALOGE("idmap cannot chmod '%s'\n", idmap_path); 1522 ALOGE("setgid(%d) failed during idmap\ [all...] |
Completed in 162 milliseconds