Home
last modified time | relevance | path

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

12345678910>>...18

/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java48 PrintWriter pw = getOutPrintWriter(); in onCommand() local
52 return runForceStop(pw); in onCommand()
54 return runKill(pw); in onCommand()
56 return runKillAll(pw); in onCommand()
58 return runWrite(pw); in onCommand()
60 return runTrackAssociations(pw); in onCommand()
62 return runUntrackAssociations(pw); in onCommand()
64 return runIsUserStopped(pw); in onCommand()
66 return runLenientBackgroundCheck(pw); in onCommand()
68 return getUidState(pw); in onCommand()
[all …]
DProcessRecord.java207 void dump(PrintWriter pw, String prefix) { in dump() argument
210 pw.print(prefix); pw.print("user #"); pw.print(userId); in dump()
211 pw.print(" uid="); pw.print(info.uid); in dump()
213 pw.print(" ISOLATED uid="); pw.print(uid); in dump()
215 pw.print(" gids={"); in dump()
218 if (gi != 0) pw.print(", "); in dump()
219 pw.print(gids[gi]); in dump()
223 pw.println("}"); in dump()
224 pw.print(prefix); pw.print("requiredAbi="); pw.print(requiredAbi); in dump()
225 pw.print(" instructionSet="); pw.println(instructionSet); in dump()
[all …]
DBroadcastRecord.java100 void dump(PrintWriter pw, String prefix, SimpleDateFormat sdf) { in dump() argument
103 pw.print(prefix); pw.print(this); pw.print(" to user "); pw.println(userId); in dump()
104 pw.print(prefix); pw.println(intent.toInsecureString()); in dump()
106 pw.print(prefix); pw.print(" targetComp: "); pw.println(targetComp.toShortString()); in dump()
110 pw.print(prefix); pw.print(" extras: "); pw.println(bundle.toString()); in dump()
112 pw.print(prefix); pw.print("caller="); pw.print(callerPackage); pw.print(" "); in dump()
113 pw.print(callerApp != null ? callerApp.toShortString() : "null"); in dump()
114 pw.print(" pid="); pw.print(callingPid); in dump()
115 pw.print(" uid="); pw.println(callingUid); in dump()
118 pw.print(prefix); pw.print("requiredPermissions="); in dump()
[all …]
DServiceRecord.java177 void dumpStartList(PrintWriter pw, String prefix, List<StartItem> list, long now) { in dumpStartList() argument
181 pw.print(prefix); pw.print("#"); pw.print(i); in dumpStartList()
182 pw.print(" id="); pw.print(si.id); in dumpStartList()
184 pw.print(" dur="); in dumpStartList()
185 TimeUtils.formatDuration(si.deliveredTime, now, pw); in dumpStartList()
188 pw.print(" dc="); pw.print(si.deliveryCount); in dumpStartList()
191 pw.print(" dxc="); pw.print(si.doneExecutingCount); in dumpStartList()
193 pw.println(""); in dumpStartList()
194 pw.print(prefix); pw.print(" intent="); in dumpStartList()
195 if (si.intent != null) pw.println(si.intent.toString()); in dumpStartList()
[all …]
DBroadcastStats.java90 public boolean dumpStats(PrintWriter pw, String prefix, String dumpPackage) { in dumpStats() argument
103 pw.print(prefix); in dumpStats()
104 pw.print(ae.mAction); in dumpStats()
105 pw.println(":"); in dumpStats()
106 pw.print(prefix); in dumpStats()
107 pw.print(" Number received: "); in dumpStats()
108 pw.print(ae.mReceiveCount); in dumpStats()
109 pw.print(", skipped: "); in dumpStats()
110 pw.println(ae.mSkipCount); in dumpStats()
111 pw.print(prefix); in dumpStats()
[all …]
DContentProviderRecord.java146 void dump(PrintWriter pw, String prefix, boolean full) { in dump() argument
148 pw.print(prefix); pw.print("package="); in dump()
149 pw.print(info.applicationInfo.packageName); in dump()
150 pw.print(" process="); pw.println(info.processName); in dump()
152 pw.print(prefix); pw.print("proc="); pw.println(proc); in dump()
154 pw.print(prefix); pw.print("launchingApp="); pw.println(launchingApp); in dump()
157 pw.print(prefix); pw.print("uid="); pw.print(uid); in dump()
158 pw.print(" provider="); pw.println(provider); in dump()
161 pw.print(prefix); pw.print("singleton="); pw.println(singleton); in dump()
163 pw.print(prefix); pw.print("authority="); pw.println(info.authority); 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 …]
DProcessStatsService.java377 boolean dumpFilteredProcessesCsvLocked(PrintWriter pw, String header, in dumpFilteredProcessesCsvLocked() argument
384 pw.println(header); in dumpFilteredProcessesCsvLocked()
386 DumpUtils.dumpProcessListCsv(pw, procs, sepScreenStates, screenStates, in dumpFilteredProcessesCsvLocked()
544 private void dumpAggregatedStats(PrintWriter pw, long aggregateHours, long now,
550 pw.println("Unable to build stats!");
557 pw.print("Failure reading: "); pw.println(stats.mReadError);
561 stats.dumpCheckinLocked(pw, reqPackage);
564 stats.dumpLocked(pw, reqPackage, now, !dumpFullDetails, dumpAll, activeOnly);
566 stats.dumpSummaryLocked(pw, reqPackage, now, activeOnly);
571 static private void dumpHelp(PrintWriter pw) {
[all …]
DAppTimeTracker.java97 public void dumpWithHeader(PrintWriter pw, String prefix, boolean details) { in dumpWithHeader() argument
98 pw.print(prefix); pw.print("AppTimeTracker #"); in dumpWithHeader()
99 pw.print(Integer.toHexString(System.identityHashCode(this))); in dumpWithHeader()
100 pw.println(":"); in dumpWithHeader()
101 dump(pw, prefix + " ", details); in dumpWithHeader()
104 public void dump(PrintWriter pw, String prefix, boolean details) { in dump() argument
105 pw.print(prefix); pw.print("mReceiver="); pw.println(mReceiver); in dump()
106 pw.print(prefix); pw.print("mTotalTime="); in dump()
107 TimeUtils.formatDuration(mTotalTime, pw); in dump()
108 pw.println(); in dump()
[all …]
DReceiverList.java68 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 …]
DActivityRecord.java245 void dump(PrintWriter pw, String prefix) { in dump() argument
247 pw.print(prefix); pw.print("packageName="); pw.print(packageName); in dump()
248 pw.print(" processName="); pw.println(processName); in dump()
249 pw.print(prefix); pw.print("launchedFromUid="); pw.print(launchedFromUid); in dump()
250 pw.print(" launchedFromPackage="); pw.print(launchedFromPackage); in dump()
251 pw.print(" userId="); pw.println(userId); in dump()
252 pw.print(prefix); pw.print("app="); pw.println(app); in dump()
253 pw.print(prefix); pw.println(intent.toInsecureStringWithClip()); in dump()
254 pw.print(prefix); pw.print("frontOfTask="); pw.print(frontOfTask); in dump()
255 pw.print(" task="); pw.println(task); in dump()
[all …]
/frameworks/base/core/tests/utiltests/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/core/java/com/android/internal/app/procstats/
DDumpUtils.java90 public static void printScreenLabel(PrintWriter pw, int offset) { in printScreenLabel() argument
93 pw.print(" "); in printScreenLabel()
96 pw.print("SOff/"); in printScreenLabel()
99 pw.print("SOn /"); in printScreenLabel()
102 pw.print("????/"); in printScreenLabel()
107 public static void printScreenLabelCsv(PrintWriter pw, int offset) { in printScreenLabelCsv() argument
112 pw.print(ADJ_SCREEN_NAMES_CSV[0]); in printScreenLabelCsv()
115 pw.print(ADJ_SCREEN_NAMES_CSV[1]); in printScreenLabelCsv()
118 pw.print("???"); in printScreenLabelCsv()
123 public static void printMemLabel(PrintWriter pw, int offset, char sep) { in printMemLabel() argument
[all …]
DProcessState.java757 public void dumpSummary(PrintWriter pw, String prefix, in dumpSummary() argument
760 pw.print(prefix); in dumpSummary()
761 pw.print("* "); in dumpSummary()
762 pw.print(mName); in dumpSummary()
763 pw.print(" / "); in dumpSummary()
764 UserHandle.formatUid(pw, mUid); in dumpSummary()
765 pw.print(" / v"); in dumpSummary()
766 pw.print(mVersion); in dumpSummary()
767 pw.println(":"); in dumpSummary()
768 dumpProcessSummaryDetails(pw, prefix, " TOTAL: ", screenStates, memStates, in dumpSummary()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java255 public void printUniqueId(PrintWriter pw) { in printUniqueId() argument
256 UserHandle.formatUid(pw, callingUid); in printUniqueId()
257 pw.print("/"); in printUniqueId()
258 pw.print(job.getId()); in printUniqueId()
544 void dumpConstraints(PrintWriter pw, int constraints) { in dumpConstraints() argument
546 pw.print(" CHARGING"); in dumpConstraints()
549 pw.print(" TIMING_DELAY"); in dumpConstraints()
552 pw.print(" DEADLINE"); in dumpConstraints()
555 pw.print(" IDLE"); in dumpConstraints()
558 pw.print(" CONNECTIVITY"); in dumpConstraints()
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerShellCommand.java44 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
52 pw.println("Exception: " + e); in onCommand()
70 final PrintWriter pw = getOutPrintWriter(); in runJob() local
88 pw.println("Error: unknown option '" + opt + "'"); in runJob()
99 pw.print("Package not found: "); in runJob()
100 pw.print(pkgName); in runJob()
101 pw.print(" / user "); in runJob()
102 pw.println(userId); in runJob()
106 pw.print("Could not find job "); in runJob()
107 pw.print(jobId); in runJob()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDiskStatsService.java57 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument
82 pw.print("Test-Error: "); in dump()
83 pw.println(error.toString()); in dump()
85 pw.print("Latency: "); in dump()
86 pw.print(after - before); in dump()
87 pw.println("ms [512B Data Write]"); in dump()
90 reportFreeSpace(Environment.getDataDirectory(), "Data", pw); in dump() local
91 reportFreeSpace(Environment.getDownloadCacheDirectory(), "Cache", pw); in dump() local
92 reportFreeSpace(new File("/system"), "System", pw); in dump()
95 pw.println("File-based Encryption: true"); in dump()
[all …]
DDeviceIdleController.java862 void dump(PrintWriter pw) { in dump() argument
863 pw.println(" Settings:"); in dump()
865 pw.print(" "); pw.print(KEY_LIGHT_IDLE_AFTER_INACTIVE_TIMEOUT); pw.print("="); in dump()
866 TimeUtils.formatDuration(LIGHT_IDLE_AFTER_INACTIVE_TIMEOUT, pw); in dump()
867 pw.println(); in dump()
869 pw.print(" "); pw.print(KEY_LIGHT_PRE_IDLE_TIMEOUT); pw.print("="); in dump()
870 TimeUtils.formatDuration(LIGHT_PRE_IDLE_TIMEOUT, pw); in dump()
871 pw.println(); in dump()
873 pw.print(" "); pw.print(KEY_LIGHT_IDLE_TIMEOUT); pw.print("="); in dump()
874 TimeUtils.formatDuration(LIGHT_IDLE_TIMEOUT, pw); in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java56 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
73 pw.println("Remote exception: " + e); in onCommand()
80 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
81 pw.println("Network policy manager (netpolicy) commands:"); in onHelp()
82 pw.println(" help"); in onHelp()
83 pw.println(" Print this help text."); in onHelp()
84 pw.println(""); in onHelp()
85 pw.println(" add restrict-background-whitelist UID"); in onHelp()
86 pw.println(" Adds a UID to the whitelist for restrict background usage."); in onHelp()
87 pw.println(" add restrict-background-blacklist UID"); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java95 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
137 pw.println("Remote exception: " + e); in onCommand()
143 final PrintWriter pw = getOutPrintWriter(); in runInstall() local
159 pw.println("Error: Failed to parse APK file : " + e); in runInstall()
173 pw.println("Error: must either specify a package size or an APK file"); in runInstall()
185 pw.println("Success"); in runInstall()
198 final PrintWriter pw = getOutPrintWriter(); in runSuspend() local
207 pw.println("Error: Unknown option: " + opt); in runSuspend()
214 pw.println("Error: package name not specified"); in runSuspend()
221 pw.println("Package " + packageName + " new suspended state: " in runSuspend()
[all …]
DOtaDexoptShellCommand.java38 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
57 pw.println("Remote exception: " + e); in onCommand()
74 final PrintWriter pw = getOutPrintWriter(); in runOtaDone() local
76 pw.println("OTA complete."); in runOtaDone()
78 pw.println("OTA incomplete."); in runOtaDone()
95 final PrintWriter pw = getOutPrintWriter(); in runOtaProgress() local
96 pw.format("%.2f", progress); in runOtaProgress()
102 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
103 pw.println("OTA Dexopt (ota) commands:"); in onHelp()
104 pw.println(" help"); in onHelp()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java273 public abstract void logState(Printer pw, String prefix); in logState() argument
292 public abstract void logState(Printer pw, String prefix); in logState() argument
389 public abstract void logState(Printer pw, String prefix); in logState() argument
2627 private static final boolean printTimer(PrintWriter pw, StringBuilder sb, Timer timer, in printTimer() argument
2659 pw.println(sb.toString()); in printTimer()
2701 private static final void dumpLineHeader(PrintWriter pw, int uid, String category, in dumpLineHeader() argument
2703 pw.print(BATTERY_STATS_CHECKIN_VERSION); in dumpLineHeader()
2704 pw.print(','); in dumpLineHeader()
2705 pw.print(uid); in dumpLineHeader()
2706 pw.print(','); in dumpLineHeader()
[all …]
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarShellCommand.java55 final PrintWriter pw = getOutPrintWriter(); in onCommand()
56 pw.println("Remote exception: " + e); in onCommand()
93 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
94 pw.println("Status bar commands:"); in onHelp()
95 pw.println(" help"); in onHelp()
96 pw.println(" Print this help text."); in onHelp()
97 pw.println(""); in onHelp()
98 pw.println(" expand-notifications"); in onHelp()
99 pw.println(" Open the notifications panel."); in onHelp()
100 pw.println(""); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateServiceShellCommand.java37 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
50 pw.println("Remote exception: " + e); in onCommand()
56 final PrintWriter pw = getOutPrintWriter(); in enableFallbackLogic() local
58 pw.println("Success"); in enableFallbackLogic()
63 final PrintWriter pw = getOutPrintWriter(); in setWebViewImplementation() local
67 pw.println("Success"); in setWebViewImplementation()
70 pw.println(String.format( in setWebViewImplementation()
79 PrintWriter pw = getOutPrintWriter(); in onHelp() local
80 pw.println("WebView updater commands:"); in onHelp()
81 pw.println(" help"); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java150 public void printTo(String prefix, PrintWriter pw) { in printTo() argument
151 pw.print(prefix); pw.print("mSurface="); pw.print(mSurfaceControl); in printTo()
152 pw.print(" mWidth="); pw.print(mWidth); in printTo()
153 pw.print(" mHeight="); pw.println(mHeight); in printTo()
155 pw.print(prefix); pw.print("mCustomBlackFrame="); pw.println(mCustomBlackFrame); in printTo()
157 mCustomBlackFrame.printTo(prefix + " ", pw); in printTo()
160 pw.print(prefix); pw.print("mExitingBlackFrame="); pw.println(mExitingBlackFrame); in printTo()
162 mExitingBlackFrame.printTo(prefix + " ", pw); in printTo()
164 pw.print(prefix); pw.print("mEnteringBlackFrame="); pw.println(mEnteringBlackFrame); in printTo()
166 mEnteringBlackFrame.printTo(prefix + " ", pw); in printTo()
[all …]

12345678910>>...18