diff options
Diffstat (limited to 'cmds/installd/utils.h')
| -rw-r--r-- | cmds/installd/utils.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cmds/installd/utils.h b/cmds/installd/utils.h index ff041183cb..f2f0cbb030 100644 --- a/cmds/installd/utils.h +++ b/cmds/installd/utils.h @@ -30,6 +30,9 @@ #include <installd_constants.h> +#define MEASURE_DEBUG 0 +#define MEASURE_EXTERNAL 0 + namespace android { namespace installd { @@ -86,13 +89,16 @@ std::string create_data_user_de_package_path(const char* volume_uuid, userid_t user, const char* package_name); std::string create_data_media_path(const char* volume_uuid, userid_t userid); +std::string create_data_media_obb_path(const char* volume_uuid, const char* package_name); std::string create_data_media_package_path(const char* volume_uuid, userid_t userid, const char* data_type, const char* package_name); std::string create_data_misc_legacy_path(userid_t userid); -std::string create_data_user_profiles_path(userid_t userid); +std::string create_data_user_profile_path(userid_t userid); std::string create_data_user_profile_package_path(userid_t user, const char* package_name); + +std::string create_data_ref_profile_path(); std::string create_data_ref_profile_package_path(const char* package_name); std::string create_data_dalvik_cache_path(); @@ -103,7 +109,7 @@ std::string create_primary_profile(const std::string& profile_dir); std::vector<userid_t> get_known_users(const char* volume_uuid); int calculate_tree_size(const std::string& path, int64_t* size, - gid_t include_gid = 0, gid_t exclude_gid = 0); + int32_t include_gid = -1, int32_t exclude_gid = -1, bool exclude_apps = false); int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid); |