android_system_core/libutils
Wei Wang e73180f8f5 libutils: do not follow process's group
1) App doesn't have cgroup access and there is no purpose of reading cgroup
for app. For system_server it should be known in foreground group. So
there is no benefit of reading group.

2) Reading cgroup in apps can also cause contention for other cgroup
operations.

3) vendor can change cgroup setting and get_sched_policy may return
incorrect information for get_sched_policy_profile_name.

Test: Boot
Bug: 210011562
Signed-off-by: Wei Wang <wvw@google.com>
Merged-In: I8e8c8b346984781c56ec93c0616121f7d5c99fe5
Change-Id: I8e8c8b346984781c56ec93c0616121f7d5c99fe5
(cherry picked from commit defb7773121545130fff80928ebcd7d6015be1d1)
2021-12-13 10:05:05 -08:00
..
include/utils Looper: Use sequence numbers in epoll_event to track requests 2021-09-01 14:52:52 +00:00
Android.bp Remove libdl from shared_libs 2021-11-29 17:43:04 -05:00
BitSet_fuzz.cpp
BitSet_test.cpp
CallStack.cpp
CallStack_fuzz.cpp
CleanSpec.mk
Errors.cpp
FileMap.cpp
FileMap_fuzz.cpp
FileMap_test.cpp
FuzzFormatTypes.h
JenkinsHash.cpp
LightRefBase.cpp libutils: LightRefBase: incStrongRequireStrong 2021-05-04 21:42:26 +00:00
Looper.cpp Looper: Use sequence numbers in epoll_event to track requests 2021-09-01 14:52:52 +00:00
Looper_fuzz.cpp
Looper_test.cpp Looper: Use sequence numbers in epoll_event to track requests 2021-09-01 14:52:52 +00:00
Looper_test_pipe.h
LruCache_fuzz.cpp
LruCache_test.cpp
MODULE_LICENSE_APACHE2
Mutex_test.cpp
NOTICE
NativeHandle.cpp
OWNERS
Printer.cpp
Printer_fuzz.cpp
ProcessCallStack.cpp
ProcessCallStack_fuzz.cpp
RefBase.cpp RefBase: Unknown mFlag meaning 2021-08-22 16:36:36 +00:00
RefBase_fuzz.cpp
RefBase_test.cpp
SharedBuffer.cpp
SharedBuffer.h
SharedBuffer_test.cpp
Singleton_test.cpp
Singleton_test.h
Singleton_test1.cpp
Singleton_test2.cpp
StopWatch.cpp libutils: remove the unused StopWatch lap functionality. 2021-05-11 16:33:47 -07:00
String8.cpp Merge "Revert "Revert "Remove unused String8::setPathName.""" am: f9a9ee048c am: e9a9a4f071 2021-07-20 20:07:22 +00:00
String8_fuzz.cpp Revert "Revert "Remove unused String8::setPathName."" 2021-07-19 20:19:44 +00:00
String8_test.cpp Check for overflow in String8::real_append. 2021-06-10 16:42:20 -07:00
String16.cpp Merge "String16 is moveable (noexcept)" am: 3551e457ca am: 32ceaa1299 2021-06-30 01:48:14 +00:00
String16_fuzz.cpp Remove String16::remove. 2021-05-12 20:24:26 +00:00
String16_test.cpp Merge "libutil: no special copy from StaticString16" am: 7d067aee62 am: ece939ecc9 2021-06-30 02:51:49 +00:00
StrongPointer.cpp
StrongPointer_test.cpp libutils: LightRefBase: incStrongRequireStrong 2021-05-04 21:42:26 +00:00
SystemClock.cpp
SystemClock_test.cpp
TEST_MAPPING Split up the system/core/ TEST_MAPPING. 2021-08-16 16:37:10 -07:00
Threads.cpp libutils: do not follow process's group 2021-12-13 10:05:05 -08:00
Timers.cpp Increase coverage of Timers to 100%. 2021-05-18 13:10:50 -07:00
Timers_test.cpp Increase coverage of Timers to 100%. 2021-05-18 13:10:50 -07:00
Tokenizer.cpp
Trace.cpp
Unicode.cpp
Unicode_test.cpp
VectorImpl.cpp
Vector_benchmark.cpp
Vector_fuzz.cpp
Vector_test.cpp
misc.cpp