platform_system_core/libcutils/include/cutils
Mark Salyzyn 73e6b49c0c Switch /data/misc/reboot/last_reboot_reason to persistent property
Switch from /data/misc/reboot/last_reboot_reason to persistent
Android property persist.sys.boot.reason for indicating why the
device is rebooted or shutdown.

persist.sys.boot.reason has a standard as outlined in b/63736262 and
the associated investigation. Made adjustments to the values so that
we did not create a problem even before we started. Compliance is
part of the tests in boot_reason_test.sh.

Test: system/core/bootstat/boot_reason_test.sh
Bug: 64687998
Change-Id: I812c55a12faf7cb7ff92101009be058ad9958d07
2017-08-24 15:13:48 -07:00
..
android_filesystem_config.h Move android_filesystem_config.h => fs_config.h 2017-08-02 16:31:19 -07: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 Switch /data/misc/reboot/last_reboot_reason to persistent property 2017-08-24 15:13:48 -07: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 Remove unused cruft from <cutils/bitops.h>. 2017-04-29 10:22:40 -07: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 Fix misc-macro-parentheses warnings in system/core. 2017-08-01 22:12:57 +00: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 Allocate a GID range for external cache files. 2017-04-17 14:50:27 -06:00
native_handle.h Fix misc-macro-parentheses warnings in system/core. 2017-08-01 22:12:57 +00: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 cutils: update property_get to use diagnose_if. 2017-08-02 15:59:19 -07:00
qtaguid.h Update qtaguid tag/untag documentation. 2017-03-17 17:48:52 +00:00
record_stream.h Revert "Revert "Exporting C headers from system/core"" 2017-01-25 12:50:29 -08:00
sched_policy.h libcutils: Clarify schedboost_enabled() 2017-06-16 21:30:49 +00:00
sockets.h adb: don't try to resolve 'localhost' 2017-04-12 16:07:49 -07: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