Searched refs:codePath (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
H A DPendingPackage.java25 PendingPackage(String name, String realName, File codePath, File resourcePath, argument
30 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString,
H A DCompilerStats.java81 public long getCompileTime(String codePath) { argument
82 String storagePath = getStoredPathFromCodePath(codePath);
92 public void setCompileTime(String codePath, long compileTimeInMs) { argument
93 String storagePath = getStoredPathFromCodePath(codePath);
103 private static String getStoredPathFromCodePath(String codePath) { argument
104 int lastSlash = codePath.lastIndexOf(File.separatorChar);
105 return codePath.substring(lastSlash + 1);
236 String codePath = s.substring(1, colonIndex);
238 currentPackage.setCompileTime(codePath, time);
H A DOtaDexoptService.java254 File codePath = new File(pkg.codePath);
255 if (codePath.isDirectory()) {
256 return PackageDexOptimizer.getOatDir(codePath).getAbsolutePath();
263 for (String codePath : pkg.getAllCodePaths()) {
266 mPackageManagerService.mInstaller.deleteOdex(codePath, isa, getOatDir(pkg));
268 Log.e(TAG, "Failed deleting oat files for " + codePath, e);
322 if (pkg.codePath == null) {
323 Slog.w(TAG, "Package " + pkg + " can be optimized but has null codePath");
329 if (pkg.codePath
[all...]
H A DPackageSetting.java34 PackageSetting(String name, String realName, File codePath, File resourcePath, argument
39 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString,
H A DPackageSettingBase.java63 File codePath; field in class:PackageSettingBase
135 PackageSettingBase(String name, String realName, File codePath, File resourcePath, argument
146 init(codePath, resourcePath, legacyNativeLibraryPathString, primaryCpuAbiString,
159 codePath = base.codePath;
197 void init(File codePath, File resourcePath, String legacyNativeLibraryPathString, argument
200 this.codePath = codePath;
201 this.codePathString = codePath.toString();
H A DPackageDexOptimizer.java304 File codePath = new File(pkg.codePath);
305 if (codePath.isDirectory()) {
306 File oatDir = getOatDir(codePath);
318 static File getOatDir(File codePath) { argument
319 return new File(codePath, OAT_DIR_NAME);
H A DInstaller.java120 String codePath, PackageStats stats) throws InstallerException {
122 ceDataInode, codePath);
173 public void rmdex(String codePath, String instructionSet) throws InstallerException { argument
175 mInstaller.execute("rmdex", codePath, instructionSet);
119 getAppSize(String uuid, String pkgname, int userid, int flags, long ceDataInode, String codePath, PackageStats stats) argument
H A DPackageManagerService.java682 // Mapping from provider base names (first directory in content URI codePath)
2181 if (!isExternal(ps) && (ps.codePath == null || !ps.codePath.exists())
2373 + ps.name + "; removing system app. Last known codePath="
2378 mExpectingBetter.put(ps.name, ps.codePath);
2392 if (disabledPs.codePath == null || !disabledPs.codePath.exists()) {
6753 ? new File(pkg.codePath).lastModified() : getLastModifiedTime(pkg, srcFile);
6755 && ps.codePath.equals(srcFile)
6942 if (ps != null && !ps.codePath
7603 removeCodePathLI(File codePath) argument
13293 createInstallArgsForExisting(int installFlags, String codePath, String resourcePath, String[] instructionSets) argument
13461 FileInstallArgs(String codePath, String resourcePath, String[] instructionSets) argument
14137 deriveCodePathName(String codePath) argument
[all...]
H A DSettings.java429 String realName, SharedUserSetting sharedUser, File codePath, File resourcePath,
446 PackageSetting p = getPackageLPw(name, origPackage, realName, sharedUser, codePath,
574 PackageSetting ret = addPackageLPw(name, p.realName, p.codePath, p.resourcePath,
591 PackageSetting addPackageLPw(String name, String realName, File codePath, File resourcePath, argument
605 p = new PackageSetting(name, realName, codePath, resourcePath,
686 String realName, SharedUserSetting sharedUser, File codePath, File resourcePath,
700 if (!p.codePath.equals(codePath)) {
707 + p.codePathString + " to " + codePath.toString());
711 Slog.i(PackageManagerService.TAG, "Package " + name + " codePath change
428 getPackageLPw(PackageParser.Package pkg, PackageSetting origPackage, String realName, SharedUserSetting sharedUser, File codePath, File resourcePath, String legacyNativeLibraryPathString, String primaryCpuAbi, String secondaryCpuAbi, int pkgFlags, int pkgPrivateFlags, UserHandle user, boolean add) argument
685 getPackageLPw(String name, PackageSetting origPackage, String realName, SharedUserSetting sharedUser, File codePath, File resourcePath, String legacyNativeLibraryPathString, String primaryCpuAbiString, String secondaryCpuAbiString, int vc, int pkgFlags, int pkgPrivateFlags, UserHandle installUser, boolean add, boolean allowInstall, String parentPackage, List<String> childPackageNames) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java130 // TODO: refactor "codePath" to "apkPath"
332 public final String codePath; field in class:PackageParser.PackageLite
349 public PackageLite(String codePath, ApkLite baseApk, String[] splitNames, argument
356 this.codePath = codePath;
357 this.baseCodePath = baseApk.codePath;
381 public final String codePath; field in class:PackageParser.ApkLite
395 public ApkLite(String codePath, String packageName, String splitName, int versionCode, argument
399 this.codePath = codePath;
1434 parseApkLite(String codePath, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, Signature[] signatures, Certificate[][] certificates) argument
4744 public String codePath; field in class:PackageParser.Package
4900 setApplicationInfoCodePath(String codePath) argument
4964 setCodePath(String codePath) argument
[all...]
H A DApplicationInfo.java1211 /** {@hide} */ public void setCodePath(String codePath) { scanSourceDir = codePath; } argument
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java540 for (String codePath : pkg.getAllCodePaths()) {
541 final File codeFile = new File(codePath);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java581 this.packageURI = Uri.fromFile(new File(pkg.codePath));
585 this.packageURI = Uri.fromFile(new File(pkg.codePath));
590 File file = new File(pkg.codePath);
1339 File outFile = new File(ip.pkg.codePath);

Completed in 184 milliseconds