android_system_core/libcutils/include/cutils
Todd Poynor e40c421b28 libcutils: android_reboot: save reboot reason in file
Save a string identifying the reason for last Android reboot or power
off in file /data/misc/recovery/last_reboot_reason .  This file may
be used for informing users of reboot or shutdown reasons at next
boot, and for other diagnostic purposes.

Bug: 30994946
Test: Manual: reboot, setprop sys.powerctl
Change-Id: I01e44473fdd21b33e9e4dced77aba9a66b6d3755
2017-02-02 04:01:05 +00:00
..
android_get_control_file.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
android_reboot.h libcutils: android_reboot: save reboot reason in file 2017-02-02 04:01:05 +00:00
ashmem.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
atomic.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
bitops.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
compiler.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
config_utils.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
fs.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
hashmap.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
iosched_policy.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
jstring.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
klog.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
list.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
log.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
memory.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
misc.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
multiuser.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
native_handle.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
open_memstream.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
partition_utils.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
properties.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
qtaguid.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
record_stream.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
sched_policy.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
sockets.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
str_parms.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
threads.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
trace.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
uevent.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00