android_system_core/liblog/tests
Mark Salyzyn 10bdf61e5f liblog: add __android_log_pmsg_file_write
(cherry pick from commit d4b061bde2)

- This is considered an Android Private function, not exported
  for general use.
- goal is to record a file's content into a series of log
  messages into pmsg, to be retrieved after a reboot for
  transfer to a persistent location.
- filename reference is converted to a tag-unique
  "<dirbase>:<filebase>".
- buffer and length representing the filename contents are
  recorded, along with a sequence number placed into the nsec
  time field to ANDROID_LOG_PMSG_FILE_MAX_SEQUENCE.
- Add a gTest for this function.

Bug: 27176738
Change-Id: If93df3ae8bfc1bb75516d4a1fd8dae0301af644b
2016-03-22 14:07:54 -07:00
..
Android.mk liblog: deprecate TARGET_USES_LOGD 2015-07-28 09:37:07 -07:00
benchmark.h liblog: Add liblog test suite 2014-01-27 15:17:39 -08:00
benchmark_main.cpp Move liblog tests and benchmarks to libc++. 2014-11-12 03:44:16 +00:00
libc_test.cpp liblog: deprecate TARGET_USES_LOGD 2015-07-28 09:37:07 -07:00
liblog_benchmark.cpp liblog: is loggable is flaky 2015-12-22 10:06:22 -08:00
liblog_test.cpp liblog: add __android_log_pmsg_file_write 2016-03-22 14:07:54 -07:00