/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | IndentingPrintWriterTest.java | 41 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/pm/ |
H A D | OtaDexoptShellCommand.java | 38 final PrintWriter pw = getOutPrintWriter(); 57 pw.println("Remote exception: " + e); 74 final PrintWriter pw = getOutPrintWriter(); 76 pw.println("OTA complete."); 78 pw.println("OTA incomplete."); 95 final PrintWriter pw = getOutPrintWriter(); 96 pw.format("%.2f", progress); 102 final PrintWriter pw = getOutPrintWriter(); 103 pw.println("OTA Dexopt (ota) commands:"); 104 pw [all...] |
H A D | PackageManagerShellCommand.java | 95 final PrintWriter pw = getOutPrintWriter(); 137 pw.println("Remote exception: " + e); 143 final PrintWriter pw = getOutPrintWriter(); 159 pw.println("Error: Failed to parse APK file : " + e); 173 pw.println("Error: must either specify a package size or an APK file"); 185 pw.println("Success"); 198 final PrintWriter pw = getOutPrintWriter(); 207 pw.println("Error: Unknown option: " + opt); 214 pw.println("Error: package name not specified"); 221 pw [all...] |
/frameworks/base/services/core/java/com/android/server/webkit/ |
H A D | WebViewUpdateServiceShellCommand.java | 37 final PrintWriter pw = getOutPrintWriter(); 50 pw.println("Remote exception: " + e); 56 final PrintWriter pw = getOutPrintWriter(); 58 pw.println("Success"); 63 final PrintWriter pw = getOutPrintWriter(); 67 pw.println("Success"); 70 pw.println(String.format( 79 PrintWriter pw = getOutPrintWriter(); 80 pw.println("WebView updater commands:"); 81 pw [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerShellCommand.java | 48 PrintWriter pw = getOutPrintWriter(); 52 return runForceStop(pw); 54 return runKill(pw); 56 return runKillAll(pw); 58 return runWrite(pw); 60 return runTrackAssociations(pw); 62 return runUntrackAssociations(pw); 64 return runIsUserStopped(pw); 66 return runLenientBackgroundCheck(pw); 68 return getUidState(pw); 78 runIsUserStopped(PrintWriter pw) argument 85 runForceStop(PrintWriter pw) argument 101 runKill(PrintWriter pw) argument 117 runKillAll(PrintWriter pw) argument 122 runWrite(PrintWriter pw) argument 130 runTrackAssociations(PrintWriter pw) argument 144 runUntrackAssociations(PrintWriter pw) argument 159 runLenientBackgroundCheck(PrintWriter pw) argument 175 getUidState(PrintWriter pw) argument 192 dumpHelp(PrintWriter pw, boolean dumping) argument [all...] |
H A D | ProcessRecord.java | 207 void dump(PrintWriter pw, String prefix) { argument 210 pw.print(prefix); pw.print("user #"); pw.print(userId); 211 pw.print(" uid="); pw.print(info.uid); 213 pw.print(" ISOLATED uid="); pw.print(uid); 215 pw.print(" gids={"); 218 if (gi != 0) pw [all...] |
H A D | IntentBindRecord.java | 51 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 D | BroadcastRecord.java | 100 void dump(PrintWriter pw, String prefix, SimpleDateFormat sdf) { argument 103 pw.print(prefix); pw.print(this); pw.print(" to user "); pw.println(userId); 104 pw.print(prefix); pw.println(intent.toInsecureString()); 106 pw.print(prefix); pw.print(" targetComp: "); pw [all...] |
H A D | BroadcastFilter.java | 43 public void dump(PrintWriter pw, String prefix) { argument 44 dumpInReceiverList(pw, new PrintWriterPrinter(pw), prefix); 45 receiverList.dumpLocal(pw, prefix); 48 public void dumpBrief(PrintWriter pw, String prefix) { argument 49 dumpBroadcastFilterState(pw, prefix); 52 public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { argument 54 dumpBroadcastFilterState(pw, prefix); 57 void dumpBroadcastFilterState(PrintWriter pw, String prefix) { argument 59 pw [all...] |
H A D | BroadcastStats.java | 90 public boolean dumpStats(PrintWriter pw, String prefix, String dumpPackage) { argument 103 pw.print(prefix); 104 pw.print(ae.mAction); 105 pw.println(":"); 106 pw.print(prefix); 107 pw.print(" Number received: "); 108 pw.print(ae.mReceiveCount); 109 pw.print(", skipped: "); 110 pw.println(ae.mSkipCount); 111 pw 130 dumpCheckinStats(PrintWriter pw, String dumpPackage) argument [all...] |
H A D | AppTimeTracker.java | 97 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...] |
H A D | ReceiverList.java | 68 void dumpLocal(PrintWriter pw, String prefix) { argument 69 pw.print(prefix); pw.print("app="); pw.print(app != null ? app.toShortString() : null); 70 pw.print(" pid="); pw.print(pid); pw.print(" uid="); pw.print(uid); 71 pw.print(" user="); pw 78 dump(PrintWriter pw, String prefix) argument [all...] |
H A D | ContentProviderRecord.java | 146 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/base/services/core/java/com/android/server/job/ |
H A D | JobSchedulerShellCommand.java | 44 final PrintWriter pw = getOutPrintWriter(); 52 pw.println("Exception: " + e); 70 final PrintWriter pw = getOutPrintWriter(); 88 pw.println("Error: unknown option '" + opt + "'"); 99 pw.print("Package not found: "); 100 pw.print(pkgName); 101 pw.print(" / user "); 102 pw.println(userId); 106 pw.print("Could not find job "); 107 pw [all...] |
/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarShellCommand.java | 55 final PrintWriter pw = getOutPrintWriter(); 56 pw.println("Remote exception: " + e); 93 final PrintWriter pw = getOutPrintWriter(); 94 pw.println("Status bar commands:"); 95 pw.println(" help"); 96 pw.println(" Print this help text."); 97 pw.println(""); 98 pw.println(" expand-notifications"); 99 pw.println(" Open the notifications panel."); 100 pw [all...] |
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | DumpUtils.java | 90 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...] |
H A D | ProcessState.java | 757 public void dumpSummary(PrintWriter pw, String prefix, argument 760 pw.print(prefix); 761 pw.print("* "); 762 pw.print(mName); 763 pw.print(" / "); 764 UserHandle.formatUid(pw, mUid); 765 pw.print(" / v"); 766 pw.print(mVersion); 767 pw.println(":"); 768 dumpProcessSummaryDetails(pw, prefi 797 dumpProcessState(PrintWriter pw, String prefix, int[] screenStates, int[] memStates, int[] procStates, long now) argument 846 dumpPss(PrintWriter pw, String prefix, int[] screenStates, int[] memStates, int[] procStates) argument 914 dumpProcessSummaryDetails(PrintWriter pw, String prefix, String label, int[] screenStates, int[] memStates, int[] procStates, long now, long totalTime, boolean full) argument 936 dumpInternalLocked(PrintWriter pw, String prefix, boolean dumpAll) argument 1015 dumpCsv(PrintWriter pw, boolean sepScreenStates, int[] screenStates, boolean sepMemStates, int[] memStates, boolean sepProcStates, int[] procStates, long now) argument 1050 dumpPackageProcCheckin(PrintWriter pw, String pkgName, int uid, int vers, String itemName, long now) argument 1099 dumpProcCheckin(PrintWriter pw, String procName, int uid, long now) argument 1137 dumpAllStateCheckin(PrintWriter pw, long now) argument 1154 dumpAllPssCheckin(PrintWriter pw) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | BaseWifiLogger.java | 37 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 38 dump(pw); 39 pw.println("*** firmware logging disabled, no debug data ****"); 40 pw.println("set config_wifi_enable_wifi_firmware_debugging to enable"); 43 protected synchronized void dump(PrintWriter pw) { argument 44 pw.println("Chipset information :-----------------------------------------------"); 45 pw.println("FW Version is: " + mFirmwareVersion); 46 pw.println("Driver Version is: " + mDriverVersion); 47 pw.println("Supported Feature set: " + mSupportedFeatureSet);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerShellCommand.java | 56 final PrintWriter pw = getOutPrintWriter(); 73 pw.println("Remote exception: " + e); 80 final PrintWriter pw = getOutPrintWriter(); 81 pw.println("Network policy manager (netpolicy) commands:"); 82 pw.println(" help"); 83 pw.println(" Print this help text."); 84 pw.println(""); 85 pw.println(" add restrict-background-whitelist UID"); 86 pw.println(" Adds a UID to the whitelist for restrict background usage."); 87 pw [all...] |
/frameworks/base/core/java/android/util/ |
H A D | PrintStreamPrinter.java | 31 * @param pw The PrintWriter where you would like output to go. 33 public PrintStreamPrinter(PrintStream pw) { argument 34 mPS = pw;
|
H A D | PrintWriterPrinter.java | 31 * @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/wm/ |
H A D | WindowToken.java | 89 void dump(PrintWriter pw, String prefix) { argument 90 pw.print(prefix); pw.print("windows="); pw.println(windows); 91 pw.print(prefix); pw.print("windowType="); pw.print(windowType); 92 pw.print(" hidden="); pw.print(hidden); 93 pw [all...] |
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
H A D | JobStatus.java | 255 public void printUniqueId(PrintWriter pw) { argument 256 UserHandle.formatUid(pw, callingUid); 257 pw.print("/"); 258 pw.print(job.getId()); 544 void dumpConstraints(PrintWriter pw, int constraints) { argument 546 pw.print(" CHARGING"); 549 pw.print(" TIMING_DELAY"); 552 pw.print(" DEADLINE"); 555 pw.print(" IDLE"); 558 pw 578 dump(PrintWriter pw, String prefix, boolean full) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | DiskStatsService.java | 57 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument 82 pw.print("Test-Error: "); 83 pw.println(error.toString()); 85 pw.print("Latency: "); 86 pw.print(after - before); 87 pw.println("ms [512B Data Write]"); 90 reportFreeSpace(Environment.getDataDirectory(), "Data", pw); 91 reportFreeSpace(Environment.getDownloadCacheDirectory(), "Cache", pw); 92 reportFreeSpace(new File("/system"), "System", pw); 95 pw 104 reportFreeSpace(File path, String name, PrintWriter pw) argument 131 reportCachedValues(PrintWriter pw) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | DumpUtils.java | 38 public static void dumpAsync(Handler handler, final Dump dump, PrintWriter pw, argument 49 pw.print(sw.toString()); 51 pw.println("... timed out"); 56 void dump(PrintWriter pw, String prefix); argument
|