Home
last modified time | relevance | path

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

/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java228 File packageDir = new File(mCurrentSetIncrementalDir, packageInfo.packageName); in performBackupInternal() local
229 boolean hasDataForPackage = !packageDir.mkdirs(); in performBackupInternal()
247 packageDir.mkdirs(); in performBackupInternal()
267 int totalSize = parseKeySizes(packageDir, datastore); in performBackupInternal()
311 File element = new File(packageDir, op.key); in performBackupInternal()
355 private int parseKeySizes(File packageDir, ArrayMap<String, Integer> datastore) { in parseKeySizes() argument
357 final String[] elements = packageDir.list(); in parseKeySizes()
363 File element = new File(packageDir, file); in parseKeySizes()
402 File packageDir = new File(mCurrentSetIncrementalDir, packageInfo.packageName); in clearBackupData() local
403 final File[] fileset = packageDir.listFiles(); in clearBackupData()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java390 public void rmPackageDir(String packageDir) throws InstallerException { in rmPackageDir() argument
392 BlockGuard.getVmPolicy().onPathAccess(packageDir); in rmPackageDir()
394 mInstalld.rmPackageDir(packageDir); in rmPackageDir()
DPackageInstallerSession.java1950 private static void extractNativeLibraries(File packageDir, String abiOverride, boolean inherit) in extractNativeLibraries() argument
1952 final File libDir = new File(packageDir, NativeLibraryHelper.LIB_DIR_NAME); in extractNativeLibraries()
1960 handle = NativeLibraryHelper.Handle.create(packageDir); in extractNativeLibraries()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl80 void rmPackageDir(@utf8InCpp String packageDir); in rmPackageDir() argument
/frameworks/native/cmds/installd/
DInstalldNativeService.h132 binder::Status rmPackageDir(const std::string& packageDir);
DInstalldNativeService.cpp2684 binder::Status InstalldNativeService::rmPackageDir(const std::string& packageDir) { in rmPackageDir() argument
2686 CHECK_ARGUMENT_PATH(packageDir); in rmPackageDir()
2689 if (validate_apk_path(packageDir.c_str())) { in rmPackageDir()
2690 return error("Invalid path " + packageDir); in rmPackageDir()
2692 if (rm_package_dir(packageDir) != 0) { in rmPackageDir()
2693 return error("Failed to delete " + packageDir); in rmPackageDir()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java949 static PackageLite parseClusterPackageLite(File packageDir, int flags) in parseClusterPackageLite() argument
951 final File[] files = packageDir.listFiles(); in parseClusterPackageLite()
997 "Missing base APK in " + packageDir); in parseClusterPackageLite()
1031 final String codePath = packageDir.getAbsolutePath(); in parseClusterPackageLite()
1265 private Package parseClusterPackage(File packageDir, int flags) throws PackageParserException { in parseClusterPackage() argument
1266 final PackageLite lite = parseClusterPackageLite(packageDir, 0); in parseClusterPackage()
1269 "Not a coreApp: " + packageDir); in parseClusterPackage()
1312 pkg.setCodePath(packageDir.getCanonicalPath()); in parseClusterPackage()