/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 63 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()
|
D | OtaDexoptService.java | 166 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()
|
D | PackageDexOptimizer.java | 295 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()
|
D | PendingPackage.java | 25 PendingPackage(String name, String realName, File codePath, File resourcePath, in PendingPackage() argument 30 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString, in PendingPackage()
|
D | PackageSetting.java | 34 PackageSetting(String name, String realName, File codePath, File resourcePath, in PackageSetting() argument 39 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString, in PackageSetting()
|
D | Installer.java | 113 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()
|
D | Settings.java | 429 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 …]
|
D | PackageManagerService.java | 2502 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/ |
D | PackageParser.java | 327 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 …]
|
D | ApplicationInfo.java | 1211 /** {@hide} */ public void setCodePath(String codePath) { scanSourceDir = codePath; } in setCodePath() argument
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageHelper.java | 540 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/ |
D | PackageManagerTests.java | 581 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()
|