/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | DumpUtilsTest.java | 19 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/ |
D | DumpUtils.java | 39 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/ |
D | ProcessState.java | 841 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 …]
|
D | AssociationState.java | 176 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 …]
|
D | ServiceState.java | 448 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,
|
D | DumpUtils.java | 33 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()
|
D | SysMemUsageTable.java | 154 DumpUtils.printScreenLabel(pw, printedScreen != iscreen in dump() 159 DumpUtils.printMemLabel(pw, in dump()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | RulesManagerServiceHelperImpl.java | 19 import com.android.internal.util.DumpUtils; 49 return DumpUtils.checkDumpPermission(mContext, tag, pw); in checkDumpPermission()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UpdateLockService.java | 32 import com.android.internal.util.DumpUtils; 117 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
|
D | RuntimeService.java | 30 import com.android.internal.util.DumpUtils; 57 if (!DumpUtils.checkDumpAndUsageStatsPermission(mContext, TAG, pw)) { in dump()
|
D | CountryDetectorService.java | 24 import com.android.internal.util.DumpUtils; 212 if (!DumpUtils.checkDumpPermission(mContext, TAG, fout)) return; in dump()
|
D | HardwarePropertiesManagerService.java | 38 import com.android.internal.util.DumpUtils; 129 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
|
D | LooperStatsService.java | 38 import com.android.internal.util.DumpUtils; 102 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
|
D | DockObserver.java | 38 import com.android.internal.util.DumpUtils; 257 if (!DumpUtils.checkDumpPermission(getContext(), TAG, pw)) return; in dump()
|
D | OldNetworkTimeUpdateService.java | 43 import com.android.internal.util.DumpUtils; 316 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
|
D | NewNetworkTimeUpdateService.java | 43 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/ |
D | TimeDetectorService.java | 31 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/ |
D | DumpUtils.java | 24 public class DumpUtils { class
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 37 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/ |
D | NetworkWatchlistService.java | 38 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/ |
D | UiAutomationManager.java | 32 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/ |
D | WebViewUpdateService.java | 36 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/ |
D | DreamManagerService.java | 50 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/ |
D | AdbService.java | 41 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/ |
D | SearchManagerService.java | 47 import com.android.internal.util.DumpUtils; 329 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
|