Home
last modified time | relevance | path

Searched refs:targetPath (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/om/
DIdmapManager.java78 final String targetPath = targetPackage.applicationInfo.getBaseCodePath(); in createIdmap() local
87 return mIdmapDaemon.createIdmap(targetPath, overlayPath, policies, in createIdmap()
90 mInstaller.idmap(targetPath, overlayPath, sharedGid); in createIdmap()
94 Slog.w(TAG, "failed to generate idmap for " + targetPath + " and " in createIdmap()
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()
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java306 File targetPath = new File(ourPath.toString() in testGeneratesEvents_spoofed_otherAppFile() local
309 assertWithMessage("Expected " + targetPath + " to not be readable") in testGeneratesEvents_spoofed_otherAppFile()
310 .that(targetPath.canRead()).isFalse(); in testGeneratesEvents_spoofed_otherAppFile()
314 + "path=\"" + targetPath + "\" " in testGeneratesEvents_spoofed_otherAppFile()
/frameworks/base/libs/androidfw/
DAssetManager.cpp255 String8 targetPath; in addOverlayPath() local
258 NULL, NULL, NULL, &targetPath, &overlayPath)) { in addOverlayPath()
270 if (access(targetPath.string(), R_OK) != 0) { in addOverlayPath()
271 ALOGW("failed to access file %s: %s\n", targetPath.string(), strerror(errno)); 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()
7127 if (strlen(targetPath) > 255) { in createIdmap()
7222 size_t pathLen = strlen(targetPath); in createIdmap()
7224 *charData++ = i < pathLen ? targetPath[i] : '\0'; // write: target path in createIdmap()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h2054 const char* targetPath, const char* overlayPath,
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java831 String targetPath) { in getStaticOverlayPaths() argument
837 if (targetPath == null) { in getStaticOverlayPaths()
851 mInstaller.idmap(targetPath, overlayPackage.baseCodePath, in getStaticOverlayPaths()
859 Slog.e(TAG, "Failed to generate idmap for " + targetPath + " and " + in getStaticOverlayPaths()
866 String[] getStaticOverlayPaths(String targetPackageName, String targetPath) { in getStaticOverlayPaths() argument
875 return getStaticOverlayPaths(overlayPackages, targetPath); in getStaticOverlayPaths()
884 String targetPath) { in getOverlayPaths() argument
885 return getStaticOverlayPaths(targetPackageName, targetPath); in getOverlayPaths()
906 synchronized String[] getStaticOverlayPaths(String targetPackageName, String targetPath) { in getStaticOverlayPaths() argument
915 targetPath); in getStaticOverlayPaths()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java580 String[] getOverlayPaths(String targetPackageName, String targetPath); in getOverlayPaths() argument
599 @Override public String[] getOverlayPaths(String targetPackageName, String targetPath) { in getOverlayPaths() argument