Searched refs:packageDir (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/com/android/internal/backup/ |
D | LocalTransport.java | 183 File packageDir = new File(mCurrentSetIncrementalDir, packageInfo.packageName); in performBackup() local 184 packageDir.mkdirs(); in performBackup() 203 int totalSize = parseKeySizes(packageDir, datastore); in performBackup() 247 File element = new File(packageDir, op.key); in performBackup() 291 private int parseKeySizes(File packageDir, ArrayMap<String, Integer> datastore) { in parseKeySizes() argument 293 final String[] elements = packageDir.list(); in parseKeySizes() 299 File element = new File(packageDir, file); in parseKeySizes() 338 File packageDir = new File(mCurrentSetIncrementalDir, packageInfo.packageName); in clearBackupData() local 339 final File[] fileset = packageDir.listFiles(); in clearBackupData() 344 packageDir.delete(); in clearBackupData() [all …]
|
/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 67 void rmPackageDir(@utf8InCpp String packageDir); in rmPackageDir() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Installer.java | 352 public void rmPackageDir(String packageDir) throws InstallerException { in rmPackageDir() argument 355 mInstalld.rmPackageDir(packageDir); in rmPackageDir()
|
D | PackageInstallerSession.java | 1347 private static void extractNativeLibraries(File packageDir, String abiOverride) in extractNativeLibraries() argument 1350 final File libDir = new File(packageDir, NativeLibraryHelper.LIB_DIR_NAME); in extractNativeLibraries() 1355 handle = NativeLibraryHelper.Handle.create(packageDir); in extractNativeLibraries()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 102 binder::Status rmPackageDir(const std::string& packageDir);
|
D | InstalldNativeService.cpp | 2228 binder::Status InstalldNativeService::rmPackageDir(const std::string& packageDir) { in rmPackageDir() argument 2232 if (validate_apk_path(packageDir.c_str())) { in rmPackageDir() 2233 return error("Invalid path " + packageDir); in rmPackageDir() 2235 if (delete_dir_contents_and_dir(packageDir) != 0) { in rmPackageDir() 2236 return error("Failed to delete " + packageDir); in rmPackageDir()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 892 static PackageLite parseClusterPackageLite(File packageDir, int flags) in parseClusterPackageLite() argument 894 final File[] files = packageDir.listFiles(); in parseClusterPackageLite() 940 "Missing base APK in " + packageDir); in parseClusterPackageLite() 974 final String codePath = packageDir.getAbsolutePath(); in parseClusterPackageLite() 1206 private Package parseClusterPackage(File packageDir, int flags) throws PackageParserException { in parseClusterPackage() argument 1207 final PackageLite lite = parseClusterPackageLite(packageDir, 0); in parseClusterPackage() 1210 "Not a coreApp: " + packageDir); in parseClusterPackage() 1253 pkg.setCodePath(packageDir.getAbsolutePath()); in parseClusterPackage()
|