Home
last modified time | relevance | path

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

/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java242 File packageDir = new File(mCurrentSetIncrementalDir, packageInfo.packageName); in performBackupInternal() local
243 boolean hasDataForPackage = !packageDir.mkdirs(); in performBackupInternal()
261 packageDir.mkdirs(); in performBackupInternal()
281 int totalSize = parseKeySizes(packageDir, datastore); in performBackupInternal()
325 File element = new File(packageDir, op.key); in performBackupInternal()
369 private int parseKeySizes(File packageDir, ArrayMap<String, Integer> datastore) { in parseKeySizes() argument
371 final String[] elements = packageDir.list(); in parseKeySizes()
377 File element = new File(packageDir, file); in parseKeySizes()
416 File packageDir = new File(mCurrentSetIncrementalDir, packageInfo.packageName); in clearBackupData() local
417 final File[] fileset = packageDir.listFiles(); in clearBackupData()
[all …]
/frameworks/base/services/people/java/com/android/server/people/data/
DPackageData.java93 for (File packageDir : packageDirs) { in packagesDataFromDisk()
94 PackageData packageData = new PackageData(packageDir.getName(), userId, in packagesDataFromDisk()
98 results.put(packageDir.getName(), packageData); in packagesDataFromDisk()
DEventStore.java71 EventStore(@NonNull File packageDir, in EventStore() argument
79 File eventDir = new File(packageDir, "event"); in EventStore()
DConversationStore.java82 ConversationStore(@NonNull File packageDir, in ConversationStore() argument
85 mPackageDir = packageDir; in ConversationStore()
/frameworks/base/core/java/android/content/pm/parsing/
DApkLiteParseUtils.java105 File packageDir, int flags) { in parseClusterPackageLite() argument
106 final File[] files = packageDir.listFiles(); in parseClusterPackageLite()
163 "Missing base APK in " + packageDir); in parseClusterPackageLite()
196 final String codePath = packageDir.getAbsolutePath(); in parseClusterPackageLite()
DParsingPackageUtils.java247 private ParseResult<ParsingPackage> parseClusterPackage(ParseInput input, File packageDir, in parseClusterPackage() argument
250 ApkLiteParseUtils.parseClusterPackageLite(input, packageDir, 0); in parseClusterPackage()
258 "Not a coreApp: " + packageDir); in parseClusterPackage()
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java433 public void rmPackageDir(String packageDir) throws InstallerException { in rmPackageDir() argument
435 BlockGuard.getVmPolicy().onPathAccess(packageDir); in rmPackageDir()
437 mInstalld.rmPackageDir(packageDir); in rmPackageDir()
DPackageInstallerSession.java2507 private void extractNativeLibraries(File packageDir, String abiOverride, boolean inherit) in extractNativeLibraries() argument
2509 final File libDir = new File(packageDir, NativeLibraryHelper.LIB_DIR_NAME); in extractNativeLibraries()
2517 handle = NativeLibraryHelper.Handle.create(packageDir); in extractNativeLibraries()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DUsageStatsQueryHelperTest.java326 TestConversationStore(File packageDir, in TestConversationStore() argument
328 super(packageDir, scheduledExecutorService); in TestConversationStore()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl86 void rmPackageDir(@utf8InCpp String packageDir); in rmPackageDir() argument
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp2283 std::function<void(FTSENT*)> onHandingPackage = [&](FTSENT* packageDir) -> void { in getUserCrates() argument
2284 auto crateManager = std::make_unique<CrateManager>(uuid_, userId, packageDir->fts_name); in getUserCrates()
2586 binder::Status InstalldNativeService::rmPackageDir(const std::string& packageDir) { in rmPackageDir() argument
2588 CHECK_ARGUMENT_PATH(packageDir); in rmPackageDir()
2591 if (validate_apk_path(packageDir.c_str())) { in rmPackageDir()
2592 return error("Invalid path " + packageDir); in rmPackageDir()
2594 if (rm_package_dir(packageDir) != 0) { in rmPackageDir()
2595 return error("Failed to delete " + packageDir); in rmPackageDir()
DInstalldNativeService.h139 binder::Status rmPackageDir(const std::string& packageDir);
/frameworks/base/core/java/android/content/pm/
DPackageParser.java941 static PackageLite parseClusterPackageLite(File packageDir, int flags) in parseClusterPackageLite() argument
943 final File[] files = packageDir.listFiles(); in parseClusterPackageLite()
993 "Missing base APK in " + packageDir); in parseClusterPackageLite()
1027 final String codePath = packageDir.getAbsolutePath(); in parseClusterPackageLite()
1079 private Package parseClusterPackage(File packageDir, int flags) throws PackageParserException { in parseClusterPackage() argument
1080 final PackageLite lite = parseClusterPackageLite(packageDir, 0); in parseClusterPackage()
1083 "Not a coreApp: " + packageDir); in parseClusterPackage()