Searched defs:idmap (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/include/androidfw/ |
H A D | AssetManager.h | 232 * Generate idmap data to translate resources IDs between a package and a 241 asset_path() : path(""), type(kFileTypeRegular), idmap(""), 245 String8 idmap; member in struct:android::AssetManager::asset_path
|
/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/services/core/java/com/android/server/pm/ |
H A D | Installer.java | 168 public void idmap(String targetApkPath, String overlayApkPath, int uid) method in class:Installer 170 mInstaller.execute("idmap", targetApkPath, overlayApkPath, uid);
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 80 const char* AssetManager::IDMAP_BIN = "/system/bin/idmap"; 109 path.append("@idmap"); 239 if (mAssetPaths[i].idmap == idmapPath) { 245 Asset* idmap = NULL; local 246 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { 247 ALOGW("failed to open idmap file %s\n", idmapPath.string()); 253 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(), 255 ALOGW("failed to read idmap file %s\n", idmapPath.string()); 256 delete idmap; 609 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 6731 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.cpp | 68 static constexpr const char* IDMAP_SUFFIX = "@idmap"; 1936 static const char *IDMAP_BIN = "/system/bin/idmap"; 1947 // eg /a/b/c.apk to /data/resource-cache/a@b@c.apk@idmap 1981 int idmap(const char *target_apk, const char *overlay_apk, uid_t uid) function in namespace:android::installd 1983 ALOGV("idmap target_apk=%s overlay_apk=%s uid=%d\n", target_apk, overlay_apk, uid); 1990 ALOGE("idmap cannot generate idmap path for overlay %s\n", overlay_apk); 1997 ALOGE("idmap cannot open '%s' for output: %s\n", idmap_path, strerror(errno)); 2001 ALOGE("idmap cannot chown '%s'\n", idmap_path); 2005 ALOGE("idmap canno [all...] |
Completed in 193 milliseconds