/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | IndentingPrintWriterTest.java | 41 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testMultipleIndents() local 43 pw.print("Hello"); in testMultipleIndents() 44 pw.increaseIndent(); in testMultipleIndents() 45 pw.println(); in testMultipleIndents() 46 pw.print("World"); in testMultipleIndents() 47 pw.increaseIndent(); in testMultipleIndents() 48 pw.println(); in testMultipleIndents() 49 pw.print("And"); in testMultipleIndents() 50 pw.decreaseIndent(); in testMultipleIndents() 51 pw.println(); in testMultipleIndents() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessRecord.java | 178 void dump(PrintWriter pw, String prefix) { in dump() argument 181 pw.print(prefix); pw.print("user #"); pw.print(userId); in dump() 182 pw.print(" uid="); pw.print(info.uid); in dump() 184 pw.print(" ISOLATED uid="); pw.print(uid); in dump() 186 pw.println(); in dump() 188 pw.print(prefix); pw.print("class="); pw.println(info.className); in dump() 191 pw.print(prefix); pw.print("manageSpaceActivityName="); in dump() 192 pw.println(info.manageSpaceActivityName); in dump() 194 pw.print(prefix); pw.print("dir="); pw.print(info.sourceDir); in dump() 195 pw.print(" publicDir="); pw.print(info.publicSourceDir); in dump() [all …]
|
D | BroadcastRecord.java | 85 void dump(PrintWriter pw, String prefix) { in dump() argument 88 pw.print(prefix); pw.print(this); pw.print(" to user "); pw.println(userId); in dump() 89 pw.print(prefix); pw.println(intent.toInsecureString()); in dump() 91 pw.print(prefix); pw.print(" targetComp: "); pw.println(targetComp.toShortString()); in dump() 95 pw.print(prefix); pw.print(" extras: "); pw.println(bundle.toString()); in dump() 97 pw.print(prefix); pw.print("caller="); pw.print(callerPackage); pw.print(" "); in dump() 98 pw.print(callerApp != null ? callerApp.toShortString() : "null"); in dump() 99 pw.print(" pid="); pw.print(callingPid); in dump() 100 pw.print(" uid="); pw.println(callingUid); in dump() 102 pw.print(prefix); pw.print("requiredPermission="); pw.print(requiredPermission); in dump() [all …]
|
D | ServiceRecord.java | 169 void dumpStartList(PrintWriter pw, String prefix, List<StartItem> list, long now) { in dumpStartList() argument 173 pw.print(prefix); pw.print("#"); pw.print(i); in dumpStartList() 174 pw.print(" id="); pw.print(si.id); in dumpStartList() 176 pw.print(" dur="); in dumpStartList() 177 TimeUtils.formatDuration(si.deliveredTime, now, pw); in dumpStartList() 180 pw.print(" dc="); pw.print(si.deliveryCount); in dumpStartList() 183 pw.print(" dxc="); pw.print(si.doneExecutingCount); in dumpStartList() 185 pw.println(""); in dumpStartList() 186 pw.print(prefix); pw.print(" intent="); in dumpStartList() 187 if (si.intent != null) pw.println(si.intent.toString()); in dumpStartList() [all …]
|
D | IntentBindRecord.java | 51 void dump(PrintWriter pw, String prefix) { in dump() argument 52 pw.print(prefix); pw.print("service="); pw.println(service); in dump() 53 dumpInService(pw, prefix); in dump() 56 void dumpInService(PrintWriter pw, String prefix) { in dumpInService() argument 57 pw.print(prefix); pw.print("intent={"); in dumpInService() 58 pw.print(intent.getIntent().toShortString(false, true, false, false)); in dumpInService() 59 pw.println('}'); in dumpInService() 60 pw.print(prefix); pw.print("binder="); pw.println(binder); in dumpInService() 61 pw.print(prefix); pw.print("requested="); pw.print(requested); in dumpInService() 62 pw.print(" received="); pw.print(received); in dumpInService() [all …]
|
D | ContentProviderRecord.java | 142 void dump(PrintWriter pw, String prefix, boolean full) { in dump() argument 144 pw.print(prefix); pw.print("package="); in dump() 145 pw.print(info.applicationInfo.packageName); in dump() 146 pw.print(" process="); pw.println(info.processName); in dump() 148 pw.print(prefix); pw.print("proc="); pw.println(proc); in dump() 150 pw.print(prefix); pw.print("launchingApp="); pw.println(launchingApp); in dump() 153 pw.print(prefix); pw.print("uid="); pw.print(uid); in dump() 154 pw.print(" provider="); pw.println(provider); in dump() 157 pw.print(prefix); pw.print("singleton="); pw.println(singleton); in dump() 159 pw.print(prefix); pw.print("authority="); pw.println(info.authority); in dump() [all …]
|
D | ReceiverList.java | 68 void dumpLocal(PrintWriter pw, String prefix) { in dumpLocal() argument 69 pw.print(prefix); pw.print("app="); pw.print(app != null ? app.toShortString() : null); in dumpLocal() 70 pw.print(" pid="); pw.print(pid); pw.print(" uid="); pw.print(uid); in dumpLocal() 71 pw.print(" user="); pw.println(userId); in dumpLocal() 73 pw.print(prefix); pw.print("curBroadcast="); pw.print(curBroadcast); in dumpLocal() 74 pw.print(" linkedToDeath="); pw.println(linkedToDeath); in dumpLocal() 78 void dump(PrintWriter pw, String prefix) { in dump() argument 79 Printer pr = new PrintWriterPrinter(pw); in dump() 80 dumpLocal(pw, prefix); in dump() 85 pw.print(prefix); pw.print("Filter #"); pw.print(i); in dump() [all …]
|
D | ActivityRecord.java | 174 void dump(PrintWriter pw, String prefix) { in dump() argument 176 pw.print(prefix); pw.print("packageName="); pw.print(packageName); in dump() 177 pw.print(" processName="); pw.println(processName); in dump() 178 pw.print(prefix); pw.print("launchedFromUid="); pw.print(launchedFromUid); in dump() 179 pw.print(" launchedFromPackage="); pw.print(launchedFromPackage); in dump() 180 pw.print(" userId="); pw.println(userId); in dump() 181 pw.print(prefix); pw.print("app="); pw.println(app); in dump() 182 pw.print(prefix); pw.println(intent.toInsecureStringWithClip()); in dump() 183 pw.print(prefix); pw.print("frontOfTask="); pw.print(frontOfTask); in dump() 184 pw.print(" task="); pw.println(task); in dump() [all …]
|
D | ProcessStatsService.java | 387 boolean dumpFilteredProcessesCsvLocked(PrintWriter pw, String header, in dumpFilteredProcessesCsvLocked() argument 394 pw.println(header); in dumpFilteredProcessesCsvLocked() 396 ProcessStats.dumpProcessListCsv(pw, procs, sepScreenStates, screenStates, in dumpFilteredProcessesCsvLocked() 554 private void dumpAggregatedStats(PrintWriter pw, long aggregateHours, long now, 560 pw.println("Unable to build stats!"); 567 pw.print("Failure reading: "); pw.println(stats.mReadError); 571 stats.dumpCheckinLocked(pw, reqPackage); 574 stats.dumpLocked(pw, reqPackage, now, !dumpFullDetails, dumpAll, activeOnly); 576 stats.dumpSummaryLocked(pw, reqPackage, now, activeOnly); 581 static private void dumpHelp(PrintWriter pw) { [all …]
|
D | UserStartedState.java | 47 void dump(String prefix, PrintWriter pw) { in dump() argument 48 pw.print(prefix); pw.print("mState="); in dump() 50 case STATE_BOOTING: pw.print("BOOTING"); break; in dump() 51 case STATE_RUNNING: pw.print("RUNNING"); break; in dump() 52 case STATE_STOPPING: pw.print("STOPPING"); break; in dump() 53 case STATE_SHUTDOWN: pw.print("SHUTDOWN"); break; in dump() 54 default: pw.print(mState); break; in dump() 56 if (switching) pw.print(" SWITCHING"); in dump() 57 if (initializing) pw.print(" INITIALIZING"); in dump() 58 pw.println(); in dump()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppWindowToken.java | 265 void dump(PrintWriter pw, String prefix) { in dump() argument 266 super.dump(pw, prefix); in dump() 268 pw.print(prefix); pw.print("app=true voiceInteraction="); pw.println(voiceInteraction); in dump() 271 pw.print(prefix); pw.print("allAppWindows="); pw.println(allAppWindows); in dump() 273 pw.print(prefix); pw.print("groupId="); pw.print(groupId); in dump() 274 pw.print(" appFullscreen="); pw.print(appFullscreen); in dump() 275 pw.print(" requestedOrientation="); pw.println(requestedOrientation); in dump() 276 pw.print(prefix); pw.print("hiddenRequested="); pw.print(hiddenRequested); in dump() 277 pw.print(" clientHidden="); pw.print(clientHidden); in dump() 278 pw.print(" willBeHidden="); pw.print(willBeHidden); in dump() [all …]
|
D | WindowState.java | 502 final int pw = mContainingFrame.width(); in computeFrameLw() local 508 w = pw; in computeFrameLw() 523 w = pw; in computeFrameLw() 572 (int) (x + mAttrs.horizontalMargin * pw), in computeFrameLw() 644 + mRequestedHeight + ") to" + " (pw=" + pw + ", ph=" + ph in computeFrameLw() 1436 void dump(PrintWriter pw, String prefix, boolean dumpAll) { in dump() argument 1437 pw.print(prefix); pw.print("mDisplayId="); pw.print(getDisplayId()); in dump() 1438 pw.print(" mSession="); pw.print(mSession); in dump() 1439 pw.print(" mClient="); pw.println(mClient.asBinder()); in dump() 1440 pw.print(prefix); pw.print("mOwnerUid="); pw.print(mOwnerUid); in dump() [all …]
|
D | DisplayContent.java | 348 public void dump(String prefix, PrintWriter pw) { in dump() argument 349 pw.print(prefix); pw.print("Display: mDisplayId="); pw.println(mDisplayId); in dump() 351 pw.print(subPrefix); pw.print("init="); pw.print(mInitialDisplayWidth); pw.print("x"); in dump() 352 pw.print(mInitialDisplayHeight); pw.print(" "); pw.print(mInitialDisplayDensity); in dump() 353 pw.print("dpi"); in dump() 357 pw.print(" base="); in dump() 358 pw.print(mBaseDisplayWidth); pw.print("x"); pw.print(mBaseDisplayHeight); in dump() 359 pw.print(" "); pw.print(mBaseDisplayDensity); pw.print("dpi"); in dump() 361 pw.print(" cur="); in dump() 362 pw.print(mDisplayInfo.logicalWidth); in dump() [all …]
|
D | WindowToken.java | 80 void dump(PrintWriter pw, String prefix) { in dump() argument 81 pw.print(prefix); pw.print("windows="); pw.println(windows); in dump() 82 pw.print(prefix); pw.print("windowType="); pw.print(windowType); in dump() 83 pw.print(" hidden="); pw.print(hidden); in dump() 84 pw.print(" hasVisible="); pw.println(hasVisible); in dump() 86 pw.print(prefix); pw.print("waitingToShow="); pw.print(waitingToShow); in dump() 87 pw.print(" waitingToHide="); pw.print(waitingToHide); in dump() 88 pw.print(" sendingToBottom="); pw.print(sendingToBottom); in dump()
|
D | ScreenRotationAnimation.java | 134 public void printTo(String prefix, PrintWriter pw) { in printTo() argument 135 pw.print(prefix); pw.print("mSurface="); pw.print(mSurfaceControl); in printTo() 136 pw.print(" mWidth="); pw.print(mWidth); in printTo() 137 pw.print(" mHeight="); pw.println(mHeight); in printTo() 139 pw.print(prefix); pw.print("mCustomBlackFrame="); pw.println(mCustomBlackFrame); in printTo() 141 mCustomBlackFrame.printTo(prefix + " ", pw); in printTo() 144 pw.print(prefix); pw.print("mExitingBlackFrame="); pw.println(mExitingBlackFrame); in printTo() 146 mExitingBlackFrame.printTo(prefix + " ", pw); in printTo() 148 pw.print(prefix); pw.print("mEnteringBlackFrame="); pw.println(mEnteringBlackFrame); in printTo() 150 mEnteringBlackFrame.printTo(prefix + " ", pw); in printTo() [all …]
|
D | AppWindowAnimator.java | 352 void dump(PrintWriter pw, String prefix, boolean dumpAll) { in dump() argument 353 pw.print(prefix); pw.print("mAppToken="); pw.println(mAppToken); in dump() 354 pw.print(prefix); pw.print("mAnimator="); pw.println(mAnimator); in dump() 355 pw.print(prefix); pw.print("freezingScreen="); pw.print(freezingScreen); in dump() 356 pw.print(" allDrawn="); pw.print(allDrawn); in dump() 357 pw.print(" animLayerAdjustment="); pw.println(animLayerAdjustment); in dump() 359 pw.print(prefix); pw.print("lastFreezeDuration="); in dump() 360 TimeUtils.formatDuration(lastFreezeDuration, pw); pw.println(); in dump() 363 pw.print(prefix); pw.print("animating="); pw.println(animating); in dump() 364 pw.print(prefix); pw.print("animation="); pw.println(animation); in dump() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DebugService.java | 45 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument 53 pw.println("Telephony DebugService: Could not getDefaultPhone e=" + e); in dump() 59 pw.println("Telephony DebugService: Could not PhoneBase e=" + e); in dump() 67 pw.println(); in dump() 68 pw.println("++++++++++++++++++++++++++++++++"); in dump() 69 pw.flush(); in dump() 71 phoneBase.dump(fd, pw, args); in dump() 75 pw.flush(); in dump() 76 pw.println("++++++++++++++++++++++++++++++++"); in dump() 78 phoneBase.mDcTracker.dump(fd, pw, args); in dump() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ProcessStats.java | 418 private static void printScreenLabel(PrintWriter pw, int offset) { in printScreenLabel() argument 421 pw.print(" "); in printScreenLabel() 424 pw.print("SOff/"); in printScreenLabel() 427 pw.print("SOn /"); in printScreenLabel() 430 pw.print("????/"); in printScreenLabel() 435 public static void printScreenLabelCsv(PrintWriter pw, int offset) { in printScreenLabelCsv() argument 440 pw.print(ADJ_SCREEN_NAMES_CSV[0]); in printScreenLabelCsv() 443 pw.print(ADJ_SCREEN_NAMES_CSV[1]); in printScreenLabelCsv() 446 pw.print("???"); in printScreenLabelCsv() 451 private static void printMemLabel(PrintWriter pw, int offset, char sep) { in printMemLabel() argument [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 225 public abstract void logState(Printer pw, String prefix); in logState() argument 244 public abstract void logState(Printer pw, String prefix); in logState() argument 273 public abstract void logState(Printer pw, String prefix); in logState() argument 1833 private static final void dumpLine(PrintWriter pw, int uid, String category, String type, in dumpLine() argument 1835 pw.print(BATTERY_STATS_CHECKIN_VERSION); pw.print(','); in dumpLine() 1836 pw.print(uid); pw.print(','); in dumpLine() 1837 pw.print(category); pw.print(','); in dumpLine() 1838 pw.print(type); in dumpLine() 1841 pw.print(','); in dumpLine() 1842 pw.print(arg); in dumpLine() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | DiskStatsService.java | 45 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument 70 pw.print("Test-Error: "); in dump() 71 pw.println(error.toString()); in dump() 73 pw.print("Latency: "); in dump() 74 pw.print(after - before); in dump() 75 pw.println("ms [512B Data Write]"); in dump() 78 reportFreeSpace(Environment.getDataDirectory(), "Data", pw); in dump() local 79 reportFreeSpace(Environment.getDownloadCacheDirectory(), "Cache", pw); in dump() local 80 reportFreeSpace(new File("/system"), "System", pw); in dump() 86 private void reportFreeSpace(File path, String name, PrintWriter pw) { in reportFreeSpace() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeParameters.java | 46 public void dump(PrintWriter pw) { in dump() argument 47 pw.println(" DozeParameters:"); in dump() 48 pw.print(" getDisplayStateSupported(): "); pw.println(getDisplayStateSupported()); in dump() 49 pw.print(" getPulseDuration(): "); pw.println(getPulseDuration()); in dump() 50 pw.print(" getPulseInDuration(): "); pw.println(getPulseInDuration()); in dump() 51 pw.print(" getPulseInVisibleDuration(): "); pw.println(getPulseVisibleDuration()); in dump() 52 pw.print(" getPulseOutDuration(): "); pw.println(getPulseOutDuration()); in dump() 53 pw.print(" getPulseOnSigMotion(): "); pw.println(getPulseOnSigMotion()); in dump() 54 pw.print(" getVibrateOnSigMotion(): "); pw.println(getVibrateOnSigMotion()); in dump() 55 pw.print(" getPulseOnPickup(): "); pw.println(getPulseOnPickup()); in dump() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 100 void dump(PrintWriter pw, String prefix, Context baseContext) { in dump() argument 102 pw.println(prefix + this); in dump() 103 pw.println(prefix + " uid=" + sbn.getUid() + " userId=" + sbn.getUserId()); in dump() 104 pw.println(prefix + " icon=0x" + Integer.toHexString(notification.icon) in dump() 106 pw.println(prefix + " pri=" + notification.priority + " score=" + sbn.getScore()); in dump() 107 pw.println(prefix + " key=" + sbn.getKey()); in dump() 108 pw.println(prefix + " groupKey=" + getGroupKey()); in dump() 109 pw.println(prefix + " contentIntent=" + notification.contentIntent); in dump() 110 pw.println(prefix + " deleteIntent=" + notification.deleteIntent); in dump() 111 pw.println(prefix + " tickerText=" + notification.tickerText); in dump() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeLog.java | 146 public static void dump(PrintWriter pw) { in dump() argument 149 pw.println(" Doze log:"); in dump() 153 pw.print(" "); in dump() 154 pw.print(FORMAT.format(new Date(sTimes[j]))); in dump() 155 pw.print(' '); in dump() 156 pw.println(sMessages[j]); in dump() 158 pw.print(" Doze summary stats (for "); in dump() 159 TimeUtils.formatDuration(System.currentTimeMillis() - sSince, pw); in dump() local 160 pw.println("):"); in dump() 161 sPickupPulseNearVibrationStats.dump(pw, "Pickup pulse (near vibration)"); in dump() [all …]
|
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/ |
D | IndentingPrintWriterBenchmark.java | 114 private void dumpSelf(PrintWriter pw) { in dumpSelf() argument 115 pw.print("Node "); in dumpSelf() 116 pw.print(name); in dumpSelf() 117 pw.print(" first "); in dumpSelf() 118 pw.print(512); in dumpSelf() 119 pw.print(" second "); in dumpSelf() 120 pw.print(1024); in dumpSelf() 121 pw.print(" third "); in dumpSelf() 122 pw.println(2048); in dumpSelf() 125 public void dumpDirect(PrintWriter pw, int depth) { in dumpDirect() argument [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerServiceImpl.java | 176 public void dump(String prefix, PrintWriter pw) { in dump() argument 177 pw.print(prefix); pw.print("mToken="); pw.println(mToken); in dump() 178 pw.print(prefix); pw.print("mArgs="); pw.println(mArgs); in dump() 179 pw.print(prefix); pw.print("mBound="); pw.println(mBound); in dump() 181 pw.print(prefix); pw.print("mService="); pw.println(mService); in dump() 182 pw.print(prefix); pw.print("mSession="); pw.println(mSession); in dump() 183 pw.print(prefix); pw.print("mInteractor="); pw.println(mInteractor); in dump() 272 public void dumpLocked(FileDescriptor fd, PrintWriter pw, String[] args) { in dumpLocked() argument 274 pw.print(" NOT VALID: "); in dumpLocked() 276 pw.println("no info"); in dumpLocked() [all …]
|