Home
last modified time | relevance | path

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

123456

/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.java918 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABEL_TOTAL, in dumpSummary()
920 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_PERSISTENT], in dumpSummary()
922 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_TOP], in dumpSummary()
924 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_BOUND_TOP_OR_FGS], in dumpSummary()
927 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_FGS], in dumpSummary()
930 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_IMPORTANT_FOREGROUND], in dumpSummary()
933 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_IMPORTANT_BACKGROUND], in dumpSummary()
936 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_BACKUP], in dumpSummary()
938 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_SERVICE], in dumpSummary()
940 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_SERVICE_RESTARTING], in dumpSummary()
[all …]
DAssociationState.java469 sb.append(" ").append(DumpUtils.STATE_NAMES[mProcState]).append(" #") in toString()
858 DumpUtils.printPercent(pw, (double) totalDuration / (double) totalTime); in dumpStats()
884 DumpUtils.printPercent(pw, (double) totalDuration / (double) totalTime); in dumpStats()
938 pw.print(DumpUtils.STATE_NAMES[src.mActiveProcState]); in dumpSources()
951 DumpUtils.printPercent(pw, (double) cont.mActiveTime / (double) totalTime); in dumpSources()
974 DumpUtils.printPercent(pw, (double) cont.mTotalTime / (double) totalTime); in dumpSources()
983 pw.print(DumpUtils.STATE_NAMES[src.mProcState]); in dumpSources()
999 pw.print(DumpUtils.STATE_NAMES[src.mProcState]); in dumpSources()
1020 DumpUtils.printPercent(pw, (double) duration / (double) totalTime); in dumpActiveDurationSummary()
1049 pw.print(DumpUtils.STATE_LABELS[iprocstate]); in dumpTime()
[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,
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/apex/jobscheduler/service/
Djarjar-rules.txt10 rule com.android.internal.util.DumpUtils* com.android.internal.util.jobs.DumpUtils@1
/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.java29 import com.android.internal.util.DumpUtils;
56 if (!DumpUtils.checkDumpAndUsageStatsPermission(mContext, TAG, pw)) { in dump()
DHardwarePropertiesManagerService.java38 import com.android.internal.util.DumpUtils;
129 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
DCountryDetectorService.java35 import com.android.internal.util.DumpUtils;
242 if (!DumpUtils.checkDumpPermission(mContext, TAG, fout)) return; in dump()
DNetworkTimeUpdateService.java45 import com.android.internal.util.DumpUtils;
276 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
DLooperStatsService.java38 import com.android.internal.util.DumpUtils;
107 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()
/frameworks/base/services/core/java/com/android/server/timedetector/
DGnssTimeUpdateService.java37 import com.android.internal.util.DumpUtils;
194 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
DTimeDetectorService.java38 import com.android.internal.util.DumpUtils;
179 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/net/watchlist/
DNetworkWatchlistService.java38 import com.android.internal.util.DumpUtils;
282 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java41 import com.android.internal.util.DumpUtils;
268 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java37 import com.android.internal.app.procstats.DumpUtils;
497 DumpUtils.dumpProcessListCsv(pw, procs, sepScreenStates, screenStates, in dumpFilteredProcessesCsvLocked()
855 if (!com.android.internal.util.DumpUtils.checkDumpAndUsageStatsPermission(mAm.mContext,
916 csvScreenStats = parseStateList(DumpUtils.ADJ_SCREEN_NAMES_CSV,
933 csvMemStats = parseStateList(DumpUtils.ADJ_MEM_NAMES_CSV, 1, args[i],
950 csvProcStats = parseStateList(DumpUtils.STATE_NAMES_CSV, 1, args[i],
1113 DumpUtils.printScreenLabelCsv(pw, csvScreenStats[i]);
1119 DumpUtils.printMemLabelCsv(pw, csvMemStats[i]);
1125 pw.print(DumpUtils.STATE_NAMES_CSV[csvProcStats[i]]);
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerService.java50 import com.android.internal.util.DumpUtils;
200 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) { in dump()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java34 import com.android.internal.util.DumpUtils;
300 if (!DumpUtils.checkDumpPermission(mContext, LOG_TAG, pw)) return; in dump()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java37 import com.android.internal.util.DumpUtils;
298 if (!DumpUtils.checkDumpPermission(getContext(), TAG, pw)) return; in dump()
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java36 import com.android.internal.util.DumpUtils;
298 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) { in dump()

123456