Add a --color option to dumpsys SurfaceFlinger

colorize a bit the output of dumpsys SurfaceFlinger to
make it easier to read. Right now it will bold the
title of each section and use green for the name of
each layer.

Change-Id: I0d9f18d115401cb45109d244ef3a278481f68cc6
diff --git a/services/surfaceflinger/Layer.h b/services/surfaceflinger/Layer.h
index 2c06f1a..11fdbb5 100644
--- a/services/surfaceflinger/Layer.h
+++ b/services/surfaceflinger/Layer.h
@@ -51,6 +51,7 @@
 // ---------------------------------------------------------------------------
 
 class Client;
+class Colorizer;
 class DisplayDevice;
 class GraphicBuffer;
 class SurfaceFlinger;
@@ -304,8 +305,7 @@
 
 
     /* always call base class first */
-    virtual void dump(String8& result) const;
-    virtual void shortDump(String8& result) const;
+    virtual void dump(String8& result, Colorizer& colorizer) const;
     virtual void dumpStats(String8& result) const;
     virtual void clearStats();