Add more virtual display tests.

We can't test everything in CTS because some features require
system permissions.  So this is another copy of the CTS test
with more stuff that we can build with the system cert.

Change-Id: Ied5a456a0810d38d307b6dfbad0f770cb480b4ee
diff --git a/media/jni/android_media_ImageReader.cpp b/media/jni/android_media_ImageReader.cpp
index 0b429f6..cd589de 100644
--- a/media/jni/android_media_ImageReader.cpp
+++ b/media/jni/android_media_ImageReader.cpp
@@ -701,11 +701,12 @@
     }
     status_t res = consumer->lockNextBuffer(buffer);
     if (res != NO_ERROR) {
-        ALOGE("%s Fail to lockNextBuffer with error: %d ", __FUNCTION__, res);
+        if (res != BAD_VALUE /*no buffers*/) {
+            ALOGE("%s Fail to lockNextBuffer with error: %d ", __FUNCTION__, res);
+        }
         return false;
     }
 
-
     // Check if the left-top corner of the crop rect is origin, we currently assume this point is
     // zero, will revist this once this assumption turns out problematic.
     Point lt = buffer->crop.leftTop();