Improve low memory dropbox reporting.

The msg is now constructed to try to bin these reports in
interesting ways.  We'll see.  Also change the tag name from
watchdog to lowmem, since sharkey is kindly taking care of
the back-end to handle this.

Improve how we put processes into low memory states to better
poke things like home and the previous app.

Also clean up some debug output, and add a few new am comment
options for controlling the current debug app.

Change-Id: I562a931a95244a2727bb7a6e1fd80dec259cdae2
diff --git a/services/java/com/android/server/am/ContentProviderRecord.java b/services/java/com/android/server/am/ContentProviderRecord.java
index 6f6266d..3835553 100644
--- a/services/java/com/android/server/am/ContentProviderRecord.java
+++ b/services/java/com/android/server/am/ContentProviderRecord.java
@@ -73,15 +73,14 @@
                     pw.print("multiprocess="); pw.print(info.multiprocess);
                     pw.print(" initOrder="); pw.println(info.initOrder);
         }
+        if (externals != 0) {
+            pw.print(prefix); pw.print("externals="); pw.println(externals);
+        }
         if (clients.size() > 0) {
             pw.print(prefix); pw.println("Clients:");
             for (ProcessRecord cproc : clients) {
-                pw.print(prefix); pw.println("  - "); pw.println(cproc);
+                pw.print(prefix); pw.print("  - "); pw.println(cproc.toShortString());
             }
-            pw.print(prefix); pw.print("clients="); pw.println(clients);
-        }
-        if (externals != 0) {
-            pw.print(prefix); pw.print("externals="); pw.println(externals);
         }
     }