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()
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 …]
DPackageManagerService.java1592 expectingBetter.put(ps.name, ps.codePath); in PackageManagerService()
1605 if (disabledPs.codePath == null || !disabledPs.codePath.exists()) { in PackageManagerService()
1848 if (ps.codePath != null) { in cleanupInstallFailedPackage()
1849 if (ps.codePath.isDirectory()) { in cleanupInstallFailedPackage()
1850 FileUtils.deleteContents(ps.codePath); in cleanupInstallFailedPackage()
1852 ps.codePath.delete(); in cleanupInstallFailedPackage()
1854 if (ps.resourcePath != null && !ps.resourcePath.equals(ps.codePath)) { in cleanupInstallFailedPackage()
4181 && ps.codePath.equals(srcFile) in collectCertificatesLI()
4261 if (ps != null && !ps.codePath.equals(scanFile)) { in scanPackageLI()
4265 if (DEBUG_INSTALL) Slog.d(TAG, "Path changing from " + ps.codePath); in scanPackageLI()
[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.java258 public final String codePath; field in PackageParser.PackageLite
268 public PackageLite(String codePath, ApkLite baseApk, String[] splitNames, in PackageLite() argument
275 this.codePath = codePath; in PackageLite()
276 this.baseCodePath = baseApk.codePath; in PackageLite()
296 public final String codePath; field in PackageParser.ApkLite
306 public ApkLite(String codePath, String packageName, String splitName, int versionCode, in ApkLite() argument
309 this.codePath = codePath; in ApkLite()
716 splitCodePaths[i] = apks.get(splitNames[i]).codePath; in parseClusterPackageLite()
720 final String codePath = packageDir.getAbsolutePath(); in parseClusterPackageLite() local
721 return new PackageLite(codePath, baseApk, splitNames, splitCodePaths); in parseClusterPackageLite()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java586 this.packageURI = Uri.fromFile(new File(pkg.codePath)); in InstallParams()
590 this.packageURI = Uri.fromFile(new File(pkg.codePath)); in InstallParams()
595 File file = new File(pkg.codePath); in getApkSize()
1349 File outFile = new File(ip.pkg.codePath); in cleanUpInstall()