Home
last modified time | relevance | path

Searched refs:codePath (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java54 File codePath; field in PackageSettingBase
112 PackageSettingBase(String name, String realName, File codePath, File resourcePath, in PackageSettingBase() argument
119 init(codePath, resourcePath, legacyNativeLibraryPathString, primaryCpuAbiString, in PackageSettingBase()
132 codePath = base.codePath; in PackageSettingBase()
166 void init(File codePath, File resourcePath, String legacyNativeLibraryPathString, in init() argument
169 this.codePath = codePath; in init()
170 this.codePathString = codePath.toString(); in init()
DPendingPackage.java24 PendingPackage(String name, String realName, File codePath, File resourcePath, in PendingPackage() argument
28 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString, in PendingPackage()
DPackageSetting.java32 PackageSetting(String name, String realName, File codePath, File resourcePath, in PackageSetting() argument
36 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString, in PackageSetting()
DPackageManagerService.java1613 expectingBetter.put(ps.name, ps.codePath); in PackageManagerService()
1626 if (disabledPs.codePath == null || !disabledPs.codePath.exists()) { in PackageManagerService()
1875 if (ps.codePath != null) { in cleanupInstallFailedPackage()
1876 if (ps.codePath.isDirectory()) { in cleanupInstallFailedPackage()
1877 FileUtils.deleteContents(ps.codePath); in cleanupInstallFailedPackage()
1879 ps.codePath.delete(); in cleanupInstallFailedPackage()
1881 if (ps.resourcePath != null && !ps.resourcePath.equals(ps.codePath)) { in cleanupInstallFailedPackage()
4208 && ps.codePath.equals(srcFile) in collectCertificatesLI()
4296 if (ps != null && !ps.codePath.equals(scanFile)) { in scanPackageLI()
4300 if (DEBUG_INSTALL) Slog.d(TAG, "Path changing from " + ps.codePath); in scanPackageLI()
[all …]
DSettings.java282 String realName, SharedUserSetting sharedUser, File codePath, File resourcePath, in getPackageLPw() argument
286 PackageSetting p = getPackageLPw(name, origPackage, realName, sharedUser, codePath, in getPackageLPw()
373 PackageSetting ret = addPackageLPw(name, p.realName, p.codePath, p.resourcePath, in enableSystemPackageLPw()
389 PackageSetting addPackageLPw(String name, String realName, File codePath, File resourcePath, in addPackageLPw() argument
401 p = new PackageSetting(name, realName, codePath, resourcePath, in addPackageLPw()
470 String realName, SharedUserSetting sharedUser, File codePath, File resourcePath, in getPackageLPw() argument
480 if (!p.codePath.equals(codePath)) { in getPackageLPw()
487 + p.codePathString + " to " + codePath.toString()); in getPackageLPw()
492 + p.codePath + " to " + codePath + "; Retaining data and using new"); in getPackageLPw()
522 p = new PackageSetting(origPackage.name, name, codePath, resourcePath, in getPackageLPw()
[all …]
DInstaller.java122 public int rmdex(String codePath, String instructionSet) { in rmdex() argument
130 builder.append(codePath); in rmdex()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java446 for (String codePath : pkg.getAllCodePaths()) { in calculateInstalledSize()
447 final File codeFile = new File(codePath); in calculateInstalledSize()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java873 /** {@hide} */ public void setCodePath(String codePath) { scanSourceDir = codePath; } in setCodePath() argument
DPackageParser.java257 public final String codePath; field in PackageParser.PackageLite
272 public PackageLite(String codePath, ApkLite baseApk, String[] splitNames, in PackageLite() argument
279 this.codePath = codePath; in PackageLite()
280 this.baseCodePath = baseApk.codePath; in PackageLite()
302 public final String codePath; field in PackageParser.ApkLite
313 public ApkLite(String codePath, String packageName, String splitName, int versionCode, in ApkLite() argument
316 this.codePath = codePath; in ApkLite()
728 splitCodePaths[i] = apks.get(splitNames[i]).codePath; in parseClusterPackageLite()
733 final String codePath = packageDir.getAbsolutePath(); in parseClusterPackageLite() local
734 return new PackageLite(codePath, baseApk, splitNames, splitCodePaths, in parseClusterPackageLite()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java595 this.packageURI = Uri.fromFile(new File(pkg.codePath)); in InstallParams()
599 this.packageURI = Uri.fromFile(new File(pkg.codePath)); in InstallParams()
604 File file = new File(pkg.codePath); in getApkSize()
1358 File outFile = new File(ip.pkg.codePath); in cleanUpInstall()