Searched refs:pw (Results 1 - 25 of 560) 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/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.java346 void dump(PrintWriter pw) { argument
347 pw.println("ACTIVITY MANAGER SETTINGS (dumpsys activity settings) "
350 pw.print(" "); pw.print(KEY_MAX_CACHED_PROCESSES); pw.print("=");
351 pw.println(MAX_CACHED_PROCESSES);
352 pw.print(" "); pw.print(KEY_BACKGROUND_SETTLE_TIME); pw.print("=");
353 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 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 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 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 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);
325 runStartActivity(PrintWriter pw) argument
517 runStartService(PrintWriter pw, boolean asForeground) argument
549 runStopService(PrintWriter pw) argument
581 IntentReceiver(PrintWriter pw) argument
608 runSendBroadcast(PrintWriter pw) argument
627 runTraceIpc(PrintWriter pw) argument
639 runTraceIpcStart(PrintWriter pw) argument
646 runTraceIpcStop(PrintWriter pw) argument
689 runProfile(PrintWriter pw) argument
785 runDumpHeap(PrintWriter pw) argument
829 runSetDebugApp(PrintWriter pw) argument
850 runClearDebugApp(PrintWriter pw) argument
855 runSetWatchHeap(PrintWriter pw) argument
862 runClearWatchHeap(PrintWriter pw) argument
868 runBugReport(PrintWriter pw) argument
886 runForceStop(PrintWriter pw) argument
902 runCrash(PrintWriter pw) argument
928 runKill(PrintWriter pw) argument
944 runKillAll(PrintWriter pw) argument
949 runMakeIdle(PrintWriter pw) argument
997 MyActivityController(IActivityManager iam, PrintWriter pw, InputStream input, String gdbPort, boolean monkey) argument
1277 runMonitor(PrintWriter pw) argument
1310 MyUidObserver(ActivityManagerService service, PrintWriter pw, InputStream input, int uid) argument
1441 runWatchUids(PrintWriter pw) argument
1459 runHang(PrintWriter pw) argument
1477 runRestart(PrintWriter pw) argument
1490 runIdleMaintenance(PrintWriter pw) argument
1502 runScreenCompat(PrintWriter pw) argument
1527 runPackageImportance(PrintWriter pw) argument
1534 runToUri(PrintWriter pw, int flags) argument
1545 runSwitchUser(PrintWriter pw) argument
1551 runGetCurrentUser(PrintWriter pw) argument
1558 runStartUser(PrintWriter pw) argument
1577 runUnlockUser(PrintWriter pw) argument
1614 runStopUser(PrintWriter pw) argument
1657 runIsUserStopped(PrintWriter pw) argument
1664 runGetStartedUserState(PrintWriter pw) argument
1676 runTrackAssociations(PrintWriter pw) argument
1690 runUntrackAssociations(PrintWriter pw) argument
1705 getUidState(PrintWriter pw) argument
1760 runGetConfig(PrintWriter pw) argument
1796 runSuppressResizeConfigChanges(PrintWriter pw) argument
1802 runSetInactive(PrintWriter pw) argument
1823 runGetInactive(PrintWriter pw) argument
1844 runSendTrimMemory(PrintWriter pw) argument
1900 runDisplay(PrintWriter pw) argument
1911 runStack(PrintWriter pw) argument
1971 runDisplayMoveStack(PrintWriter pw) argument
1980 runStackStart(PrintWriter pw) argument
2005 runStackMoveTask(PrintWriter pw) argument
2025 runStackResize(PrintWriter pw) argument
2036 runStackResizeAnimated(PrintWriter pw) argument
2062 runStackResizeDocked(PrintWriter pw) argument
2081 runStackPositionTask(PrintWriter pw) argument
2093 runStackList(PrintWriter pw) argument
2101 runStackInfo(PrintWriter pw) argument
2109 runStackRemove(PrintWriter pw) argument
2116 runMoveTopActivityToPinnedStack(PrintWriter pw) argument
2131 runStackSizeDockedStackTest(PrintWriter pw) argument
2233 runTask(PrintWriter pw) argument
2253 runTaskLock(PrintWriter pw) argument
2266 runTaskResizeable(PrintWriter pw) argument
2275 runTaskResize(PrintWriter pw) argument
2297 runTaskDragTaskTest(PrintWriter pw) argument
2411 runTaskSizeTaskTest(PrintWriter pw) argument
2538 runTaskFocus(PrintWriter pw) argument
2545 runWrite(PrintWriter pw) argument
2553 runAttachAgent(PrintWriter pw) argument
2568 runSupportsMultiwindow(PrintWriter pw) argument
2577 runSupportsSplitScreenMultiwindow(PrintWriter pw) argument
2586 runUpdateApplicationInfo(PrintWriter pw) argument
2599 runNoHomeScreen(PrintWriter pw) argument
2608 runWaitForBroadcastIdle(PrintWriter pw) argument
2613 getResources(PrintWriter pw) argument
2633 dumpHelp(PrintWriter pw, boolean dumping) 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...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiShellCommand.java55 final PrintWriter pw = getOutPrintWriter();
66 pw.println(
75 pw.println("IPREACH_DISCONNECT state is "
83 pw.println(
90 pw.println(
99 pw.println("WifiStateMachine.mPollRssiIntervalMsecs = "
106 pw.println("Exception: " + e);
122 final PrintWriter pw = getOutPrintWriter();
124 pw.println("Wi-Fi (wifi) commands:");
125 pw
[all...]
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/statusbar/
H A DStatusBarShellCommand.java54 final PrintWriter pw = getOutPrintWriter();
55 pw.println(String.valueOf(TileService.isQuickSettingsSupported()));
63 final PrintWriter pw = getOutPrintWriter();
64 pw.println("Remote exception: " + e);
100 final PrintWriter pw = getOutPrintWriter();
102 pw.println(icon);
109 final PrintWriter pw = getOutPrintWriter();
110 pw.println("Status bar commands:");
111 pw.println(" help");
112 pw
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerShellCommand.java49 final PrintWriter pw = getOutPrintWriter();
66 pw.println("Remote exception: " + e);
73 final PrintWriter pw = getOutPrintWriter();
74 pw.println("Network policy manager (netpolicy) commands:");
75 pw.println(" help");
76 pw.println(" Print this help text.");
77 pw.println("");
78 pw.println(" add restrict-background-whitelist UID");
79 pw.println(" Adds a UID to the whitelist for restrict background usage.");
80 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/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/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.java514 public void printUniqueId(PrintWriter pw) { argument
515 UserHandle.formatUid(pw, callingUid);
516 pw.print("/");
517 pw.print(job.getId());
871 private void formatRunTime(PrintWriter pw, long runtime, long defaultValue, long now) { argument
873 pw.print("none");
875 TimeUtils.formatDuration(runtime - now, pw);
915 void dumpConstraints(PrintWriter pw, int constraints) { argument
917 pw.print(" CHARGING");
920 pw
957 dumpJobWorkItem(PrintWriter pw, String prefix, JobWorkItem work, int index) argument
968 dump(PrintWriter pw, String prefix, boolean full, long elapsedRealtimeMillis) argument
[all...]

Completed in 552 milliseconds

1234567891011>>