Home
last modified time | relevance | path

Searched refs:packageDir (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/backup/
DLocalTransport.java173 File packageDir = new File(mCurrentSetIncrementalDir, packageInfo.packageName); in performBackup() local
174 packageDir.mkdirs(); in performBackup()
187 File entityFile = new File(packageDir, base64Key); in performBackup()
255 File packageDir = new File(mCurrentSetIncrementalDir, packageInfo.packageName); in clearBackupData() local
256 final File[] fileset = packageDir.listFiles(); in clearBackupData()
261 packageDir.delete(); in clearBackupData()
264 packageDir = new File(mCurrentSetFullDir, packageInfo.packageName); in clearBackupData()
265 final File[] tarballs = packageDir.listFiles(); in clearBackupData()
270 packageDir.delete(); in clearBackupData()
527 File packageDir = new File(mRestoreSetIncrementalDir, in getRestoreData() local
[all …]
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl65 void rmPackageDir(@utf8InCpp String packageDir); in rmPackageDir() argument
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java342 public void rmPackageDir(String packageDir) throws InstallerException { in rmPackageDir() argument
345 mInstalld.rmPackageDir(packageDir); in rmPackageDir()
DPackageInstallerSession.java1026 private static void extractNativeLibraries(File packageDir, String abiOverride) in extractNativeLibraries() argument
1029 final File libDir = new File(packageDir, NativeLibraryHelper.LIB_DIR_NAME); in extractNativeLibraries()
1034 handle = NativeLibraryHelper.Handle.create(packageDir); in extractNativeLibraries()
/frameworks/native/cmds/installd/
DInstalldNativeService.h100 binder::Status rmPackageDir(const std::string& packageDir);
DInstalldNativeService.cpp2197 binder::Status InstalldNativeService::rmPackageDir(const std::string& packageDir) { in rmPackageDir() argument
2201 if (validate_apk_path(packageDir.c_str())) { in rmPackageDir()
2202 return error("Invalid path " + packageDir); in rmPackageDir()
2204 if (delete_dir_contents_and_dir(packageDir) != 0) { in rmPackageDir()
2205 return error("Failed to delete " + packageDir); in rmPackageDir()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java854 static PackageLite parseClusterPackageLite(File packageDir, int flags) in parseClusterPackageLite() argument
856 final File[] files = packageDir.listFiles(); in parseClusterPackageLite()
902 "Missing base APK in " + packageDir); in parseClusterPackageLite()
935 final String codePath = packageDir.getAbsolutePath(); in parseClusterPackageLite()
1136 private Package parseClusterPackage(File packageDir, int flags) throws PackageParserException { in parseClusterPackage() argument
1137 final PackageLite lite = parseClusterPackageLite(packageDir, 0); in parseClusterPackage()
1140 "Not a coreApp: " + packageDir); in parseClusterPackage()
1182 pkg.setCodePath(packageDir.getAbsolutePath()); in parseClusterPackage()