Searched refs:pw (Results 1 - 25 of 530) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DIndentingPrintWriterTest.java41 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ");
43 pw.print("Hello");
44 pw.increaseIndent();
45 pw.println();
46 pw.print("World");
47 pw.increaseIndent();
48 pw.println();
49 pw.print("And");
50 pw.decreaseIndent();
51 pw
[all...]
/frameworks/base/services/core/java/com/android/server/job/
H A DJobSchedulerShellCommand.java44 final PrintWriter pw = getOutPrintWriter();
48 return runJob(pw);
50 return timeout(pw);
52 return monitorBattery(pw);
54 return getBatterySeq(pw);
56 return getBatteryCharging(pw);
58 return getBatteryNotLow(pw);
60 return getStorageSeq(pw);
62 return getStorageNotLow(pw);
64 return getJobState(pw);
125 runJob(PrintWriter pw) argument
173 timeout(PrintWriter pw) argument
208 monitorBattery(PrintWriter pw) argument
231 getBatterySeq(PrintWriter pw) argument
237 getBatteryCharging(PrintWriter pw) argument
243 getBatteryNotLow(PrintWriter pw) argument
249 getStorageSeq(PrintWriter pw) argument
255 getStorageNotLow(PrintWriter pw) argument
261 getJobState(PrintWriter pw) argument
[all...]
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarShellCommand.java54 final PrintWriter pw = getOutPrintWriter();
55 pw.println(String.valueOf(TileService.isQuickSettingsSupported()));
61 final PrintWriter pw = getOutPrintWriter();
62 pw.println("Remote exception: " + e);
99 final PrintWriter pw = getOutPrintWriter();
100 pw.println("Status bar commands:");
101 pw.println(" help");
102 pw.println(" Print this help text.");
103 pw.println("");
104 pw
[all...]
/frameworks/base/services/core/java/com/android/server/webkit/
H A DWebViewUpdateServiceShellCommand.java37 final PrintWriter pw = getOutPrintWriter();
54 pw.println("Remote exception: " + e);
60 final PrintWriter pw = getOutPrintWriter();
62 pw.println("Success");
67 final PrintWriter pw = getOutPrintWriter();
71 pw.println("Success");
74 pw.println(String.format(
82 final PrintWriter pw = getOutPrintWriter();
84 pw.println("Success");
90 PrintWriter pw
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerConstants.java312 void dump(PrintWriter pw) { argument
313 pw.println("ACTIVITY MANAGER SETTINGS (dumpsys activity settings) "
316 pw.print(" "); pw.print(KEY_MAX_CACHED_PROCESSES); pw.print("=");
317 pw.println(MAX_CACHED_PROCESSES);
318 pw.print(" "); pw.print(KEY_BACKGROUND_SETTLE_TIME); pw.print("=");
319 pw
[all...]
H A DActiveInstrumentation.java94 void dump(PrintWriter pw, String prefix) { argument
95 pw.print(prefix); pw.print("mClass="); pw.print(mClass);
96 pw.print(" mFinished="); pw.println(mFinished);
97 pw.print(prefix); pw.println("mRunningProcesses:");
99 pw.print(prefix); pw
[all...]
H A DProcessRecord.java206 void dump(PrintWriter pw, String prefix) { argument
209 pw.print(prefix); pw.print("user #"); pw.print(userId);
210 pw.print(" uid="); pw.print(info.uid);
212 pw.print(" ISOLATED uid="); pw.print(uid);
214 pw.print(" gids={");
217 if (gi != 0) pw
[all...]
H A DIntentBindRecord.java51 void dump(PrintWriter pw, String prefix) { argument
52 pw.print(prefix); pw.print("service="); pw.println(service);
53 dumpInService(pw, prefix);
56 void dumpInService(PrintWriter pw, String prefix) { argument
57 pw.print(prefix); pw.print("intent={");
58 pw.print(intent.getIntent().toShortString(false, true, false, false));
59 pw
[all...]
H A DBroadcastRecord.java101 void dump(PrintWriter pw, String prefix, SimpleDateFormat sdf) { argument
104 pw.print(prefix); pw.print(this); pw.print(" to user "); pw.println(userId);
105 pw.print(prefix); pw.println(intent.toInsecureString());
107 pw.print(prefix); pw.print(" targetComp: "); pw
[all...]
H A DBroadcastStats.java109 public boolean dumpStats(PrintWriter pw, String prefix, String dumpPackage) { argument
122 pw.print(prefix);
123 pw.print(ae.mAction);
124 pw.println(":");
125 pw.print(prefix);
126 pw.print(" Number received: ");
127 pw.print(ae.mReceiveCount);
128 pw.print(", skipped: ");
129 pw.println(ae.mSkipCount);
130 pw
158 dumpCheckinStats(PrintWriter pw, String dumpPackage) argument
[all...]
H A DContentProviderRecord.java146 void dump(PrintWriter pw, String prefix, boolean full) { argument
148 pw.print(prefix); pw.print("package=");
149 pw.print(info.applicationInfo.packageName);
150 pw.print(" process="); pw.println(info.processName);
152 pw.print(prefix); pw.print("proc="); pw.println(proc);
154 pw
[all...]
H A DActivityManagerShellCommand.java136 PrintWriter pw = getOutPrintWriter();
141 return runStartActivity(pw);
144 return runStartService(pw, false);
149 return runStartService(pw, true);
152 return runStopService(pw);
154 return runSendBroadcast(pw);
159 return runTraceIpc(pw);
161 return runProfile(pw);
163 return runDumpHeap(pw);
165 return runSetDebugApp(pw);
321 runStartActivity(PrintWriter pw) argument
510 runStartService(PrintWriter pw, boolean asForeground) argument
542 runStopService(PrintWriter pw) argument
574 IntentReceiver(PrintWriter pw) argument
601 runSendBroadcast(PrintWriter pw) argument
620 runTraceIpc(PrintWriter pw) argument
632 runTraceIpcStart(PrintWriter pw) argument
639 runTraceIpcStop(PrintWriter pw) argument
682 runProfile(PrintWriter pw) argument
777 runDumpHeap(PrintWriter pw) argument
814 runSetDebugApp(PrintWriter pw) argument
835 runClearDebugApp(PrintWriter pw) argument
840 runSetWatchHeap(PrintWriter pw) argument
847 runClearWatchHeap(PrintWriter pw) argument
853 runBugReport(PrintWriter pw) argument
871 runForceStop(PrintWriter pw) argument
887 runCrash(PrintWriter pw) argument
913 runKill(PrintWriter pw) argument
929 runKillAll(PrintWriter pw) argument
934 runMakeIdle(PrintWriter pw) argument
982 MyActivityController(IActivityManager iam, PrintWriter pw, InputStream input, String gdbPort, boolean monkey) argument
1262 runMonitor(PrintWriter pw) argument
1283 runHang(PrintWriter pw) argument
1301 runRestart(PrintWriter pw) argument
1314 runIdleMaintenance(PrintWriter pw) argument
1326 runScreenCompat(PrintWriter pw) argument
1351 runPackageImportance(PrintWriter pw) argument
1358 runToUri(PrintWriter pw, int flags) argument
1369 runSwitchUser(PrintWriter pw) argument
1375 runGetCurrentUser(PrintWriter pw) argument
1382 runStartUser(PrintWriter pw) argument
1401 runUnlockUser(PrintWriter pw) argument
1438 runStopUser(PrintWriter pw) argument
1481 runIsUserStopped(PrintWriter pw) argument
1488 runGetStartedUserState(PrintWriter pw) argument
1500 runTrackAssociations(PrintWriter pw) argument
1514 runUntrackAssociations(PrintWriter pw) argument
1529 getUidState(PrintWriter pw) argument
1584 runGetConfig(PrintWriter pw) argument
1620 runSuppressResizeConfigChanges(PrintWriter pw) argument
1626 runSetInactive(PrintWriter pw) argument
1647 runGetInactive(PrintWriter pw) argument
1668 runSendTrimMemory(PrintWriter pw) argument
1720 runDisplay(PrintWriter pw) argument
1731 runStack(PrintWriter pw) argument
1791 runDisplayMoveStack(PrintWriter pw) argument
1800 runStackStart(PrintWriter pw) argument
1817 runStackMoveTask(PrintWriter pw) argument
1837 runStackResize(PrintWriter pw) argument
1848 runStackResizeAnimated(PrintWriter pw) argument
1874 runStackResizeDocked(PrintWriter pw) argument
1893 runStackPositionTask(PrintWriter pw) argument
1905 runStackList(PrintWriter pw) argument
1913 runStackInfo(PrintWriter pw) argument
1921 runStackRemove(PrintWriter pw) argument
1928 runMoveTopActivityToPinnedStack(PrintWriter pw) argument
1943 runStackSizeDockedStackTest(PrintWriter pw) argument
2045 runTask(PrintWriter pw) argument
2065 runTaskLock(PrintWriter pw) argument
2078 runTaskResizeable(PrintWriter pw) argument
2087 runTaskResize(PrintWriter pw) argument
2109 runTaskDragTaskTest(PrintWriter pw) argument
2223 runTaskSizeTaskTest(PrintWriter pw) argument
2350 runTaskFocus(PrintWriter pw) argument
2357 runWrite(PrintWriter pw) argument
2365 runAttachAgent(PrintWriter pw) argument
2380 runSupportsMultiwindow(PrintWriter pw) argument
2389 runSupportsSplitScreenMultiwindow(PrintWriter pw) argument
2398 runUpdateApplicationInfo(PrintWriter pw) argument
2411 runNoHomeScreen(PrintWriter pw) argument
2420 runWaitForBroadcastIdle(PrintWriter pw) argument
2425 getResources(PrintWriter pw) argument
2445 dumpHelp(PrintWriter pw, boolean dumping) argument
[all...]
H A DAppTimeTracker.java97 public void dumpWithHeader(PrintWriter pw, String prefix, boolean details) { argument
98 pw.print(prefix); pw.print("AppTimeTracker #");
99 pw.print(Integer.toHexString(System.identityHashCode(this)));
100 pw.println(":");
101 dump(pw, prefix + " ", details);
104 public void dump(PrintWriter pw, String prefix, boolean details) { argument
105 pw.print(prefix); pw.print("mReceiver="); pw
[all...]
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DDumpUtils.java90 public static void printScreenLabel(PrintWriter pw, int offset) { argument
93 pw.print(" ");
96 pw.print("SOff/");
99 pw.print("SOn /");
102 pw.print("????/");
107 public static void printScreenLabelCsv(PrintWriter pw, int offset) { argument
112 pw.print(ADJ_SCREEN_NAMES_CSV[0]);
115 pw.print(ADJ_SCREEN_NAMES_CSV[1]);
118 pw.print("???");
123 public static void printMemLabel(PrintWriter pw, in argument
152 printMemLabelCsv(PrintWriter pw, int offset) argument
162 printPercent(PrintWriter pw, double fraction) argument
174 printProcStateTag(PrintWriter pw, int state) argument
180 printAdjTag(PrintWriter pw, int state) argument
185 printProcStateTagAndValue(PrintWriter pw, int state, long value) argument
192 printAdjTagAndValue(PrintWriter pw, int state, long value) argument
199 dumpSingleTime(PrintWriter pw, String prefix, long[] durations, int curState, long curStartTime, long now) argument
239 dumpAdjTimesCheckin(PrintWriter pw, String sep, long[] durations, int curState, long curStartTime, long now) argument
255 dumpStateHeadersCsv(PrintWriter pw, String sep, int[] screenStates, int[] memStates, int[] procStates) argument
311 dumpProcessSummaryLocked(PrintWriter pw, String prefix, ArrayList<ProcessState> procs, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime) argument
320 dumpProcessListCsv(PrintWriter pw, ArrayList<ProcessState> procs, boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, boolean sepProcStates, int[] procStates, long now) argument
345 printArrayEntry(PrintWriter pw, String[] array, int value, int mod) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DOtaDexoptShellCommand.java39 final PrintWriter pw = getOutPrintWriter();
58 pw.println("Remote exception: " + e);
75 final PrintWriter pw = getOutPrintWriter();
77 pw.println("OTA complete.");
79 pw.println("OTA incomplete.");
96 final PrintWriter pw = getOutPrintWriter();
100 pw.format(Locale.ROOT, "%.2f", progress);
106 final PrintWriter pw = getOutPrintWriter();
107 pw.println("OTA Dexopt (ota) commands:");
108 pw
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerServiceShellCommand.java46 final PrintWriter pw = getOutPrintWriter();
49 return requestList(pw);
51 return requestDestroy(pw);
55 return requestGet(pw);
57 return requestSet(pw);
65 try (final PrintWriter pw = getOutPrintWriter();) {
66 pw.println("AutoFill Service (autofill) commands:");
67 pw.println(" help");
68 pw.println(" Prints this help text.");
69 pw
94 requestGet(PrintWriter pw) argument
107 requestSet(PrintWriter pw) argument
121 getLogLevel(PrintWriter pw) argument
139 setLogLevel(PrintWriter pw) argument
157 getMaxPartitions(PrintWriter pw) argument
167 requestDestroy(PrintWriter pw) argument
183 requestList(PrintWriter pw) argument
204 isNextArgSessions(PrintWriter pw) argument
213 isNextArgLogLevel(PrintWriter pw, String cmd) argument
222 requestSessionCommon(PrintWriter pw, CountDownLatch latch, Runnable command) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DBaseWifiDiagnostics.java48 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
49 dump(pw);
50 pw.println("*** firmware logging disabled, no debug data ****");
51 pw.println("set config_wifi_enable_wifi_firmware_debugging to enable");
54 protected synchronized void dump(PrintWriter pw) { argument
55 pw.println("Chipset information :-----------------------------------------------");
56 pw.println("FW Version is: " + mFirmwareVersion);
57 pw.println("Driver Version is: " + mDriverVersion);
58 pw.println("Supported Feature set: " + mSupportedFeatureSet);
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerShellCommand.java41 final PrintWriter pw = getOutPrintWriter();
50 pw.println("Remote exception: " + e);
56 final PrintWriter pw = getOutPrintWriter();
61 pw.println("Error: " + ex.toString());
70 final PrintWriter pw = getOutPrintWriter();
71 pw.println("Power manager (power) commands:");
72 pw.println(" help");
73 pw.println(" Print this help text.");
74 pw.println("");
75 pw
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerShellCommand.java58 final PrintWriter pw = getOutPrintWriter();
75 pw.println("Remote exception: " + e);
82 final PrintWriter pw = getOutPrintWriter();
83 pw.println("Network policy manager (netpolicy) commands:");
84 pw.println(" help");
85 pw.println(" Print this help text.");
86 pw.println("");
87 pw.println(" add restrict-background-whitelist UID");
88 pw.println(" Adds a UID to the whitelist for restrict background usage.");
89 pw
[all...]
/frameworks/base/core/java/android/util/
H A DPrintStreamPrinter.java31 * @param pw The PrintWriter where you would like output to go.
33 public PrintStreamPrinter(PrintStream pw) { argument
34 mPS = pw;
H A DPrintWriterPrinter.java31 * @param pw The PrintWriter where you would like output to go.
33 public PrintWriterPrinter(PrintWriter pw) { argument
34 mPW = pw;
/frameworks/base/services/core/java/com/android/server/utils/
H A DPriorityDump.java34 public void dumpCritical(FileDescriptor fd, PrintWriter pw, String[] args) {
35 pw.println("Donuts in the box: 1");
39 public void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args) {
40 pw.println("Nuclear reactor status: DANGER - MELTDOWN IMMINENT");
45 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
46 PriorityDump.dump(mPriorityDumper, fd, pw, args);
98 * <code>dumper.dumpHigh(fd, pw, {"arg1", "arg2", "arg3"}) </code>
104 public static void dump(PriorityDumper dumper, FileDescriptor fd, PrintWriter pw, argument
110 dumper.dumpCritical(fd, pw, getStrippedArgs(args));
114 dumper.dumpHigh(fd, pw, getStrippedArg
147 dumpCritical(FileDescriptor fd, PrintWriter pw, String[] args) argument
154 dumpHigh(FileDescriptor fd, PrintWriter pw, String[] args) argument
161 dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args) argument
173 dump(FileDescriptor fd, PrintWriter pw, String[] args) argument
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyConstants.java99 public void dump(String prefix, PrintWriter pw) { argument
100 pw.print(prefix);
101 pw.println("Constants:");
103 pw.print(prefix);
104 pw.print(" DAS_DIED_SERVICE_RECONNECT_BACKOFF_SEC: ");
105 pw.println( DAS_DIED_SERVICE_RECONNECT_BACKOFF_SEC);
107 pw.print(prefix);
108 pw.print(" DAS_DIED_SERVICE_RECONNECT_BACKOFF_INCREASE: ");
109 pw.println( DAS_DIED_SERVICE_RECONNECT_BACKOFF_INCREASE);
111 pw
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DLeakDetector.java105 IndentingPrintWriter pw = new IndentingPrintWriter(w, " ");
107 pw.println("SYSUI LEAK DETECTOR");
108 pw.increaseIndent();
111 pw.println("TrackedCollections:");
112 pw.increaseIndent();
113 mTrackedCollections.dump(pw, (col) -> !TrackedObjects.isTrackedObject(col));
114 pw.decreaseIndent();
115 pw.println();
117 pw.println("TrackedObjects:");
118 pw
[all...]
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DJobStatus.java459 public void printUniqueId(PrintWriter pw) { argument
460 UserHandle.formatUid(pw, callingUid);
461 pw.print("/");
462 pw.print(job.getId());
797 private void formatRunTime(PrintWriter pw, long runtime, long defaultValue, long now) { argument
799 pw.print("none");
801 TimeUtils.formatDuration(runtime - now, pw);
841 void dumpConstraints(PrintWriter pw, int constraints) { argument
843 pw.print(" CHARGING");
846 pw
883 dumpJobWorkItem(PrintWriter pw, String prefix, JobWorkItem work, int index) argument
894 dump(PrintWriter pw, String prefix, boolean full, long elapsedRealtimeMillis) argument
[all...]

Completed in 7924 milliseconds

1234567891011>>