b867beac56
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 |
||
---|---|---|
.. | ||
Android.mk | ||
AndroidTest.xml | ||
benchmark.h | ||
benchmark_main.cpp | ||
libc_test.cpp | ||
liblog_benchmark.cpp | ||
liblog_test.cpp | ||
liblog_test_default.cpp | ||
liblog_test_local.cpp | ||
liblog_test_stderr.cpp | ||
liblog_test_stderr_local.cpp | ||
log_id_test.cpp | ||
log_radio_test.cpp | ||
log_read_test.cpp | ||
log_system_test.cpp | ||
log_time_test.cpp |