summaryrefslogtreecommitdiff
path: root/cmds/installd/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/installd/utils.h')
-rw-r--r--cmds/installd/utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/installd/utils.h b/cmds/installd/utils.h
index 01126c0c91..549fc6cf04 100644
--- a/cmds/installd/utils.h
+++ b/cmds/installd/utils.h
@@ -153,6 +153,10 @@ int wait_child(pid_t pid);
int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode,
uid_t uid, gid_t gid);
+bool supports_sdcardfs();
+int64_t get_occupied_app_space_external(const std::string& uuid, int32_t userId, int32_t appId);
+int64_t get_occupied_app_cache_space_external(const std::string& uuid, int32_t userId, int32_t appId);
+
// Collect all non empty profiles from the global profile directory and
// put then into profile_paths. The profiles are identified based on PROFILE_EXT extension.
// If a subdirectory or profile file cannot be opened the method logs a warning and moves on.