summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-12-13 11:55:19 -0700
committerJeff Sharkey <jsharkey@android.com>2016-12-13 13:28:08 -0700
commit998ffa314bd985704082029a1938f0f4b69be7c9 (patch)
tree260698ec335906df76fe1db439baa5f71089a953 /libutils/Unicode.cpp
parent2d15ee1b9569abec3fd34bd21caf7cf3191424ab (diff)
Define range of GIDs for cached app data.
To support upcoming disk usage calculation optimizations, this change creates a new GID for each app that will be used to mark its cached data. We're allocating these unique GIDs so that we can use quotactl() to track cached data on a per-app basis. This change also tightens up the implementation of both the cache and shared GID calculation to ensure that they stay inside the valid ranges, and includes tests to verify. Test: builds, boots, tests pass Bug: 27948817 Change-Id: Ie4377e5aae267f2da39a165888139228995987cb
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions