Searched refs:packageDir (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/com/android/internal/backup/ |
D | LocalTransport.java | 217 File packageDir = new File(mCurrentSetIncrementalDir, packageInfo.packageName); in performBackup() local 218 boolean hasDataForPackage = !packageDir.mkdirs(); in performBackup() 236 packageDir.mkdirs(); in performBackup() 256 int totalSize = parseKeySizes(packageDir, datastore); in performBackup() 300 File element = new File(packageDir, op.key); in performBackup() 344 private int parseKeySizes(File packageDir, ArrayMap<String, Integer> datastore) { in parseKeySizes() argument 346 final String[] elements = packageDir.list(); in parseKeySizes() 352 File element = new File(packageDir, file); in parseKeySizes() 391 File packageDir = new File(mCurrentSetIncrementalDir, packageInfo.packageName); in clearBackupData() local 392 final File[] fileset = packageDir.listFiles(); in clearBackupData() [all …]
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 75 void rmPackageDir(@utf8InCpp String packageDir); in rmPackageDir() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 368 public void rmPackageDir(String packageDir) throws InstallerException { in rmPackageDir() argument 371 mInstalld.rmPackageDir(packageDir); in rmPackageDir()
|
D | PackageInstallerSession.java | 1444 private static void extractNativeLibraries(File packageDir, String abiOverride, boolean inherit) in extractNativeLibraries() argument 1446 final File libDir = new File(packageDir, NativeLibraryHelper.LIB_DIR_NAME); in extractNativeLibraries() 1454 handle = NativeLibraryHelper.Handle.create(packageDir); in extractNativeLibraries()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 112 binder::Status rmPackageDir(const std::string& packageDir);
|
D | InstalldNativeService.cpp | 2340 binder::Status InstalldNativeService::rmPackageDir(const std::string& packageDir) { in rmPackageDir() argument 2342 CHECK_ARGUMENT_PATH(packageDir); in rmPackageDir() 2345 if (validate_apk_path(packageDir.c_str())) { in rmPackageDir() 2346 return error("Invalid path " + packageDir); in rmPackageDir() 2348 if (delete_dir_contents_and_dir(packageDir) != 0) { in rmPackageDir() 2349 return error("Failed to delete " + packageDir); in rmPackageDir()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 897 static PackageLite parseClusterPackageLite(File packageDir, int flags) in parseClusterPackageLite() argument 899 final File[] files = packageDir.listFiles(); in parseClusterPackageLite() 945 "Missing base APK in " + packageDir); in parseClusterPackageLite() 979 final String codePath = packageDir.getAbsolutePath(); in parseClusterPackageLite() 1211 private Package parseClusterPackage(File packageDir, int flags) throws PackageParserException { in parseClusterPackage() argument 1212 final PackageLite lite = parseClusterPackageLite(packageDir, 0); in parseClusterPackage() 1215 "Not a coreApp: " + packageDir); in parseClusterPackage() 1258 pkg.setCodePath(packageDir.getCanonicalPath()); in parseClusterPackage()
|