Home
last modified time | relevance | path

Searched refs:IndentingPrintWriter (Results 1 – 25 of 146) sorted by relevance

123456

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DIndentingPrintWriterTest.java41 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testMultipleIndents()
63 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testAdjustIndentAfterNewline()
74 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, "", 10); in testWrapping()
86 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingIndented()
100 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingEmbeddedNewlines()
111 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingSingleGiant()
122 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingPrefixedGiant()
/frameworks/base/core/java/com/android/internal/util/
DIndentingPrintWriter.java33 public class IndentingPrintWriter extends PrintWriter { class
53 public IndentingPrintWriter(Writer writer, String singleIndent) { in IndentingPrintWriter() method in IndentingPrintWriter
57 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) { in IndentingPrintWriter() method in IndentingPrintWriter
63 public IndentingPrintWriter setIndent(String indent) { in setIndent()
70 public IndentingPrintWriter setIndent(int indent) { in setIndent()
79 public IndentingPrintWriter increaseIndent() { in increaseIndent()
86 public IndentingPrintWriter decreaseIndent() { in decreaseIndent()
92 public IndentingPrintWriter printPair(String key, Object value) { in printPair()
97 public IndentingPrintWriter printPair(String key, Object[] value) { in printPair()
102 public IndentingPrintWriter printHexPair(String key, int value) { in printHexPair()
/frameworks/base/core/java/com/android/internal/util/dump/
DDualDumpOutputStream.java24 import com.android.internal.util.IndentingPrintWriter;
44 private final @Nullable IndentingPrintWriter mIpw;
55 abstract void print(IndentingPrintWriter ipw, boolean printName); in print()
66 void print(IndentingPrintWriter ipw, boolean printName) { in print()
125 void print(IndentingPrintWriter ipw, boolean printName) { in print()
149 public DualDumpOutputStream(@NonNull IndentingPrintWriter ipw) { in DualDumpOutputStream()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java73 import com.android.internal.util.IndentingPrintWriter;
314 @NonNull IndentingPrintWriter pw) { in enableContaminantDetection()
348 IndentingPrintWriter pw) { in setPortRoles()
481 public void addSimulatedPort(String portId, int supportedModes, IndentingPrintWriter pw) { in addSimulatedPort()
498 int dataRole, boolean canChangeDataRole, IndentingPrintWriter pw) { in connectSimulatedPort()
538 IndentingPrintWriter pw) { in simulateContaminantStatus()
555 public void disconnectSimulatedPort(String portId, IndentingPrintWriter pw) { in disconnectSimulatedPort()
574 public void removeSimulatedPort(String portId, IndentingPrintWriter pw) { in removeSimulatedPort()
588 public void resetSimulation(IndentingPrintWriter pw) { in resetSimulation()
617 public IndentingPrintWriter pw;
[all …]
DUsbService.java56 import com.android.internal.util.IndentingPrintWriter;
593 final IndentingPrintWriter pw = new IndentingPrintWriter(writer, " "); in dump()
611 dump = new DualDumpOutputStream(new IndentingPrintWriter(pw, " ")); in dump()
668 mPortManager.dump(new DualDumpOutputStream(new IndentingPrintWriter(pw, " ")), in dump()
694 mPortManager.dump(new DualDumpOutputStream(new IndentingPrintWriter(pw, " ")), in dump()
742 mPortManager.dump(new DualDumpOutputStream(new IndentingPrintWriter(pw, " ")), in dump()
750 mPortManager.dump(new DualDumpOutputStream(new IndentingPrintWriter(pw, " ")), in dump()
758 mPortManager.dump(new DualDumpOutputStream(new IndentingPrintWriter(pw, " ")), in dump()
765 mPortManager.dump(new DualDumpOutputStream(new IndentingPrintWriter(pw, " ")), in dump()
774 mPortManager.dump(new DualDumpOutputStream(new IndentingPrintWriter(pw, " ")), in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DStateController.java25 import com.android.internal.util.IndentingPrintWriter;
133 public abstract void dumpControllerStateLocked(IndentingPrintWriter pw, in dumpControllerStateLocked()
139 public void dumpConstants(IndentingPrintWriter pw) { in dumpConstants()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DTimeServiceHelper.java24 import com.android.internal.util.IndentingPrintWriter;
57 void dumpLogs(IndentingPrintWriter ipw); in dumpLogs()
DTimeServiceHelperImpl.java32 import com.android.internal.util.IndentingPrintWriter;
102 public void dumpLogs(IndentingPrintWriter ipw) { in dumpLogs()
/frameworks/base/core/java/android/app/servertransaction/
DPendingTransactionActions.java33 import com.android.internal.util.IndentingPrintWriter;
150 final IndentingPrintWriter pw = new IndentingPrintWriter(writer, " "); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakDetector.java22 import com.android.internal.util.IndentingPrintWriter;
104 IndentingPrintWriter pw = new IndentingPrintWriter(w, " "); in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DReferenceWithHistoryTest.java24 import com.android.internal.util.IndentingPrintWriter;
137 try (IndentingPrintWriter ipw = new IndentingPrintWriter(stringWriter, " ")) { in dumpReferenceWithHistory()
DArrayMapWithHistoryTest.java27 import com.android.internal.util.IndentingPrintWriter;
109 try (IndentingPrintWriter ipw = new IndentingPrintWriter(stringWriter, " ")) { in dumpHistoryMap()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiMhlControllerStub.java22 import com.android.internal.util.IndentingPrintWriter;
139 void dump(IndentingPrintWriter pw) { in dump()
DHdmiUtils.java26 import com.android.internal.util.IndentingPrintWriter;
354 static <T> void dumpSparseArray(IndentingPrintWriter pw, String name, in dumpSparseArray()
368 private static void printWithTrailingColon(IndentingPrintWriter pw, String name) { in printWithTrailingColon()
383 static <K, V> void dumpMap(IndentingPrintWriter pw, String name, Map<K, V> map) { in dumpMap()
404 static <T> void dumpIterable(IndentingPrintWriter pw, String name, Iterable<T> values) { in dumpIterable()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSimActivationTracker.java31 import com.android.internal.util.IndentingPrintWriter;
163 IndentingPrintWriter ipw = new IndentingPrintWriter(pw, " "); in dump()
DNitzStateMachine.java27 import com.android.internal.util.IndentingPrintWriter;
84 void dumpLogs(FileDescriptor fd, IndentingPrintWriter ipw, String[] args); in dumpLogs()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DReferenceWithHistory.java23 import com.android.internal.util.IndentingPrintWriter;
94 public void dump(@NonNull IndentingPrintWriter ipw) { in dump()
/frameworks/base/telephony/java/android/telephony/
DAnomalyReporter.java27 import com.android.internal.util.IndentingPrintWriter;
162 IndentingPrintWriter pw = new IndentingPrintWriter(printWriter, " "); in dump()
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/
DIndentingPrintWriterBenchmark.java31 private IndentingPrintWriter mIndenting;
40 mIndenting = new IndentingPrintWriter(mDirect, " "); in setUp()
138 public void dumpIndenting(IndentingPrintWriter pw) { in dumpIndenting()
/frameworks/base/packages/Tethering/tests/unit/
Djarjar-rules.txt4 rule com.android.internal.util.IndentingPrintWriter.java* com.android.networkstack.tethering.util.I…
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetServiceImpl.java34 import com.android.internal.util.IndentingPrintWriter;
189 final IndentingPrintWriter pw = new IndentingPrintWriter(writer, " "); in dump()
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java46 import com.android.internal.util.IndentingPrintWriter;
610 void checkin(final IndentingPrintWriter pw) { in checkin()
620 void dump(IndentingPrintWriter pw, String pkg) { in dump()
623 void dump(IndentingPrintWriter pw, String pkg, boolean compact) { in dump()
634 void dumpDatabaseInfo(IndentingPrintWriter ipw) { in dumpDatabaseInfo()
638 void dumpFile(IndentingPrintWriter ipw, String[] args) { in dumpFile()
687 private void dumpFileDetailsForInterval(IndentingPrintWriter ipw, int interval) { in dumpFileDetailsForInterval()
698 private void dumpFileDetails(IndentingPrintWriter ipw, IntervalStats stats, long filename) { in dumpFileDetails()
720 void printEvent(IndentingPrintWriter pw, Event event, boolean prettyDates) { in printEvent()
757 void printLast24HrEvents(IndentingPrintWriter pw, boolean prettyDates, final String pkg) { in printLast24HrEvents()
[all …]
/frameworks/base/core/java/android/os/storage/
DDiskInfo.java29 import com.android.internal.util.IndentingPrintWriter;
158 dump(new IndentingPrintWriter(writer, " ", 80)); in toString()
162 public void dump(IndentingPrintWriter pw) { in dump()
/frameworks/base/services/core/java/com/android/server/utils/
DUserTokenWatcher.java26 import com.android.internal.util.IndentingPrintWriter;
117 watcher.dump(new IndentingPrintWriter(pw, " ")); in dump()
/frameworks/base/packages/Tethering/
Djarjar-rules.txt8 rule com.android.internal.util.IndentingPrintWriter.java* com.android.networkstack.tethering.util.I…

123456