logd: liblog: logcat: Add Statistics

- logd add statistical collection and formatting
- liblog add android_logger_get_statistics call
- logcat add -S flag
- logcat add -b all

(cherry picked from commit 51a29c8dc445e4fb89860561933e54a231e6ffb4)

Change-Id: I521753b1969ecd4590c956aeeb1557d101059d67
diff --git a/logd/CommandListener.h b/logd/CommandListener.h
index 861abbf..a841610 100644
--- a/logd/CommandListener.h
+++ b/logd/CommandListener.h
@@ -54,6 +54,7 @@
     LogBufferCmd(Clear)
     LogBufferCmd(GetBufSize)
     LogBufferCmd(GetBufSizeUsed)
+    LogBufferCmd(GetStatistics)
 };
 
 #endif