platform_system_core/liblog/tests
Mark Salyzyn b867beac56 liblog: test: liblog.__security miscalculation
The gTest should not be able to set ro.device_owner, either as a unit
test or a CTS test.  The CTS test should not be able to set
persist.logd.security, the gTest may as it is run on userdebug with
root, so check if we are root to discern expectations.

Test: gTest liblog-unit-tests --gtest_filter=liblog.__security
Test: cts-tradefed run cts-dev -a armeabi-v7a -m CtsLiblogTestCases -t liblog#__security
Bug: 36480230
Change-Id: I1da88aae34da4e2fca8dd88d740eeb879d9c65bb
2017-04-20 13:26:12 -07:00
..
Android.mk liblog: add LOGGER_STDERR frontend 2017-03-08 07:17:31 -08:00
AndroidTest.xml liblog: CTS test 2016-11-29 08:40:16 -08:00
benchmark.h Fix google-explicit-constructor warnings in system/core. 2016-07-26 11:26:01 -07:00
benchmark_main.cpp liblog: specify clang format 2017-03-09 09:36:19 -08:00
libc_test.cpp liblog: specify clang format 2017-03-09 09:36:19 -08:00
liblog_benchmark.cpp liblog: benchmark add BM_log_event_overhead_42 for a well known tag 2017-03-31 13:25:36 -07:00
liblog_test.cpp liblog: test: liblog.__security miscalculation 2017-04-20 13:26:12 -07:00
liblog_test_default.cpp liblog: test: *.android_errorWriteWithinfoLog__android_logger_list_read__* 2017-03-17 10:41:39 -07:00
liblog_test_local.cpp liblog: test: *.android_errorWriteWithinfoLog__android_logger_list_read__* 2017-03-17 10:41:39 -07:00
liblog_test_stderr.cpp liblog: test: *.android_errorWriteWithinfoLog__android_logger_list_read__* 2017-03-17 10:41:39 -07:00
liblog_test_stderr_local.cpp liblog: test: *.android_errorWriteWithinfoLog__android_logger_list_read__* 2017-03-17 10:41:39 -07:00
log_id_test.cpp liblog: specify clang format 2017-03-09 09:36:19 -08:00
log_radio_test.cpp liblog: specify clang format 2017-03-09 09:36:19 -08:00
log_read_test.cpp liblog: specify clang format 2017-03-09 09:36:19 -08:00
log_system_test.cpp liblog: specify clang format 2017-03-09 09:36:19 -08:00
log_time_test.cpp liblog: specify clang format 2017-03-09 09:36:19 -08:00