Searched refs:idmap (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/cmds/idmap/ |
D | Android.mk | 18 LOCAL_SRC_FILES := idmap.cpp create.cpp scan.cpp inspect.cpp 22 LOCAL_MODULE := idmap
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 236 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 …]
|
D | ResourceTypes.cpp | 230 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/ |
D | AssetManager.h | 241 asset_path() : path(""), type(kFileTypeRegular), idmap(""), in asset_path() 245 String8 idmap; member
|
D | ResourceTypes.h | 1870 static bool getIdmapInfo(const void* idmap, size_t size,
|
/frameworks/native/cmds/installd/ |
D | commands.h | 64 int idmap(const char *target_path, const char *overlay_path, uid_t uid);
|
D | installd.cpp | 372 return idmap(arg[0], arg[1], atoi(arg[2])); in do_idmap()
|
D | commands.cpp | 1749 int idmap(const char *target_apk, const char *overlay_apk, uid_t uid) in idmap() function
|
/frameworks/base/core/tests/overlaytests/ |
D | testrunner.py | 603 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/ |
D | Installer.java | 161 public void idmap(String targetApkPath, String overlayApkPath, int uid) in idmap() method in Installer
|
D | PackageManagerService.java | 6661 mInstaller.idmap(pkg.baseCodePath, opkg.baseCodePath, sharedGid);
|