Lines Matching refs:dump

292         JSONObject dump = new JSONObject();
301 dump.put("current", aggregatedStats);
308 dump.put("historical", mSQLiteLog.dumpJson(filter));
313 return dump;
316 public synchronized void dump(PrintWriter pw, String indent, DumpFilter filter) {
321 as.dump(pw, indent);
327 mSQLiteLog.dump(pw, indent, filter);
557 public void dump(PrintWriter pw, String indent) {
648 JSONObject dump = new JSONObject();
649 dump.put("key", key);
650 dump.put("duration", SystemClock.elapsedRealtime() - mCreated);
651 maybePut(dump, "numEnqueuedByApp", numEnqueuedByApp);
652 maybePut(dump, "numPostedByApp", numPostedByApp);
653 maybePut(dump, "numUpdatedByApp", numUpdatedByApp);
654 maybePut(dump, "numRemovedByApp", numRemovedByApp);
655 maybePut(dump, "numPeopleCacheHit", numPeopleCacheHit);
656 maybePut(dump, "numPeopleCacheMiss", numPeopleCacheMiss);
657 maybePut(dump, "numWithStaredPeople", numWithStaredPeople);
658 maybePut(dump, "numWithValidPeople", numWithValidPeople);
659 maybePut(dump, "numBlocked", numBlocked);
660 maybePut(dump, "numSuspendedByAdmin", numSuspendedByAdmin);
661 maybePut(dump, "numWithActions", numWithActions);
662 maybePut(dump, "numPrivate", numPrivate);
663 maybePut(dump, "numSecret", numSecret);
664 maybePut(dump, "numInterrupt", numInterrupt);
665 maybePut(dump, "numWithBigText", numWithBigText);
666 maybePut(dump, "numWithBigPicture", numWithBigPicture);
667 maybePut(dump, "numForegroundService", numForegroundService);
668 maybePut(dump, "numOngoing", numOngoing);
669 maybePut(dump, "numAutoCancel", numAutoCancel);
670 maybePut(dump, "numWithLargeIcon", numWithLargeIcon);
671 maybePut(dump, "numWithInbox", numWithInbox);
672 maybePut(dump, "numWithMediaSession", numWithMediaSession);
673 maybePut(dump, "numWithTitle", numWithTitle);
674 maybePut(dump, "numWithText", numWithText);
675 maybePut(dump, "numWithSubText", numWithSubText);
676 maybePut(dump, "numWithInfoText", numWithInfoText);
677 maybePut(dump, "numRateViolations", numRateViolations);
678 maybePut(dump, "numQuotaLViolations", numQuotaViolations);
679 maybePut(dump, "notificationEnqueueRate", getEnqueueRate());
680 noisyImportance.maybePut(dump, previous.noisyImportance);
681 quietImportance.maybePut(dump, previous.quietImportance);
682 finalImportance.maybePut(dump, previous.finalImportance);
684 return dump;
687 private void maybePut(JSONObject dump, String name, int value) throws JSONException {
689 dump.put(name, value);
693 private void maybePut(JSONObject dump, String name, float value) throws JSONException {
695 dump.put(name, value);
740 public void maybePut(JSONObject dump, ImportanceHistogram prev)
742 dump.put(mPrefix, new JSONArray(mCount));
1273 public void dump(PrintWriter pw, String indent, DumpFilter filter) {
1278 JSONObject dump = new JSONObject();
1280 dump.put("post_frequency", jsonPostFrequencies(filter));
1281 dump.put("since", filter.since);
1282 dump.put("now", System.currentTimeMillis());
1286 return dump;