Home
last modified time | relevance | path

Searched refs:DumpUtils (Results 1 – 25 of 147) 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;
197 DumpUtils.dumpSparseArray(mPrintWriter, /* prefix= */ "...", array, "whatever"); in testDumpSparseArray_empty()
209 DumpUtils.dumpSparseArray(mPrintWriter, /* prefix= */ ".", array, "number"); in testDumpSparseArray_oneElement()
223 DumpUtils.dumpSparseArray(mPrintWriter, /* prefix= */ ".", array, "NULL"); in testDumpSparseArray_oneNullElement()
239 DumpUtils.dumpSparseArray(mPrintWriter, /* prefix= */ ".", array, "number"); in testDumpSparseArray_multipleElements()
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DUidState.java286 DumpUtils.printScreenLabel(pw, printedScreen != iscreen in dumpState()
291 DumpUtils.printMemLabel(pw, in dumpState()
295 pw.print(DumpUtils.STATE_LABELS[procStates[ip]]); pw.print(": "); in dumpState()
305 DumpUtils.printScreenLabel(pw, STATE_NOTHING); in dumpState()
308 DumpUtils.printMemLabel(pw, STATE_NOTHING, '/'); in dumpState()
310 pw.print(DumpUtils.STATE_LABEL_TOTAL); in dumpState()
DProcessState.java943 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABEL_TOTAL, in dumpSummary()
945 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_PERSISTENT], in dumpSummary()
947 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_TOP], in dumpSummary()
949 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_BOUND_TOP], in dumpSummary()
952 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_BOUND_FGS], in dumpSummary()
955 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_FGS], in dumpSummary()
958 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_IMPORTANT_FOREGROUND], in dumpSummary()
961 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_IMPORTANT_BACKGROUND], in dumpSummary()
964 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_BACKUP], in dumpSummary()
966 dumpProcessSummaryDetails(pw, prefix, DumpUtils.STATE_LABELS[STATE_SERVICE], in dumpSummary()
[all …]
DAssociationState.java470 sb.append(" ").append(DumpUtils.STATE_NAMES[mProcState]).append(" #") in toString()
859 DumpUtils.printPercent(pw, (double) totalDuration / (double) totalTime); in dumpStats()
885 DumpUtils.printPercent(pw, (double) totalDuration / (double) totalTime); in dumpStats()
939 pw.print(DumpUtils.STATE_NAMES[src.mActiveProcState]); in dumpSources()
952 DumpUtils.printPercent(pw, (double) cont.mActiveTime / (double) totalTime); in dumpSources()
975 DumpUtils.printPercent(pw, (double) cont.mTotalTime / (double) totalTime); in dumpSources()
984 pw.print(DumpUtils.STATE_NAMES[src.mProcState]); in dumpSources()
1000 pw.print(DumpUtils.STATE_NAMES[src.mProcState]); in dumpSources()
1021 DumpUtils.printPercent(pw, (double) duration / (double) totalTime); in dumpActiveDurationSummary()
1050 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()
DDumpUtils.java60 public final class DumpUtils { class
240 private DumpUtils() { in DumpUtils() method in DumpUtils
356 DumpUtils.printProto(proto, ProcessStatsStateProto.PROCESS_STATE, in printProcStateDurationProto()
357 DumpUtils.STATE_PROTO_ENUMS, procState, 1); in printProcStateDurationProto()
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java41 public final class DumpUtils { class
54 private DumpUtils() { in DumpUtils() method in DumpUtils
289 return DumpUtils::isPlatformPackage; in filterRecord()
294 return DumpUtils::isNonPlatformPackage; in filterRecord()
299 return DumpUtils::isPlatformCriticalPackage; in filterRecord()
304 return DumpUtils::isPlatformNonCriticalPackage; in filterRecord()
/frameworks/base/services/core/java/com/android/server/
DRuntimeService.java27 import com.android.internal.util.DumpUtils;
48 if (!DumpUtils.checkDumpAndUsageStatsPermission(mContext, TAG, pw)) { in dump()
DUpdateLockService.java32 import com.android.internal.util.DumpUtils;
117 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
DHardwarePropertiesManagerService.java41 import com.android.internal.util.DumpUtils;
137 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
DCountryDetectorService.java35 import com.android.internal.util.DumpUtils;
246 if (!DumpUtils.checkDumpPermission(mContext, TAG, fout)) return; in dump()
DLooperStatsService.java38 import com.android.internal.util.DumpUtils;
107 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
/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/security/rkp/
DRemoteProvisioningService.java29 import com.android.internal.util.DumpUtils;
107 if (!DumpUtils.checkDumpPermission(getContext(), 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/security/
DAttestationVerificationManagerService.java43 import com.android.internal.util.DumpUtils;
107 if (!DumpUtils.checkDumpAndUsageStatsPermission(getContext(), TAG, writer)) return;
/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/timedetector/
DGnssTimeUpdateService.java40 import com.android.internal.util.DumpUtils;
275 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;
514 DumpUtils.dumpProcessListCsv(pw, procs, sepScreenStates, screenStates, in dumpFilteredProcessesCsvLocked()
931 if (!com.android.internal.util.DumpUtils.checkDumpAndUsageStatsPermission(mAm.mContext,
993 csvScreenStats = parseStateList(DumpUtils.ADJ_SCREEN_NAMES_CSV,
1010 csvMemStats = parseStateList(DumpUtils.ADJ_MEM_NAMES_CSV, 1, args[i],
1027 csvProcStats = parseStateList(DumpUtils.STATE_NAMES_CSV, 1, args[i],
1190 DumpUtils.printScreenLabelCsv(pw, csvScreenStats[i]);
1196 DumpUtils.printMemLabelCsv(pw, csvMemStats[i]);
1202 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;
224 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) { 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()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java40 import com.android.internal.util.DumpUtils;
344 if (!DumpUtils.checkDumpPermission(getContext(), TAG, pw)) return; in dump()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java41 import com.android.internal.util.DumpUtils;
329 if (!DumpUtils.checkDumpPermission(mContext, LOG_TAG, pw)) return; in dump()
/frameworks/base/services/core/java/com/android/server/incident/
DIncidentCompanionService.java39 import com.android.internal.util.DumpUtils;
269 if (!DumpUtils.checkDumpPermission(getContext(), TAG, writer)) { in dump()

123456