Home
last modified time | relevance | path

Searched refs:idmap (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/cmds/idmap/
DAndroid.mk18 LOCAL_SRC_FILES := idmap.cpp create.cpp scan.cpp inspect.cpp
22 LOCAL_MODULE := idmap
/frameworks/base/libs/androidfw/
DAssetManager.cpp236 if (mAssetPaths[i].idmap == idmapPath) { in addOverlayPath()
242 Asset* idmap = NULL; in addOverlayPath() local
243 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { in addOverlayPath()
250 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(), in addOverlayPath()
253 delete idmap; in addOverlayPath()
256 delete idmap; in addOverlayPath()
279 oap.idmap = idmapPath; in addOverlayPath()
606 Asset* idmap = openIdmapLocked(ap); in appendPathToResTable() local
641 sharedRes->add(ass, idmap, nextEntryIdx + 1, false); in appendPathToResTable()
670 mResources->add(ass, idmap, nextEntryIdx + 1, !shared, appAsLib, ap.isSystemAsset); in appendPathToResTable()
[all …]
DResourceTypes.cpp230 static bool assertIdmapHeader(const void* idmap, size_t size) { in assertIdmapHeader() argument
231 if (reinterpret_cast<uintptr_t>(idmap) & 0x03) { in assertIdmapHeader()
241 const uint32_t magic = htodl(*reinterpret_cast<const uint32_t*>(idmap)); in assertIdmapHeader()
248 const uint32_t version = htodl(*(reinterpret_cast<const uint32_t*>(idmap) + 1)); in assertIdmapHeader()
354 status_t parseIdmap(const void* idmap, size_t size, uint8_t* outPackageId, KeyedVector<uint8_t, Idm… in parseIdmap() argument
355 if (!assertIdmapHeader(idmap, size)) { in parseIdmap()
366 reinterpret_cast<const uint8_t*>(idmap) + ResTable::IDMAP_HEADER_SIZE_BYTES); in parseIdmap()
6731 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes, in getIdmapInfo() argument
6736 const uint32_t* map = (const uint32_t*)idmap; in getIdmapInfo()
/frameworks/base/include/androidfw/
DAssetManager.h241 asset_path() : path(""), type(kFileTypeRegular), idmap(""), in asset_path()
245 String8 idmap; member
DResourceTypes.h1870 static bool getIdmapInfo(const void* idmap, size_t size,
/frameworks/native/cmds/installd/
Dcommands.h64 int idmap(const char *target_path, const char *overlay_path, uid_t uid);
Dinstalld.cpp372 return idmap(arg[0], arg[1], atoi(arg[2])); in do_idmap()
Dcommands.cpp1749 int idmap(const char *target_apk, const char *overlay_apk, uid_t uid) in idmap() function
/frameworks/base/core/tests/overlaytests/
Dtestrunner.py603 idmap = idmaps + '/vendor@overlay@framework_b.apk@idmap' variable
608 tasks.append(FileExistsTest(idmap))
609 tasks.append(GrepIdmapTest(idmap, 'bool/config_annoy_dianne', 1))
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java161 public void idmap(String targetApkPath, String overlayApkPath, int uid) in idmap() method in Installer
DPackageManagerService.java6661 mInstaller.idmap(pkg.baseCodePath, opkg.baseCodePath, sharedGid);