Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/om/
DIdmapManager.java88 final String targetPath = targetPackage.applicationInfo.getBaseCodePath(); in createIdmap() local
97 return mIdmap2Service.createIdmap(targetPath, overlayPath, policies, enforce, in createIdmap()
100 mInstaller.idmap(targetPath, overlayPath, sharedGid); in createIdmap()
104 Slog.w(TAG, "failed to generate idmap for " + targetPath + " and " 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.cpp7121 const char* targetPath, const char* overlayPath, in createIdmap() argument
7124 if (targetPath == NULL || overlayPath == NULL || outData == NULL || outSize == NULL) { in createIdmap()
7128 if (strlen(targetPath) > 255) { in createIdmap()
7223 size_t pathLen = strlen(targetPath); in createIdmap()
7225 *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.java788 String targetPath) { in getStaticOverlayPaths() argument
794 if (targetPath == null) { in getStaticOverlayPaths()
808 mInstaller.idmap(targetPath, overlayPackage.baseCodePath, in getStaticOverlayPaths()
816 Slog.e(TAG, "Failed to generate idmap for " + targetPath + " and " + in getStaticOverlayPaths()
823 String[] getStaticOverlayPaths(String targetPackageName, String targetPath) { in getStaticOverlayPaths() argument
832 return getStaticOverlayPaths(overlayPackages, targetPath); in getStaticOverlayPaths()
841 String targetPath) { in getOverlayPaths() argument
842 return getStaticOverlayPaths(targetPackageName, targetPath); in getOverlayPaths()
863 synchronized String[] getStaticOverlayPaths(String targetPackageName, String targetPath) { in getStaticOverlayPaths() argument
872 targetPath); in getStaticOverlayPaths()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java577 String[] getOverlayPaths(String targetPackageName, String targetPath); in getOverlayPaths() argument
596 @Override public String[] getOverlayPaths(String targetPackageName, String targetPath) { in getOverlayPaths() argument