platform_system_core/logcat
Mark Salyzyn 15e585853f logcat: test: inject messages if necessary for tail test requirements
For the gTests logcat.tz, logcat.tail_3, logcat.tail_10,
logcat.tail_100, logcat.tail_1000 and logcat.tail_time tests inject
messages if we come up short should the background logging not be
sufficient to feed the test requirements.  Test frames run the
tests right after reboot requiring injection.  Will have radio
silence, so we also add kernel logs if available to help add to the
background logging activity level.

We also will inject a radio message for logcat.buckets so that test
can survive no radio content.

Test: set device to airplane mode (to stress this problem) then:
      adb logcat -b all -c && adb shell su root \
          /data/nativetest/logcat-unit-tests/logcat-unit-tests \
          --gtest_filter=logcat.tail_1000 (or others in this set)
Bug: 34454772
Change-Id: I5ec246552f3ab1fc9c5864ed69d63b851fdf538d
2017-01-23 13:33:02 -08:00
..
tests logcat: test: inject messages if necessary for tail test requirements 2017-01-23 13:33:02 -08:00
Android.mk logcat: Add --regex option 2016-03-30 16:24:26 -07:00
event.logtags Add float support to binary event log. 2015-04-28 18:20:48 -07:00
logcat.cpp logcat: do not report security buffer errors 2017-01-20 15:30:34 -08:00
logcatd.rc resolve merge conflicts of 5f6dbd9 to nyc-mr1-dev-plus-aosp 2016-08-08 13:10:35 -07:00
logpersist logcatd: fix up logpersist.cat to filter out signature file 2016-08-08 10:20:22 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00