platform_system_core/libcutils
Mark Salyzyn b304f6d4e7 bootstat: introduce sys.boot.reason
Adding functionality to bootstat --record_boot_complete and
--record_boot_reason to initialize sys.boot.reason, the canonical
system boot reason.

Filter out ro.boot.bootreason oem noise into sys.boot.reason.  Add
heuristics to determine what the boot reason is, when otherwise would
be defaulting to the blunt and relatively devoid of detail catch-all
reboot reasons ("reboot", "shutdown", "cold", "warm", "hard").

boot_reason_test.sh is also a compliance test.

Test: boot_reason_test.sh all
Bug: 63736262
Change-Id: Ic9a42cccbcfc89a5c0e081ba66d577a97c8c8c76
2017-09-12 09:28:25 -07:00
..
arch-arm
arch-arm64
arch-mips
arch-x86
arch-x86_64
include Switch /data/misc/reboot/last_reboot_reason to persistent property 2017-08-24 15:13:48 -07:00
include_vndk/cutils Remove private headers from libcutils.vendor 2017-08-02 16:40:36 -07:00
tests libcutils: fs_config: fix "system/<partition>/" aliasing 2017-06-26 14:13:52 -07:00
Android.bp Mark the modules as VNDK-SP in Android.bp 2017-08-23 17:56:13 +09:00
android_get_control_env.h libcutils: move cutils/files.h to cutils/android_get_control_file.h 2016-11-16 15:56:56 -08:00
android_get_control_file.cpp libcutils: sdk(mac) build error 2016-11-17 08:05:16 -08:00
android_reboot.c Switch /data/misc/reboot/last_reboot_reason to persistent property 2017-08-24 15:13:48 -07:00
ashmem-dev.c libcutils should #include <sys/sysmacros.h> 2017-05-17 11:36:51 -07:00
ashmem-host.c Don't expose ashmem constants on the host. 2016-05-13 14:47:30 -07:00
canned_fs_config.c Move android_filesystem_config.h => fs_config.h 2017-08-02 16:31:19 -07:00
config_utils.c
dlmalloc_stubs.c liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
fs.c Add mode bits to a call to open with O_CREAT 2017-01-25 17:31:43 -08:00
fs_config.cpp bootstat: introduce sys.boot.reason 2017-09-12 09:28:25 -07:00
hashmap.c
iosched_policy.c Add ioprio values directly. 2016-07-18 17:01:05 -07:00
klog.cpp Remove unused klog_get_level. 2017-01-13 18:14:12 -08:00
load_file.c
MODULE_LICENSE_APACHE2
multiuser.c Allocate a GID range for external cache files. 2017-04-17 14:59:51 -06:00
native_handle.c Preserve errno better in native_handle functions. 2017-05-01 21:34:15 -07:00
NOTICE
open_memstream.c
partition_utils.c
properties.cpp Implement android::base::WaitForProperty. 2017-02-13 11:29:02 -08:00
qtaguid.c liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
record_stream.c
sched_policy.cpp Merge "Remove more documentation for obsolete board configuration." 2017-06-29 23:50:37 +00:00
socket_inaddr_any_server_unix.c
socket_inaddr_any_server_windows.c
socket_local_client_unix.c
socket_local_server_unix.c
socket_local_unix.h
socket_network_client_unix.c Make sure freeaddrinfo is always called on failure. 2017-08-02 20:32:27 +00:00
socket_network_client_windows.c
sockets.cpp libcutils: move cutils/files.h to cutils/android_get_control_file.h 2016-11-16 15:56:56 -08:00
sockets_unix.cpp liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
sockets_windows.cpp libcutils: move cutils/files.h to cutils/android_get_control_file.h 2016-11-16 15:56:56 -08:00
str_parms.c liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
strdup8to16.c Fix misc-macro-parentheses warnings in init and other core modules. 2016-05-18 18:11:49 -07:00
strdup16to8.c
strlcpy.c
threads.c
trace-container.c libcutils: write trace event into socket in container 2017-08-03 15:16:44 +08:00
trace-dev.c libcutils: write trace event into socket in container 2017-08-03 15:16:44 +08:00
trace-dev.inc libcutils: write trace event into socket in container 2017-08-03 15:16:44 +08:00
trace-host.c Hide warning in cutils/trace.h 2016-09-21 17:45:31 -07:00
uevent.c socket: uevent: use SO_RCVBUF instead of SO_RCVBUFFORCE 2016-12-09 15:16:28 -08:00