Add GLSurfaceView pause/resume tests to CTS.

This change adds two new tests that repeatedly call the onPause() and
onResume() methods of a GLSurfaceView object.  One of the tests has a delay
between the pause/resume and runs fewer iterations, while the other test has no
delay and runs more iterations.

These tests simply verify that the system is able to perform multiple
pause/resume sequences without crashing.

Bug: 2550745

Change-Id: I276db62dc4ff7539392ee55e52ab20057d0b3d1e
3 files changed
tree: 23778b718ee6be41ade183a04db61a61eaf68ad1
  1. tests/
  2. tools/
  3. .gitignore
  4. Android.mk