android_system_core/libcutils
David Pursell 6fd4b9b6b5 libcutils test: make set_sched_policy optional
set_sched_policy checks that operations related to the kernel config
CONFIG_CGROUP_SCHEDTUNE are working properly, but this config is not
required so devices without this were failing the test.

This CL splits set_sched_policy into two tests so that the policy and
timerslack tests can be skipped individually when devices don't support
them.

Bug: 113185515, 112550681
Test: libcutils_test{32,64} now pass on aosp_x86_64 emulator
Change-Id: I31638b61e033f0c96b63428a8d27d27dbc36bce3
2018-08-28 13:26:04 -07:00
..
arch-arm
arch-arm64
arch-mips
arch-x86
arch-x86_64
include libcutils: remove rather than fix the mutex. 2018-07-13 14:53:51 -07:00
include_vndk/cutils libcutils: remove unused open_memstream. 2018-07-11 14:28:21 -07:00
tests libcutils test: make set_sched_policy optional 2018-08-28 13:26:04 -07:00
Android.bp cutils: move hashmap to <pthread.h>. 2018-07-13 10:54:49 -07:00
MODULE_LICENSE_APACHE2
NOTICE
OWNERS libcutils: add OWNERS. 2018-06-12 13:58:30 -07:00
android_get_control_env.h
android_get_control_file.cpp
android_reboot.cpp
ashmem-dev.cpp libcutils: ashmem: Avoid doing fd checks for ashmem calls 2018-07-17 17:02:44 -07:00
ashmem-host.cpp Remove more bogus <stdbool.h> #includes from C++. 2018-05-08 13:00:06 -07:00
canned_fs_config.cpp Remove more bogus <stdbool.h> #includes from C++. 2018-05-08 13:00:06 -07:00
config_utils.cpp
fs.cpp
fs_config.cpp s/product-services/product_services/g 2018-08-20 17:46:42 +00:00
hashmap.cpp cutils: move hashmap to <pthread.h>. 2018-07-13 10:54:49 -07:00
iosched_policy.cpp
klog.cpp
load_file.cpp
multiuser.cpp
native_handle.cpp
partition_utils.cpp
properties.cpp
qtaguid.cpp
record_stream.cpp
sched_policy.cpp Rewrite get_sched_policy_name for safety. 2018-04-25 14:55:48 -07:00
socket_inaddr_any_server_unix.cpp
socket_inaddr_any_server_windows.cpp
socket_local_client_unix.cpp
socket_local_server_unix.cpp
socket_local_unix.h
socket_network_client_unix.cpp
socket_network_client_windows.cpp
sockets.cpp
sockets_unix.cpp libcutils: Simplify android_get_control_socket() 2018-05-28 15:00:50 +09:00
sockets_windows.cpp
str_parms.cpp libcutils: remove some unused API. 2018-07-11 14:27:32 -07:00
strdup8to16.cpp
strdup16to8.cpp
strlcpy.c
threads.cpp
trace-container.cpp
trace-dev.cpp Revert "Don't initialize atrace if it's already disabled." 2018-02-08 00:49:37 +00:00
trace-dev.inc Remove more bogus <stdbool.h> #includes from C++. 2018-05-08 13:00:06 -07:00
trace-host.cpp
uevent.cpp