Home
last modified time | relevance | path

Searched refs:DumpUtils (Results 1 – 25 of 120) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DDumpUtilsTest.java19 import static com.android.internal.util.DumpUtils.CRITICAL_SECTION_COMPONENTS;
20 import static com.android.internal.util.DumpUtils.filterRecord;
21 import static com.android.internal.util.DumpUtils.isNonPlatformPackage;
22 import static com.android.internal.util.DumpUtils.isPlatformCriticalPackage;
23 import static com.android.internal.util.DumpUtils.isPlatformNonCriticalPackage;
24 import static com.android.internal.util.DumpUtils.isPlatformPackage;
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java39 public final class DumpUtils { class
52 private DumpUtils() { in DumpUtils() method in DumpUtils
281 return DumpUtils::isPlatformPackage; in filterRecord()
286 return DumpUtils::isNonPlatformPackage; in filterRecord()
291 return DumpUtils::isPlatformCriticalPackage; in filterRecord()
296 return DumpUtils::isPlatformNonCriticalPackage; in filterRecord()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java841 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABEL_TOTAL, in dumpSummary()
843 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_PERSISTENT], in dumpSummary()
845 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_TOP], in dumpSummary()
847 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_IMPORTANT_FOREGROUND], in dumpSummary()
850 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_IMPORTANT_BACKGROUND], in dumpSummary()
853 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_BACKUP], in dumpSummary()
855 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_SERVICE], in dumpSummary()
857 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_SERVICE_RESTARTING], in dumpSummary()
860 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_RECEIVER], in dumpSummary()
862 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_HEAVY_WEIGHT], in dumpSummary()
[all …]
DAssociationState.java176 sb.append(" ").append(DumpUtils.STATE_NAMES[mProcState]).append(" #") in toString()
514 DumpUtils.printPercent(pw, (double)duration/(double)totalTime); in dumpStats()
519 pw.print(DumpUtils.STATE_NAMES[src.mProcState]); in dumpStats()
552 pw.print(DumpUtils.STATE_NAMES[src.mProcState]); in dumpStats()
574 DumpUtils.printPercent(pw, (double) duration / (double) totalTime); in dumpActiveDurationSummary()
604 pw.print(DumpUtils.STATE_LABELS[iprocstate]); in dumpTime()
613 DumpUtils.printPercent(pw, (double) time / (double) overallTime); in dumpTime()
625 pw.print(DumpUtils.STATE_LABEL_TOTAL); in dumpTime()
634 DumpUtils.printPercent(pw, (double) totalTime / (double) overallTime); in dumpTime()
680 DumpUtils.printArrayEntry(pw, DumpUtils.STATE_TAGS, procState, 1); in dumpTimesCheckin()
[all …]
DServiceState.java448 DumpUtils.printPercent(pw, (double)myTime/(double)totalTime); in dumpStats()
480 DumpUtils.printScreenLabel(pw, printedScreen != iscreen
483 DumpUtils.printMemLabel(pw, printedMem != imem ? imem : STATE_NOTHING,
549 DumpUtils.printAdjTagAndValue(pw, memFactor, time);
552 DumpUtils.printAdjTagAndValue(pw, curState, now - curStartTime);
614 DumpUtils.printProcStateAdjTagProto(proto,
623 DumpUtils.printProcStateAdjTagProto(proto,
DDumpUtils.java33 public final class DumpUtils { class
166 private DumpUtils() { in DumpUtils() method in DumpUtils
282 DumpUtils.printProto(proto, ProcessStatsStateProto.PROCESS_STATE, in printProcStateDurationProto()
283 DumpUtils.STATE_PROTO_ENUMS, procState, 1); in printProcStateDurationProto()
DSysMemUsageTable.java154 DumpUtils.printScreenLabel(pw, printedScreen != iscreen in dump()
159 DumpUtils.printMemLabel(pw, in dump()
/frameworks/base/services/core/java/com/android/server/timezone/
DRulesManagerServiceHelperImpl.java19 import com.android.internal.util.DumpUtils;
49 return DumpUtils.checkDumpPermission(mContext, tag, pw); in checkDumpPermission()
/frameworks/base/services/core/java/com/android/server/
DUpdateLockService.java32 import com.android.internal.util.DumpUtils;
117 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
DRuntimeService.java30 import com.android.internal.util.DumpUtils;
57 if (!DumpUtils.checkDumpAndUsageStatsPermission(mContext, TAG, pw)) { in dump()
DCountryDetectorService.java24 import com.android.internal.util.DumpUtils;
212 if (!DumpUtils.checkDumpPermission(mContext, TAG, fout)) return; in dump()
DHardwarePropertiesManagerService.java38 import com.android.internal.util.DumpUtils;
129 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
DLooperStatsService.java38 import com.android.internal.util.DumpUtils;
102 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
DDockObserver.java38 import com.android.internal.util.DumpUtils;
257 if (!DumpUtils.checkDumpPermission(getContext(), TAG, pw)) return; in dump()
DOldNetworkTimeUpdateService.java43 import com.android.internal.util.DumpUtils;
316 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
DNewNetworkTimeUpdateService.java43 import com.android.internal.util.DumpUtils;
316 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorService.java31 import com.android.internal.util.DumpUtils;
124 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
/frameworks/base/core/java/com/android/internal/util/dump/
DDumpUtils.java24 public class DumpUtils { class
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java37 import com.android.internal.app.procstats.DumpUtils;
440 DumpUtils.dumpProcessListCsv(pw, procs, sepScreenStates, screenStates, in dumpFilteredProcessesCsvLocked()
773 if (!com.android.internal.util.DumpUtils.checkDumpAndUsageStatsPermission(mAm.mContext,
829 csvScreenStats = parseStateList(DumpUtils.ADJ_SCREEN_NAMES_CSV,
846 csvMemStats = parseStateList(DumpUtils.ADJ_MEM_NAMES_CSV, 1, args[i],
863 csvProcStats = parseStateList(DumpUtils.STATE_NAMES_CSV, 1, args[i],
1020 DumpUtils.printScreenLabelCsv(pw, csvScreenStats[i]);
1026 DumpUtils.printMemLabelCsv(pw, csvMemStats[i]);
1032 pw.print(DumpUtils.STATE_NAMES_CSV[csvProcStats[i]]);
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DNetworkWatchlistService.java38 import com.android.internal.util.DumpUtils;
282 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java32 import com.android.internal.util.DumpUtils;
274 if (!DumpUtils.checkDumpPermission(mContext, LOG_TAG, pw)) return; in dump()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java36 import com.android.internal.util.DumpUtils;
271 if (!DumpUtils.checkDumpPermission(getContext(), TAG, pw)) return; in dump()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java50 import com.android.internal.util.DumpUtils;
149 DumpUtils.dumpAsync(mHandler, new DumpUtils.Dump() { in dumpInternal()
493 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbService.java41 import com.android.internal.util.DumpUtils;
286 if (!DumpUtils.checkDumpPermission(mContext, TAG, writer)) return; in dump()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java47 import com.android.internal.util.DumpUtils;
329 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()

12345