platform_system_core/libcutils/tests
Jeff Sharkey dff44709cf 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
2016-12-13 13:28:08 -07:00
..
Android.bp Define range of GIDs for cached app data. 2016-12-13 13:28:08 -07:00
AshmemTest.cpp Add basic tests for ashmem 2016-09-20 16:17:24 -07:00
MemsetTest.cpp Make allocations use unique_ptr. 2015-10-14 14:03:29 -07:00
PropertiesTest.cpp libcutils: Replace cutils/log.h with android/log.h 2016-09-30 12:47:05 -07:00
android_get_control_file_test.cpp libcutils: move cutils/files.h to cutils/android_get_control_file.h 2016-11-16 15:56:56 -08:00
android_get_control_socket_test.cpp libcutils: move cutils/files.h to cutils/android_get_control_file.h 2016-11-16 15:56:56 -08:00
multiuser_test.cpp Define range of GIDs for cached app data. 2016-12-13 13:28:08 -07:00
sched_policy_test.cpp libcutils: add sched_policy test 2016-08-03 23:31:50 +00:00
sockets_test.cpp libcutils: move cutils/files.h to cutils/android_get_control_file.h 2016-11-16 15:56:56 -08:00
test_str_parms.cpp Move all libcutils tests into the gtests. 2015-04-02 14:25:55 -07:00
trace-dev_test.cpp Fix incorrect handling of snprintf return value. 2016-02-25 12:46:44 -08:00