Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java63 File codePath; field in PackageSettingBase
135 PackageSettingBase(String name, String realName, File codePath, File resourcePath, in PackageSettingBase() argument
146 init(codePath, resourcePath, legacyNativeLibraryPathString, primaryCpuAbiString, in PackageSettingBase()
159 codePath = base.codePath; in PackageSettingBase()
197 void init(File codePath, File resourcePath, String legacyNativeLibraryPathString, in init() argument
200 this.codePath = codePath; in init()
201 this.codePathString = codePath.toString(); in init()
DOtaDexoptService.java166 if (pkg.codePath == null) { in moveAbArtifacts()
173 if (pkg.codePath.startsWith("/system") || pkg.codePath.startsWith("/vendor")) { in moveAbArtifacts()
182 String oatDir = PackageDexOptimizer.getOatDir(new File(pkg.codePath)). in moveAbArtifacts()
DPackageDexOptimizer.java295 File codePath = new File(pkg.codePath); in createOatDirIfSupported() local
296 if (codePath.isDirectory()) { in createOatDirIfSupported()
297 File oatDir = getOatDir(codePath); in createOatDirIfSupported()
309 static File getOatDir(File codePath) { in getOatDir() argument
310 return new File(codePath, OAT_DIR_NAME); in getOatDir()
DPendingPackage.java25 PendingPackage(String name, String realName, File codePath, File resourcePath, in PendingPackage() argument
30 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString, in PendingPackage()
DPackageSetting.java34 PackageSetting(String name, String realName, File codePath, File resourcePath, in PackageSetting() argument
39 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString, in PackageSetting()
DInstaller.java113 String codePath, PackageStats stats) throws InstallerException { in getAppSize() argument
115 ceDataInode, codePath); in getAppSize()
166 public void rmdex(String codePath, String instructionSet) throws InstallerException { in rmdex() argument
168 mInstaller.execute("rmdex", codePath, instructionSet); in rmdex()
DSettings.java429 String realName, SharedUserSetting sharedUser, File codePath, File resourcePath, in getPackageLPw() argument
446 PackageSetting p = getPackageLPw(name, origPackage, realName, sharedUser, codePath, in getPackageLPw()
574 PackageSetting ret = addPackageLPw(name, p.realName, p.codePath, p.resourcePath, in enableSystemPackageLPw()
591 PackageSetting addPackageLPw(String name, String realName, File codePath, File resourcePath, in addPackageLPw() argument
605 p = new PackageSetting(name, realName, codePath, resourcePath, in addPackageLPw()
686 String realName, SharedUserSetting sharedUser, File codePath, File resourcePath, in getPackageLPw() argument
700 if (!p.codePath.equals(codePath)) { in getPackageLPw()
707 + p.codePathString + " to " + codePath.toString()); in getPackageLPw()
712 + p.codePath + " to " + codePath + "; Retaining data and using new"); in getPackageLPw()
756 p = new PackageSetting(origPackage.name, name, codePath, resourcePath, in getPackageLPw()
[all …]
DPackageManagerService.java2502 mExpectingBetter.put(ps.name, ps.codePath); in PackageManagerService()
2516 if (disabledPs.codePath == null || !disabledPs.codePath.exists()) { in PackageManagerService()
6761 && ps.codePath.equals(srcFile)
6948 if (ps != null && !ps.codePath.equals(scanFile)) {
6952 if (DEBUG_INSTALL) Slog.d(TAG, "Path changing from " + ps.codePath);
6959 if (!updatedPkg.codePath.equals(scanFile)) {
6963 updatedPkg.codePath = scanFile;
7088 if (ps != null && !ps.codePath.equals(ps.resourcePath)) {
7105 resourcePath = pkg.codePath;
7111 pkg.setApplicationInfoCodePath(pkg.codePath);
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageParser.java327 public final String codePath; field in PackageParser.PackageLite
344 public PackageLite(String codePath, ApkLite baseApk, String[] splitNames, in PackageLite() argument
351 this.codePath = codePath; in PackageLite()
352 this.baseCodePath = baseApk.codePath; in PackageLite()
376 public final String codePath; field in PackageParser.ApkLite
390 public ApkLite(String codePath, String packageName, String splitName, int versionCode, in ApkLite() argument
394 this.codePath = codePath; in ApkLite()
768 splitCodePaths[i] = apks.get(splitNames[i]).codePath; in parseClusterPackageLite()
773 final String codePath = packageDir.getAbsolutePath(); in parseClusterPackageLite() local
774 return new PackageLite(codePath, baseApk, splitNames, splitCodePaths, in parseClusterPackageLite()
[all …]
DApplicationInfo.java1211 /** {@hide} */ public void setCodePath(String codePath) { scanSourceDir = codePath; } in setCodePath() argument
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java540 for (String codePath : pkg.getAllCodePaths()) { in calculateInstalledSize()
541 final File codeFile = new File(codePath); in calculateInstalledSize()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java581 this.packageURI = Uri.fromFile(new File(pkg.codePath)); in InstallParams()
585 this.packageURI = Uri.fromFile(new File(pkg.codePath)); in InstallParams()
590 File file = new File(pkg.codePath); in getApkSize()
1339 File outFile = new File(ip.pkg.codePath); in cleanUpInstall()