diff options
author | 2022-08-16 11:49:27 -0700 | |
---|---|---|
committer | 2022-08-16 11:49:27 -0700 | |
commit | 91192c8103e78895c57d9da1fc04c8695898580f (patch) | |
tree | 9a4deff758bed03ccc5ff838dc55f467c303d762 /cmds/installd/utils.cpp | |
parent | 896cdca96956b6f14e262380b34a0b04e1214b50 (diff) | |
parent | a7459772bbc558b8b13df09de8b0cea156d81870 (diff) |
DO NOT MERGE - Merge Android 13
Bug: 242648940
Merged-In: Ia3eae81cc26b28b0d25dc5f5c6cd04ec8c1bafdf
Change-Id: Icd8e5ea85bfed76d58c81368d94dd1f6101fc087
Diffstat (limited to 'cmds/installd/utils.cpp')
-rw-r--r-- | cmds/installd/utils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/installd/utils.cpp b/cmds/installd/utils.cpp index 65b25a495b..4d9b71016e 100644 --- a/cmds/installd/utils.cpp +++ b/cmds/installd/utils.cpp @@ -424,6 +424,7 @@ std::vector<userid_t> get_known_users(const char* volume_uuid) { return users; } + long get_project_id(uid_t uid, long start_project_id_range) { return uid - AID_APP_START + start_project_id_range; } @@ -462,6 +463,7 @@ int set_quota_project_id(const std::string& path, long project_id, bool set_inhe } return 0; } + int calculate_tree_size(const std::string& path, int64_t* size, int32_t include_gid, int32_t exclude_gid, bool exclude_apps) { FTS *fts; |