Home
last modified time | relevance | path

Searched refs:packagePath (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DIMediaContainerService.aidl24 int copyPackage(String packagePath, in IParcelFileDescriptorFactory target); in copyPackage() argument
26 PackageInfoLite getMinimalPackageInfo(String packagePath, int flags, String abiOverride); in getMinimalPackageInfo() argument
28 long calculateInstalledSize(String packagePath, String abiOverride); in calculateInstalledSize() argument
/frameworks/base/core/java/com/android/internal/os/
DWebViewZygoteInit.java87 protected void handlePreloadPackage(String packagePath, String libsPath, String libFileName, in handlePreloadPackage() argument
95 packagePath, libsPath, cacheKey); in handlePreloadPackage()
98 String[] packageList = TextUtils.split(packagePath, File.pathSeparator); in handlePreloadPackage()
DZygoteConnection.java520 protected void handlePreloadPackage(String packagePath, String libsPath, String libFileName, in handlePreloadPackage() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java737 public static PackageInfoLite getMinimalPackageInfo(Context context, String packagePath, in getMinimalPackageInfo() argument
740 if (packagePath == null) { in getMinimalPackageInfo()
741 Slog.i(TAG, "Invalid package file " + packagePath); in getMinimalPackageInfo()
746 final File packageFile = new File(packagePath); in getMinimalPackageInfo()
753 Slog.w(TAG, "Failed to parse package at " + packagePath + ": " + e); in getMinimalPackageInfo()
787 public static long calculateInstalledSize(String packagePath, String abiOverride) { in calculateInstalledSize() argument
788 final File packageFile = new File(packagePath); in calculateInstalledSize()
847 public static int copyPackage(String packagePath, File targetDir) { in copyPackage() argument
848 if (packagePath == null) { in copyPackage()
853 final File packageFile = new File(packagePath); in copyPackage()
[all …]
DShortcutService.java1281 final File packagePath = new File(getUserBitmapFilePath(userId), packageName); in cleanupBitmapsForPackage() local
1282 if (!packagePath.isDirectory()) { in cleanupBitmapsForPackage()
1285 if (!(FileUtils.deleteContents(packagePath) && packagePath.delete())) { in cleanupBitmapsForPackage()
1286 Slog.w(TAG, "Unable to remove directory " + packagePath); in cleanupBitmapsForPackage()
1378 final File packagePath = new File(getUserBitmapFilePath(userId), in openIconFileForWrite() local
1380 if (!packagePath.isDirectory()) { in openIconFileForWrite()
1381 packagePath.mkdirs(); in openIconFileForWrite()
1382 if (!packagePath.isDirectory()) { in openIconFileForWrite()
1383 throw new IOException("Unable to create directory " + packagePath); in openIconFileForWrite()
1385 SELinux.restorecon(packagePath); in openIconFileForWrite()
[all …]
DStagingManager.java247 if (!validateApexSignature(apexPackage.packagePath, in preRebootVerification()
252 + apexPackage.packagePath + " does not match the signature of " in preRebootVerification()
DApexManager.java128 if ((new File(ai.packagePath)).isDirectory()) { in populateAllPackagesCacheIfNeeded()
/frameworks/base/core/java/android/app/
DApplicationLoaders.java249 public ClassLoader createAndCacheWebViewClassLoader(String packagePath, String libsPath, in createAndCacheWebViewClassLoader() argument
257 return getClassLoader(packagePath, Build.VERSION.SDK_INT, false, libsPath, null, null, in createAndCacheWebViewClassLoader()
/frameworks/base/libs/androidfw/
DAssetManager.cpp236 bool AssetManager::addOverlayPath(const String8& packagePath, int32_t* cookie) in addOverlayPath() argument
238 const String8 idmapPath = idmapPathForPackagePath(packagePath); in addOverlayPath()
265 if (overlayPath != packagePath) { in addOverlayPath()
267 idmapPath.string(), packagePath.string(), overlayPath.string()); in addOverlayPath()
/frameworks/base/core/java/android/os/
DZygoteProcess.java964 String packagePath, String libsPath, String libFileName, String cacheKey, String abi) in preloadPackageForAbi() argument
974 state.mZygoteOutputWriter.write(packagePath); in preloadPackageForAbi()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageParserTest.java508 apexInfo.packagePath = apexFile.getPath(); in testApexPackageInfoGeneration()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java900 final String packagePath = packageFile.getAbsolutePath(); in parseMonolithicPackageLite() local
902 return new PackageLite(packagePath, baseApk, null, null, null, null, null, null); in parseMonolithicPackageLite()
8393 File apexFile = new File(apexInfo.packagePath); in generatePackageInfoFromApex()