/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; 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/ |
D | UidState.java | 286 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()
|
D | ProcessState.java | 943 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 …]
|
D | AssociationState.java | 470 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 …]
|
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 | SysMemUsageTable.java | 154 DumpUtils.printScreenLabel(pw, printedScreen != iscreen in dump() 159 DumpUtils.printMemLabel(pw, in dump()
|
D | DumpUtils.java | 60 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/ |
D | DumpUtils.java | 41 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/ |
D | RuntimeService.java | 27 import com.android.internal.util.DumpUtils; 48 if (!DumpUtils.checkDumpAndUsageStatsPermission(mContext, TAG, pw)) { in dump()
|
D | UpdateLockService.java | 32 import com.android.internal.util.DumpUtils; 117 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
|
D | HardwarePropertiesManagerService.java | 41 import com.android.internal.util.DumpUtils; 137 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
|
D | CountryDetectorService.java | 35 import com.android.internal.util.DumpUtils; 246 if (!DumpUtils.checkDumpPermission(mContext, TAG, fout)) return; in dump()
|
D | LooperStatsService.java | 38 import com.android.internal.util.DumpUtils; 107 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) return; in dump()
|
/frameworks/base/apex/jobscheduler/service/ |
D | jarjar-rules.txt | 10 rule com.android.internal.util.DumpUtils* com.android.internal.util.jobs.DumpUtils@1
|
/frameworks/base/services/core/java/com/android/server/security/rkp/ |
D | RemoteProvisioningService.java | 29 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/ |
D | DumpUtils.java | 24 public class DumpUtils { class
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | AttestationVerificationManagerService.java | 43 import com.android.internal.util.DumpUtils; 107 if (!DumpUtils.checkDumpAndUsageStatsPermission(getContext(), TAG, writer)) return;
|
/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/core/java/com/android/server/timedetector/ |
D | GnssTimeUpdateService.java | 40 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/ |
D | ProcessStatsService.java | 37 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/ |
D | RotationResolverManagerService.java | 50 import com.android.internal.util.DumpUtils; 224 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) { in dump()
|
/frameworks/base/services/core/java/com/android/server/emergency/ |
D | EmergencyAffordanceService.java | 36 import com.android.internal.util.DumpUtils; 298 if (!DumpUtils.checkDumpPermission(mContext, TAG, pw)) { in dump()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateService.java | 40 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/ |
D | UiAutomationManager.java | 41 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/ |
D | IncidentCompanionService.java | 39 import com.android.internal.util.DumpUtils; 269 if (!DumpUtils.checkDumpPermission(getContext(), TAG, writer)) { in dump()
|