/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | CompilerStats.java | 81 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 D | OtaDexoptService.java | 249 File codePath = new File(pkg.codePath); 250 if (codePath.isDirectory()) { 251 return PackageDexOptimizer.getOatDir(codePath).getAbsolutePath(); 258 for (String codePath : pkg.getAllCodePaths()) { 261 mPackageManagerService.mInstaller.deleteOdex(codePath, isa, getOatDir(pkg)); 263 Log.e(TAG, "Failed deleting oat files for " + codePath, e); 378 if (pkg.codePath == null) { 379 Slog.w(TAG, "Package " + pkg + " can be optimized but has null codePath"); 385 if (pkg.codePath [all...] |
H A D | PackageSettingBase.java | 73 File codePath; field in class:PackageSettingBase 150 PackageSettingBase(String name, String realName, File codePath, File resourcePath, argument 164 init(codePath, resourcePath, legacyNativeLibraryPathString, primaryCpuAbiString, 182 void init(File codePath, File resourcePath, String legacyNativeLibraryPathString, argument 185 this.codePath = codePath; 186 this.codePathString = codePath.toString(); 247 codePath = orig.codePath;
|
H A D | PackageSetting.java | 48 PackageSetting(String name, String realName, File codePath, File resourcePath, argument 54 super(name, realName, codePath, resourcePath, legacyNativeLibraryPathString,
|
H A D | PackageDexOptimizer.java | 554 File codePath = new File(pkg.codePath); 555 if (codePath.isDirectory()) { 556 // TODO(calin): why do we create this only if the codePath is a directory? (i.e for 559 File oatDir = getOatDir(codePath); 571 static File getOatDir(File codePath) { argument 572 return new File(codePath, OAT_DIR_NAME);
|
H A D | Installer.java | 332 public void rmdex(String codePath, String instructionSet) throws InstallerException { argument 336 mInstalld.rmdex(codePath, instructionSet);
|
H A D | Settings.java | 578 PackageSetting ret = addPackageLPw(name, p.realName, p.codePath, p.resourcePath, 596 PackageSetting addPackageLPw(String name, String realName, File codePath, File resourcePath, argument 611 p = new PackageSetting(name, realName, codePath, resourcePath, 698 File codePath, File resourcePath, String legacyNativeLibraryPath, String primaryCpuAbi, 710 pkgSetting.codePath = codePath; 726 pkgSetting.setTimeStamp(codePath.lastModified()); 728 pkgSetting = new PackageSetting(pkgName, realPkgName, codePath, resourcePath, 733 pkgSetting.setTimeStamp(codePath.lastModified()); 808 @NonNull File codePath, 696 createNewSetting(String pkgName, PackageSetting originalPkg, PackageSetting disabledPkg, String realPkgName, SharedUserSetting sharedUser, File codePath, File resourcePath, String legacyNativeLibraryPath, String primaryCpuAbi, String secondaryCpuAbi, int versionCode, int pkgFlags, int pkgPrivateFlags, UserHandle installUser, boolean allowInstall, boolean instantApp, String parentPkgName, List<String> childPkgNames, UserManagerService userManager, String[] usesStaticLibraries, int[] usesStaticLibrariesVersions) argument 806 updatePackageSetting(@onNull PackageSetting pkgSetting, @Nullable PackageSetting disabledPkg, @Nullable SharedUserSetting sharedUser, @NonNull File codePath, @Nullable String legacyNativeLibraryPath, @Nullable String primaryCpuAbi, @Nullable String secondaryCpuAbi, int pkgFlags, int pkgPrivateFlags, @Nullable List<String> childPkgNames, @NonNull UserManagerService userManager, @Nullable String[] usesStaticLibraries, @Nullable int[] usesStaticLibrariesVersions) argument [all...] |
H A D | PackageManagerService.java | 905 // Mapping from provider base names (first directory in content URI codePath) 2500 if (!isExternal(ps) && (ps.codePath == null || !ps.codePath.exists()) 2653 + ps.name + "; removing system app. Last known codePath=" 2658 mExpectingBetter.put(ps.name, ps.codePath); 2672 if (disabledPs.codePath == null || !disabledPs.codePath.exists()) { 8756 ? new File(pkg.codePath).lastModified() : getLastModifiedTime(pkg, srcFile); 8758 && ps.codePath.equals(srcFile) 8954 if (ps != null && !ps.codePath 9757 removeCodePathLI(File codePath) argument 16026 createInstallArgsForExisting(int installFlags, String codePath, String resourcePath, String[] instructionSets) argument 16198 FileInstallArgs(String codePath, String resourcePath, String[] instructionSets) argument 16881 deriveCodePathName(String codePath) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | PackageManagerSettingsTests.java | 201 INITIAL_CODE_PATH /*codePath*/, 228 INITIAL_CODE_PATH /*codePath*/, 245 UPDATED_CODE_PATH /*codePath*/, 276 UPDATED_CODE_PATH /*codePath*/, 310 UPDATED_CODE_PATH /*codePath*/, 347 UPDATED_CODE_PATH /*codePath*/, 374 UPDATED_CODE_PATH /*codePath*/, 390 assertThat(testPkgSetting01.codePath, is(UPDATED_CODE_PATH)); 415 INITIAL_CODE_PATH /*codePath*/, 432 assertThat(testPkgSetting01.codePath, i [all...] |
H A D | PackageParserTest.java | 204 assertEquals(a.codePath, b.codePath); 437 pkg.codePath = "foo4";
|
/frameworks/native/cmds/installd/binder/android/os/ |
H A D | IInstalld.aidl | 56 void rmdex(@utf8InCpp String codePath, @utf8InCpp String instructionSet);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ApplicationInfo.java | 1499 /** {@hide} */ public void setCodePath(String codePath) { scanSourceDir = codePath; } argument
|
H A D | PackageParser.java | 163 // TODO: refactor "codePath" to "apkPath" 398 public final String codePath; field in class:PackageParser.PackageLite 417 public PackageLite(String codePath, ApkLite baseApk, String[] splitNames, argument 428 this.codePath = codePath; 429 this.baseCodePath = baseApk.codePath; 455 public final String codePath; field in class:PackageParser.ApkLite 474 public ApkLite(String codePath, String packageName, String splitName, boolean isFeatureSplit, argument 480 this.codePath = codePath; 1774 parseApkLite(String codePath, XmlPullParser parser, AttributeSet attrs, int flags, Signature[] signatures, Certificate[][] certificates) argument 5683 public String codePath; field in class:PackageParser.Package 5854 setApplicationInfoCodePath(String codePath) argument 5931 setCodePath(String codePath) argument [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 655 for (String codePath : pkg.getAllCodePaths()) { 656 final File codeFile = new File(codePath);
|
/frameworks/native/cmds/installd/ |
H A D | InstalldNativeService.cpp | 1087 binder::Status InstalldNativeService::rmdex(const std::string& codePath, argument 1094 const char* path = codePath.c_str(); 1098 return error("Invalid path " + codePath); 1102 return error("Failed to create cache path for " + codePath); 1393 for (auto codePath : codePaths) { 1394 calculate_tree_size(codePath, &stats.codeSize, -1, 1404 for (auto codePath : codePaths) { 1405 calculate_tree_size(codePath, &stats.codeSize);
|
H A D | InstalldNativeService.h | 89 binder::Status rmdex(const std::string& codePath, const std::string& instructionSet);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 581 this.packageURI = Uri.fromFile(new File(pkg.codePath)); 585 this.packageURI = Uri.fromFile(new File(pkg.codePath)); 590 File file = new File(pkg.codePath); 1323 File outFile = new File(ip.pkg.codePath);
|