Add some more logging to debug GraphicsStatsValidationTest#testBasicDrawFrame which is flaky.

I can't reproduce it locally, but it fails frequently enough on the lab devices.

Bug: 132084248
Test: atest CtsIncidentHostTestCases:com.android.server.cts.GraphicsStatsValidationTest\#testBasicDrawFrame
Change-Id: I4d97e0883abc6cc78215bf1e568377ac68a967bf
diff --git a/hostsidetests/incident/src/com/android/server/cts/GraphicsStatsValidationTest.java b/hostsidetests/incident/src/com/android/server/cts/GraphicsStatsValidationTest.java
index 1041638..38b7ccc 100644
--- a/hostsidetests/incident/src/com/android/server/cts/GraphicsStatsValidationTest.java
+++ b/hostsidetests/incident/src/com/android/server/cts/GraphicsStatsValidationTest.java
@@ -20,6 +20,8 @@
 import android.service.GraphicsStatsProto;
 import android.service.GraphicsStatsServiceDumpProto;
 
+import com.android.tradefed.log.LogUtil.CLog;
+
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
@@ -55,6 +57,7 @@
     }
 
     public void testBasicDrawFrame() throws Exception {
+        System.out.println("--------------------------------- testBasicDrawFrame BEGIN");
         GraphicsStatsProto[] results = runDrawTest("testDrawTenFrames");
         GraphicsStatsProto statsBefore = results[0];
         GraphicsStatsProto statsAfter = results[1];
@@ -62,6 +65,11 @@
         GraphicsStatsJankSummaryProto summaryAfter = statsAfter.getSummary();
         assertTrue(summaryAfter.getTotalFrames() > summaryBefore.getTotalFrames());
 
+        System.out.println("summaryBefore: {\n" + summaryBefore + "}");
+        System.out.println("summaryAfter: {\n" + summaryAfter + "}");
+        System.out.println("statsBefore: {\n" + statsBefore + "}");
+        System.out.println("statsAfter: {\n" + statsAfter + "}");
+
         int frameDelta = summaryAfter.getTotalFrames() - summaryBefore.getTotalFrames();
         int jankyDelta = summaryAfter.getJankyFrames() - summaryBefore.getJankyFrames();
         // We expect 11 frames to have been drawn (first frame + the 10 more explicitly requested)
@@ -70,6 +78,7 @@
         int veryJankyDelta = countFramesAbove(statsAfter, 40) - countFramesAbove(statsBefore, 40);
         // The 1st frame could be >40ms, but nothing after that should be
         assertTrue(veryJankyDelta <= 1);
+        System.out.println("--------------------------------- testBasicDrawFrame END");
     }
 
     public void testJankyDrawFrame() throws Exception {