Home
last modified time | relevance | path

Searched refs:overlayPath (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/om/
DIdmapDaemon.java106 String createIdmap(String targetPath, String overlayPath, int policies, boolean enforce, in createIdmap() argument
109 return mService.createIdmap(targetPath, overlayPath, policies, enforce, userId); in createIdmap()
113 boolean removeIdmap(String overlayPath, int userId) throws Exception { in removeIdmap() argument
115 return mService.removeIdmap(overlayPath, userId); in removeIdmap()
119 boolean verifyIdmap(String overlayPath, int policies, boolean enforce, int userId) in verifyIdmap() argument
122 return mService.verifyIdmap(overlayPath, policies, enforce, userId); in verifyIdmap()
126 String getIdmapPath(String overlayPath, int userId) throws Exception { in getIdmapPath() argument
128 return mService.getIdmapPath(overlayPath, userId); in getIdmapPath()
DIdmapManager.java79 final String overlayPath = overlayPackage.applicationInfo.getBaseCodePath(); in createIdmap() local
84 if (mIdmapDaemon.verifyIdmap(overlayPath, policies, enforce, userId)) { in createIdmap()
87 return mIdmapDaemon.createIdmap(targetPath, overlayPath, policies, in createIdmap()
90 mInstaller.idmap(targetPath, overlayPath, sharedGid); in createIdmap()
95 + overlayPath + ": " + e.getMessage()); in createIdmap()
/frameworks/base/libs/androidfw/
DAssetManager.cpp256 String8 overlayPath; in addOverlayPath() local
258 NULL, NULL, NULL, &targetPath, &overlayPath)) { in addOverlayPath()
265 if (overlayPath != packagePath) { in addOverlayPath()
267 idmapPath.string(), packagePath.string(), overlayPath.string()); in addOverlayPath()
278 if (access(overlayPath.string(), R_OK) != 0) { in addOverlayPath()
279 ALOGW("failed to access file %s: %s\n", overlayPath.string(), strerror(errno)); in addOverlayPath()
284 oap.path = overlayPath; in addOverlayPath()
285 oap.type = ::getFileType(overlayPath.string()); in addOverlayPath()
289 targetPath.string(), overlayPath.string(), idmapPath.string()); in addOverlayPath()
DResourceTypes.cpp7120 const char* targetPath, const char* overlayPath, in createIdmap() argument
7123 if (targetPath == NULL || overlayPath == NULL || outData == NULL || outSize == NULL) { in createIdmap()
7131 if (strlen(overlayPath) > 255) { in createIdmap()
7226 pathLen = strlen(overlayPath); in createIdmap()
7228 *charData++ = i < pathLen ? overlayPath[i] : '\0'; // write: overlay path in createIdmap()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h2054 const char* targetPath, const char* overlayPath,
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1981 for (String overlayPath : overlayPaths) { in parseBaseApk()
1982 res.getAssets().addOverlayPath(overlayPath); in parseBaseApk()