OSDN Git Service

Add a simple SurfaceFlinger stress test.
authorRobert Carr <racarr@google.com>
Fri, 10 Mar 2017 21:09:00 +0000 (13:09 -0800)
committerRobert Carr <racarr@google.com>
Wed, 15 Mar 2017 22:24:10 +0000 (15:24 -0700)
commiteb8939942d917c8f4b200a4cdafdf8c39aacff82
treec6b0dae4afb64dfc88d676822aef6bbbc10b7cc4
parent7311c4a899bc549dc4cc6141d3f97d17ea8eb396
Add a simple SurfaceFlinger stress test.

Obviously such tests are always a little arbitrary but this one
seems pretty useful. It runs in ~2 seconds, I got 10 passes in a row with
the fix for 36117490 applied, and 3 system restarts in a row (before giving up)
without the fix applied. Clean up the other tests in preparation for presubmit enabling.

Test: Quis custodiet ipsos custodes?
Bug: 36117490
Change-Id: Ifef2ff4e51aa9af193ddf003fe4aba053b28738f
services/surfaceflinger/Android.mk
services/surfaceflinger/tests/Android.mk
services/surfaceflinger/tests/Stress_test.cpp [new file with mode: 0644]
services/surfaceflinger/tests/SurfaceInterceptor_test.cpp