Home
last modified time | relevance | path

Searched refs:codeFile (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DRemovePackageHelper.java489 void cleanUpResources(@Nullable String packageName, @Nullable File codeFile, in cleanUpResources() argument
492 cleanUpResourcesLI(codeFile, instructionSets); in cleanUpResources()
500 ps.removeOldPath(codeFile); in cleanUpResources()
507 private void cleanUpResourcesLI(@Nullable File codeFile, @Nullable String[] instructionSets) { in cleanUpResourcesLI() argument
510 if (codeFile != null && codeFile.exists()) { in cleanUpResourcesLI()
513 input.reset(), codeFile, /* flags */ 0); in cleanUpResourcesLI()
520 removeCodePathLI(codeFile); in cleanUpResourcesLI()
528 final File codeFile = new File(Environment.getDataAppDirectory(volumeUuid), toPathName); in cleanUpForMoveInstall() local
549 removeCodePathLI(codeFile); in cleanUpForMoveInstall()
DPackageAbiHelperImpl.java122 final File codeFile = new File(codePath); in deriveCodePathName() local
123 final String name = codeFile.getName(); in deriveCodePathName()
124 if (codeFile.isDirectory()) { in deriveCodePathName()
165 final File codeFile = new File(codePath); in deriveNativeLibraryPaths() local
173 if (isApkFile(codeFile)) { in deriveNativeLibraryPaths()
208 nativeLibraryRootDir = new File(codeFile, LIB_DIR_NAME).getAbsolutePath(); in deriveNativeLibraryPaths()
245 final File codeFile = new File(pkg.getPath()); in getBundledAppAbi() local
252 if (isApkFile(codeFile)) { in getBundledAppAbi()
259 final File rootDir = new File(codeFile, LIB_DIR_NAME); in getBundledAppAbi()
DMovePackageHelper.java144 final File codeFile = new File(pkg.getPath()); in movePackageInternal() local
153 if (codeFile.getParentFile().getName().startsWith( in movePackageInternal()
155 fromCodePath = codeFile.getParentFile().getAbsolutePath(); in movePackageInternal()
157 fromCodePath = codeFile.getAbsolutePath(); in movePackageInternal()
313 final OriginInfo origin = OriginInfo.fromExistingFile(codeFile); in movePackageInternal()
DInstallRequest.java741 public void setCodeFile(File codeFile) { in setCodeFile() argument
743 mInstallArgs.mCodeFile = codeFile; in setCodeFile()
DInstallPackageHelper.java2029 private File resolveTargetDir(int installFlags, File codeFile) { in resolveTargetDir() argument
2034 return codeFile.getParentFile(); in resolveTargetDir()
DPackageManagerService.java8059 void cleanUpResources(@NonNull String packageName, @NonNull File codeFile, in cleanUpResources() argument
8061 mRemovePackageHelper.cleanUpResources(packageName, codeFile, instructionSets); in cleanUpResources()
/frameworks/base/core/java/android/os/incremental/
DIncrementalManager.java306 public void rmPackageDir(@NonNull File codeFile) { in rmPackageDir() argument
308 final String codePath = codeFile.getAbsolutePath(); in rmPackageDir()
/frameworks/base/core/java/com/android/internal/content/
DInstallLocationUtils.java450 final File codeFile = new File(codePath); in calculateInstalledSize() local
451 sizeBytes += codeFile.length(); in calculateInstalledSize()