Home
last modified time | relevance | path

Searched refs:pw (Results 1 – 25 of 211) sorted by relevance

123456789

/frameworks/base/services/java/com/android/server/am/
DProcessRecord.java161 void dump(PrintWriter pw, String prefix) { in dump() argument
164 pw.print(prefix); pw.print("user #"); pw.print(userId); in dump()
165 pw.print(" uid="); pw.print(info.uid); in dump()
167 pw.print(" ISOLATED uid="); pw.print(uid); in dump()
169 pw.println(); in dump()
171 pw.print(prefix); pw.print("class="); pw.println(info.className); in dump()
174 pw.print(prefix); pw.print("manageSpaceActivityName="); in dump()
175 pw.println(info.manageSpaceActivityName); in dump()
177 pw.print(prefix); pw.print("dir="); pw.print(info.sourceDir); in dump()
178 pw.print(" publicDir="); pw.print(info.publicSourceDir); in dump()
[all …]
DBroadcastRecord.java83 void dump(PrintWriter pw, String prefix) { in dump() argument
86 pw.print(prefix); pw.print(this); pw.print(" to user "); pw.println(userId); in dump()
87 pw.print(prefix); pw.println(intent.toInsecureString()); in dump()
89 pw.print(prefix); pw.print(" targetComp: "); pw.println(targetComp.toShortString()); in dump()
93 pw.print(prefix); pw.print(" extras: "); pw.println(bundle.toString()); in dump()
95 pw.print(prefix); pw.print("caller="); pw.print(callerPackage); pw.print(" "); in dump()
96 pw.print(callerApp != null ? callerApp.toShortString() : "null"); in dump()
97 pw.print(" pid="); pw.print(callingPid); in dump()
98 pw.print(" uid="); pw.println(callingUid); in dump()
100 pw.print(prefix); pw.print("requiredPermission="); pw.print(requiredPermission); in dump()
[all …]
DServiceRecord.java164 void dumpStartList(PrintWriter pw, String prefix, List<StartItem> list, long now) { in dumpStartList() argument
168 pw.print(prefix); pw.print("#"); pw.print(i); in dumpStartList()
169 pw.print(" id="); pw.print(si.id); in dumpStartList()
171 pw.print(" dur="); in dumpStartList()
172 TimeUtils.formatDuration(si.deliveredTime, now, pw); in dumpStartList()
175 pw.print(" dc="); pw.print(si.deliveryCount); in dumpStartList()
178 pw.print(" dxc="); pw.print(si.doneExecutingCount); in dumpStartList()
180 pw.println(""); in dumpStartList()
181 pw.print(prefix); pw.print(" intent="); in dumpStartList()
182 if (si.intent != null) pw.println(si.intent.toString()); in dumpStartList()
[all …]
DActivityRecord.java134 void dump(PrintWriter pw, String prefix) { in dump() argument
136 pw.print(prefix); pw.print("packageName="); pw.print(packageName); in dump()
137 pw.print(" processName="); pw.println(processName); in dump()
138 pw.print(prefix); pw.print("launchedFromUid="); pw.print(launchedFromUid); in dump()
139 pw.print(" launchedFromPackage="); pw.println(launchedFromPackage); in dump()
140 pw.print(" userId="); pw.println(userId); in dump()
141 pw.print(prefix); pw.print("app="); pw.println(app); in dump()
142 pw.print(prefix); pw.println(intent.toInsecureStringWithClip()); in dump()
143 pw.print(prefix); pw.print("frontOfTask="); pw.print(frontOfTask); in dump()
144 pw.print(" task="); pw.println(task); in dump()
[all …]
DIntentBindRecord.java51 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 …]
DContentProviderRecord.java143 void dump(PrintWriter pw, String prefix, boolean full) { in dump() argument
145 pw.print(prefix); pw.print("package="); in dump()
146 pw.print(info.applicationInfo.packageName); in dump()
147 pw.print(" process="); pw.println(info.processName); in dump()
149 pw.print(prefix); pw.print("proc="); pw.println(proc); in dump()
151 pw.print(prefix); pw.print("launchingApp="); pw.println(launchingApp); in dump()
154 pw.print(prefix); pw.print("uid="); pw.print(uid); in dump()
155 pw.print(" provider="); pw.println(provider); in dump()
158 pw.print(prefix); pw.print("singleton="); pw.println(singleton); in dump()
160 pw.print(prefix); pw.print("authority="); pw.println(info.authority); in dump()
[all …]
DTaskRecord.java108 void dump(PrintWriter pw, String prefix) { in dump() argument
110 pw.print(prefix); pw.print("numActivities="); pw.print(numActivities); in dump()
111 pw.print(" rootWasReset="); pw.print(rootWasReset); in dump()
112 pw.print(" userId="); pw.println(userId); in dump()
115 pw.print(prefix); pw.print("affinity="); pw.println(affinity); in dump()
122 pw.println(sb.toString()); in dump()
129 pw.println(sb.toString()); in dump()
132 pw.print(prefix); pw.print("origActivity="); in dump()
133 pw.println(origActivity.flattenToShortString()); in dump()
136 pw.print(prefix); pw.print("realActivity="); in dump()
[all …]
DReceiverList.java71 void dumpLocal(PrintWriter pw, String prefix) { in dumpLocal() argument
72 pw.print(prefix); pw.print("app="); pw.print(app.toShortString()); in dumpLocal()
73 pw.print(" pid="); pw.print(pid); pw.print(" uid="); pw.print(uid); in dumpLocal()
74 pw.print(" user="); pw.println(userId); in dumpLocal()
76 pw.print(prefix); pw.print("curBroadcast="); pw.print(curBroadcast); in dumpLocal()
77 pw.print(" linkedToDeath="); pw.println(linkedToDeath); in dumpLocal()
81 void dump(PrintWriter pw, String prefix) { in dump() argument
82 Printer pr = new PrintWriterPrinter(pw); in dump()
83 dumpLocal(pw, prefix); in dump()
88 pw.print(prefix); pw.print("Filter #"); pw.print(i); in dump()
[all …]
DUriPermission.java84 void dump(PrintWriter pw, String prefix) { in dump() argument
85 pw.print(prefix); pw.print("modeFlags=0x"); in dump()
86 pw.print(Integer.toHexString(modeFlags)); in dump()
87 pw.print(" uid="); pw.print(uid); in dump()
88 pw.print(" globalModeFlags=0x"); in dump()
89 pw.println(Integer.toHexString(globalModeFlags)); in dump()
91 pw.print(prefix); pw.println("readOwners:"); in dump()
93 pw.print(prefix); pw.print(" * "); pw.println(owner); in dump()
97 pw.print(prefix); pw.println("writeOwners:"); in dump()
99 pw.print(prefix); pw.print(" * "); pw.println(owner); in dump()
DUserStartedState.java47 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()
DBroadcastFilter.java43 public void dump(PrintWriter pw, String prefix) { in dump() argument
44 dumpInReceiverList(pw, new PrintWriterPrinter(pw), prefix); in dump()
45 receiverList.dumpLocal(pw, prefix); in dump()
48 public void dumpBrief(PrintWriter pw, String prefix) { in dumpBrief() argument
49 dumpBroadcastFilterState(pw, prefix); in dumpBrief()
52 public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { in dumpInReceiverList() argument
54 dumpBroadcastFilterState(pw, prefix); in dumpInReceiverList()
57 void dumpBroadcastFilterState(PrintWriter pw, String prefix) { in dumpBroadcastFilterState() argument
59 pw.print(prefix); pw.print("requiredPermission="); pw.println(requiredPermission); in dumpBroadcastFilterState()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DIndentingPrintWriterTest.java41 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/java/com/android/server/wm/
DDisplayContent.java99 public void dump(String prefix, PrintWriter pw) { in dump() argument
100 pw.print(prefix); pw.print("Display: mDisplayId="); pw.println(mDisplayId); in dump()
102 pw.print(subPrefix); pw.print("init="); pw.print(mInitialDisplayWidth); pw.print("x"); in dump()
103 pw.print(mInitialDisplayHeight); pw.print(" "); pw.print(mInitialDisplayDensity); in dump()
104 pw.print("dpi"); in dump()
108 pw.print(" base="); in dump()
109 pw.print(mBaseDisplayWidth); pw.print("x"); pw.print(mBaseDisplayHeight); in dump()
110 pw.print(" "); pw.print(mBaseDisplayDensity); pw.print("dpi"); in dump()
112 pw.print(" cur="); in dump()
113 pw.print(mDisplayInfo.logicalWidth); in dump()
[all …]
DWindowState.java443 final int pw = container.right - container.left; in computeFrameLw() local
449 w = pw; in computeFrameLw()
464 w = pw; in computeFrameLw()
517 (int) (x + mAttrs.horizontalMargin * pw), in computeFrameLw()
579 + mRequestedHeight + ") to" + " (pw=" + pw + ", ph=" + ph in computeFrameLw()
1257 void dump(PrintWriter pw, String prefix, boolean dumpAll) {
1258 pw.print(prefix); pw.print("mDisplayId="); pw.print(mDisplayContent.getDisplayId());
1259 pw.print(" mSession="); pw.print(mSession);
1260 pw.print(" mClient="); pw.println(mClient.asBinder());
1261 pw.print(prefix); pw.print("mOwnerUid="); pw.print(mOwnerUid);
[all …]
DAppWindowToken.java242 void dump(PrintWriter pw, String prefix) { in dump() argument
243 super.dump(pw, prefix); in dump()
245 pw.print(prefix); pw.println("app=true"); in dump()
248 pw.print(prefix); pw.print("allAppWindows="); pw.println(allAppWindows); in dump()
250 pw.print(prefix); pw.print("groupId="); pw.print(groupId); in dump()
251 pw.print(" appFullscreen="); pw.print(appFullscreen); in dump()
252 pw.print(" requestedOrientation="); pw.println(requestedOrientation); in dump()
253 pw.print(prefix); pw.print("hiddenRequested="); pw.print(hiddenRequested); in dump()
254 pw.print(" clientHidden="); pw.print(clientHidden); in dump()
255 pw.print(" willBeHidden="); pw.print(willBeHidden); in dump()
[all …]
DWindowToken.java81 void dump(PrintWriter pw, String prefix) { in dump() argument
82 pw.print(prefix); pw.print("windows="); pw.println(windows); in dump()
83 pw.print(prefix); pw.print("windowType="); pw.print(windowType); in dump()
84 pw.print(" hidden="); pw.print(hidden); in dump()
85 pw.print(" hasVisible="); pw.println(hasVisible); in dump()
87 pw.print(prefix); pw.print("waitingToShow="); pw.print(waitingToShow); in dump()
88 pw.print(" waitingToHide="); pw.print(waitingToHide); in dump()
89 pw.print(" sendingToBottom="); pw.print(sendingToBottom); in dump()
DAppWindowAnimator.java290 void dump(PrintWriter pw, String prefix, boolean dumpAll) { in dump() argument
291 pw.print(prefix); pw.print("mAppToken="); pw.println(mAppToken); in dump()
292 pw.print(prefix); pw.print("mAnimator="); pw.println(mAnimator); in dump()
293 pw.print(prefix); pw.print("freezingScreen="); pw.print(freezingScreen); in dump()
294 pw.print(" allDrawn="); pw.print(allDrawn); in dump()
295 pw.print(" animLayerAdjustment="); pw.println(animLayerAdjustment); in dump()
297 pw.print(prefix); pw.print("lastFreezeDuration="); in dump()
298 TimeUtils.formatDuration(lastFreezeDuration, pw); pw.println(); in dump()
301 pw.print(prefix); pw.print("animating="); pw.println(animating); in dump()
302 pw.print(prefix); pw.print("animation="); pw.println(animation); in dump()
[all …]
DScreenRotationAnimation.java129 public void printTo(String prefix, PrintWriter pw) { in printTo() argument
130 pw.print(prefix); pw.print("mSurface="); pw.print(mSurfaceControl); in printTo()
131 pw.print(" mWidth="); pw.print(mWidth); in printTo()
132 pw.print(" mHeight="); pw.println(mHeight); in printTo()
134 pw.print(prefix); pw.print("mCustomBlackFrame="); pw.println(mCustomBlackFrame); in printTo()
136 mCustomBlackFrame.printTo(prefix + " ", pw); in printTo()
139 pw.print(prefix); pw.print("mExitingBlackFrame="); pw.println(mExitingBlackFrame); in printTo()
141 mExitingBlackFrame.printTo(prefix + " ", pw); in printTo()
143 pw.print(prefix); pw.print("mEnteringBlackFrame="); pw.println(mEnteringBlackFrame); in printTo()
145 mEnteringBlackFrame.printTo(prefix + " ", pw); in printTo()
[all …]
DDimLayer.java257 public void printTo(String prefix, PrintWriter pw) { in printTo() argument
258 pw.print(prefix); pw.print("mDimSurface="); pw.println(mDimSurface); in printTo()
259 pw.print(prefix); pw.print(" mLayer="); pw.print(mLayer); in printTo()
260 pw.print(" mAlpha="); pw.println(mAlpha); in printTo()
261 pw.print(prefix); pw.print("mLastDimWidth="); pw.print(mLastDimWidth); in printTo()
262 pw.print(" mLastDimWidth="); pw.println(mLastDimWidth); in printTo()
263 pw.print(prefix); pw.print("Last animation: mStartTime="); pw.print(mStartTime); in printTo()
264 pw.print(" mDuration="); pw.print(mDuration); in printTo()
265 pw.print(" curTime="); pw.println(SystemClock.uptimeMillis()); in printTo()
266 pw.print(" mStartAlpha="); pw.println(mStartAlpha); in printTo()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDebugService.java45 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/services/java/com/android/server/
DDiskStatsService.java46 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument
71 pw.print("Test-Error: "); in dump()
72 pw.println(error.toString()); in dump()
74 pw.print("Latency: "); in dump()
75 pw.print(after - before); in dump()
76 pw.println("ms [512B Data Write]"); in dump()
79 reportFreeSpace(Environment.getDataDirectory(), "Data", pw); in dump() local
80 reportFreeSpace(Environment.getDownloadCacheDirectory(), "Cache", pw); in dump() local
81 reportFreeSpace(new File("/system"), "System", pw); in dump()
87 private void reportFreeSpace(File path, String name, PrintWriter pw) { in reportFreeSpace() argument
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java175 public abstract void logState(Printer pw, String prefix); in logState() argument
204 public abstract void logState(Printer pw, String prefix); in logState() argument
1192 private static final void dumpLine(PrintWriter pw, int uid, String category, String type, in dumpLine() argument
1194 pw.print(BATTERY_STATS_CHECKIN_VERSION); pw.print(','); in dumpLine()
1195 pw.print(uid); pw.print(','); in dumpLine()
1196 pw.print(category); pw.print(','); in dumpLine()
1197 pw.print(type); in dumpLine()
1200 pw.print(','); in dumpLine()
1201 pw.print(arg); in dumpLine()
1203 pw.print('\n'); in dumpLine()
[all …]
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/
DIndentingPrintWriterBenchmark.java114 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java1378 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument
1379 pw.println("NetworkController state:"); in dump()
1380 pw.println(String.format(" %s network type %d (%s)", in dump()
1383 pw.println(" - telephony ------"); in dump()
1384 pw.print(" hasVoiceCallingFeature()="); in dump()
1385 pw.println(hasVoiceCallingFeature()); in dump()
1386 pw.print(" hasService()="); in dump()
1387 pw.println(hasService()); in dump()
1388 pw.print(" mHspaDataDistinguishable="); in dump()
1389 pw.println(mHspaDataDistinguishable); in dump()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java507 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument
508 pw.println("IccRecords: " + this); in dump()
509 pw.println(" mDestroyed=" + mDestroyed); in dump()
510 pw.println(" mCi=" + mCi); in dump()
511 pw.println(" mFh=" + mFh); in dump()
512 pw.println(" mParentApp=" + mParentApp); in dump()
513 pw.println(" recordsLoadedRegistrants: size=" + mRecordsLoadedRegistrants.size()); in dump()
515 pw.println(" recordsLoadedRegistrants[" + i + "]=" in dump()
518 pw.println(" mImsiReadyRegistrants: size=" + mImsiReadyRegistrants.size()); in dump()
520 pw.println(" mImsiReadyRegistrants[" + i + "]=" in dump()
[all …]

123456789