/frameworks/base/core/java/com/android/internal/util/ |
D | IndentingPrintWriter.java | 30 public class IndentingPrintWriter extends android.util.IndentingPrintWriter { class 33 public IndentingPrintWriter(Writer writer, String singleIndent) { in IndentingPrintWriter() method in IndentingPrintWriter 37 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) { in IndentingPrintWriter() method in IndentingPrintWriter 41 public IndentingPrintWriter(Writer writer, String singleIndent, String prefix, int wrapLength) { in IndentingPrintWriter() method in IndentingPrintWriter 45 public IndentingPrintWriter setIndent(String indent) { in setIndent() 50 public IndentingPrintWriter setIndent(int indent) { in setIndent() 56 public IndentingPrintWriter increaseIndent() { in increaseIndent() 62 public IndentingPrintWriter decreaseIndent() { in decreaseIndent() 67 public IndentingPrintWriter printPair(String key, Object value) { in printPair() 72 public IndentingPrintWriter printPair(String key, Object[] value) { in printPair() [all …]
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | IndentingPrintWriterTest.java | 47 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testMultipleIndents() 70 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testAdjustIndentAfterNewline() 82 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, "", 10); in testWrapping() 95 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingIndented() 110 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingEmbeddedNewlines() 122 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingSingleGiant() 134 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingPrefixedGiant() 147 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testArrayValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | DumpUtils.kt | 19 import android.util.IndentingPrintWriter 30 fun PrintWriter.asIndenting(): IndentingPrintWriter = in asIndenting() 31 (this as? IndentingPrintWriter) ?: IndentingPrintWriter(this) in asIndenting() 37 inline fun IndentingPrintWriter.withIncreasedIndent(block: () -> Unit) { in asIndenting() 50 fun IndentingPrintWriter.withIncreasedIndent(runnable: Runnable) { in withIncreasedIndent() method 60 fun IndentingPrintWriter.println(label: String, value: Any?) = in println() method 64 inline fun IndentingPrintWriter.printSection(sectionName: String, block: () -> Unit) { in println() 70 inline fun <T> IndentingPrintWriter.printCollection( in printCollection() 73 printer: IndentingPrintWriter.(T) -> Unit = IndentingPrintWriter::println, in printCollection() 79 fun <T : Dumpable> IndentingPrintWriter.dumpCollection(label: String, collection: Collection<T>) { in dumpCollection()
|
D | ConvenienceExtensions.kt | 20 import android.util.IndentingPrintWriter 47 if (this is IndentingPrintWriter) increaseIndent() in indentIfPossible() 49 if (this is IndentingPrintWriter) decreaseIndent() in indentIfPossible()
|
/frameworks/base/core/java/android/util/ |
D | IndentingPrintWriter.java | 38 public class IndentingPrintWriter extends PrintWriter { class 57 public IndentingPrintWriter(@NonNull Writer writer) { in IndentingPrintWriter() method in IndentingPrintWriter 61 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent) { in IndentingPrintWriter() method in IndentingPrintWriter 65 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter() method in IndentingPrintWriter 70 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter() method in IndentingPrintWriter 75 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter() method in IndentingPrintWriter 93 public IndentingPrintWriter setIndent(@NonNull String indent) { in setIndent() 109 public IndentingPrintWriter setIndent(int indent) { in setIndent() 121 public IndentingPrintWriter increaseIndent() { in increaseIndent() 131 public IndentingPrintWriter decreaseIndent() { in decreaseIndent() [all …]
|
/frameworks/base/core/java/com/android/internal/util/dump/ |
D | DumpableContainerImpl.java | 21 import android.util.IndentingPrintWriter; 100 private int dumpNumberDumpables(IndentingPrintWriter writer) { in dumpNumberDumpables() 114 IndentingPrintWriter ipw = new IndentingPrintWriter(writer, prefix, prefix); in listDumpables() 133 IndentingPrintWriter ipw = new IndentingPrintWriter(writer, prefix, prefix); in dumpAllDumpables() 149 private void indentAndDump(IndentingPrintWriter writer, Dumpable dumpable, String[] args) { in indentAndDump() 164 IndentingPrintWriter ipw = new IndentingPrintWriter(writer, prefix, prefix); in dumpOneDumpable()
|
D | DualDumpOutputStream.java | 21 import android.util.IndentingPrintWriter; 43 private final @Nullable IndentingPrintWriter mIpw; 54 abstract void print(IndentingPrintWriter ipw, boolean printName); in print() 65 void print(IndentingPrintWriter ipw, boolean printName) { in print() 124 void print(IndentingPrintWriter ipw, boolean printName) { in print() 148 public DualDumpOutputStream(@NonNull IndentingPrintWriter ipw) { in DualDumpOutputStream()
|
/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/ |
D | UsbGadgetAidl.java | 36 import com.android.internal.util.IndentingPrintWriter; 54 public final IndentingPrintWriter mPw; 78 private void connectToProxy(IndentingPrintWriter pw) { in connectToProxy() 94 static boolean isServicePresent(IndentingPrintWriter pw) { in isServicePresent() 104 public UsbGadgetAidl(UsbDeviceManager deviceManager, IndentingPrintWriter pw) { in UsbGadgetAidl() 175 public IndentingPrintWriter mPw; 183 UsbGadgetCallback(IndentingPrintWriter pw, int request, long functions, in UsbGadgetCallback()
|
D | UsbGadgetHidl.java | 42 import com.android.internal.util.IndentingPrintWriter; 58 private final IndentingPrintWriter mPw; 82 private final IndentingPrintWriter mPw; 84 DeathRecipient(IndentingPrintWriter pw) { in DeathRecipient() 107 private void connectToProxy(IndentingPrintWriter pw) { in connectToProxy() 126 static boolean isServicePresent(IndentingPrintWriter pw) { in isServicePresent() 139 public UsbGadgetHidl(UsbDeviceManager deviceManager, IndentingPrintWriter pw) { in UsbGadgetHidl() 231 UsbGadgetCallback(IndentingPrintWriter pw, int request, in UsbGadgetCallback()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | GroupedAggregatedLogRecords.java | 20 import android.util.IndentingPrintWriter; 46 abstract void dumpGroupHeader(IndentingPrintWriter pw, int groupKey); in dumpGroupHeader() 80 final synchronized void dump(IndentingPrintWriter pw) { in dump() 133 synchronized void dump(IndentingPrintWriter pw) { in dump() 177 void dump(IndentingPrintWriter pw); in dump()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/ |
D | BrightnessLowPowerModeModifier.java | 21 import android.util.IndentingPrintWriter; 51 IndentingPrintWriter ipw = new IndentingPrintWriter(pw, " "); in dump()
|
D | DisplayDimModifier.java | 23 import android.util.IndentingPrintWriter; 76 IndentingPrintWriter ipw = new IndentingPrintWriter(pw, " "); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | AbstractLockscreenShadeTransitionController.kt | 5 import android.util.IndentingPrintWriter 58 dump(IndentingPrintWriter(pw, /* singleIndent= */ " ")) in updateResources() 61 abstract fun dump(pw: IndentingPrintWriter)
|
/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/ |
D | UserMetrics.java | 34 import com.android.car.internal.util.IndentingPrintWriter; 234 public void dump(@NonNull IndentingPrintWriter pw) { in dump() 251 private void dump(@NonNull IndentingPrintWriter pw, @NonNull String message, in dump() 283 try (IndentingPrintWriter ipw = new IndentingPrintWriter(pw, " ")) { in toString() 290 abstract void dump(@NonNull IndentingPrintWriter pw); in dump() 307 public void dump(@NonNull IndentingPrintWriter pw) { in dump() 345 public void dump(@NonNull IndentingPrintWriter pw) { in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/ |
D | ParseableCommand.kt | 19 import android.util.IndentingPrintWriter 160 open fun usage(pw: IndentingPrintWriter) {} in usage() 196 val ipw = IndentingPrintWriter(pw) in help() 303 fun Iterable<Describable>.describe(pw: IndentingPrintWriter) { in Iterable() 349 fun describe(pw: IndentingPrintWriter) { in describe() 391 fun IndentingPrintWriter.indented(block: () -> Unit) { in indented() method
|
D | SubCommand.kt | 19 import android.util.IndentingPrintWriter 76 override fun describe(pw: IndentingPrintWriter) { in parseSubCommandArgs() 103 override fun describe(pw: IndentingPrintWriter) { in getValue()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | AttestationVerificationManagerService.java | 38 import android.util.IndentingPrintWriter; 109 final IndentingPrintWriter fout = new IndentingPrintWriter(writer, " "); 177 void dumpTo(IndentingPrintWriter writer) { in dumpTo() 195 abstract void dumpTo(IndentingPrintWriter writer); in dumpTo()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | Dumpable.java | 20 import android.util.IndentingPrintWriter; 26 void dump(@NonNull IndentingPrintWriter pw, @Nullable String[] args); in dump()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsSpan.java | 23 import android.util.IndentingPrintWriter; 107 public void dump(IndentingPrintWriter pw) { in dump() 209 public void dump(IndentingPrintWriter pw) { in dump() 213 void dump(IndentingPrintWriter pw, boolean includeSections) { in dump() 242 IndentingPrintWriter ipw = new IndentingPrintWriter(sw); in toString() 282 public void dump(IndentingPrintWriter ipw) { in dump() 397 public void dump(IndentingPrintWriter ipw) { in read() 424 public void dump(IndentingPrintWriter ipw) { in dump()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 88 import com.android.internal.util.IndentingPrintWriter; 338 @NonNull IndentingPrintWriter pw) { in enableContaminantDetection() 374 IUsbOperationInternal callback, IndentingPrintWriter pw) { in enableLimitPowerTransfer() 414 IUsbOperationInternal callback, IndentingPrintWriter pw) { in enableUsbDataWhileDocked() 456 @NonNull IUsbOperationInternal callback, IndentingPrintWriter pw) { in enableUsbData() 536 @NonNull IUsbOperationInternal callback, IndentingPrintWriter pw) { in resetUsbPort() 572 IndentingPrintWriter pw) { in setPortRoles() 749 IndentingPrintWriter pw) { in addSimulatedPort() 795 int dataRole, boolean canChangeDataRole, IndentingPrintWriter pw) { in connectSimulatedPort() 835 IndentingPrintWriter pw) { in simulateContaminantStatus() [all …]
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | FontManagerShellCommand.java | 36 import android.util.IndentingPrintWriter; 124 /* package */ void dumpAll(@NonNull IndentingPrintWriter w) { in dumpAll() 130 @NonNull IndentingPrintWriter w, in dumpSingleFontConfig() 160 @NonNull IndentingPrintWriter w, in dumpFontConfig() 242 private void dumpFallback(@NonNull IndentingPrintWriter writer, in dumpFallback() 249 private void dumpFamily(@NonNull IndentingPrintWriter writer, @NonNull FontFamily family) { in dumpFamily() 281 private void dumpFont(@NonNull IndentingPrintWriter writer, @NonNull Font font) { in dumpFont() 317 final IndentingPrintWriter writer = in dump() 318 new IndentingPrintWriter(shell.getOutPrintWriter(), " "); in dump() 502 final IndentingPrintWriter writer = in status() [all …]
|
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/ |
D | IndentingPrintWriterBenchmark.java | 19 import android.util.IndentingPrintWriter; 34 private IndentingPrintWriter mIndenting; 43 mIndenting = new IndentingPrintWriter(mDirect, " "); in setUp() 141 public void dumpIndenting(android.util.IndentingPrintWriter pw) { in dumpIndenting()
|
/frameworks/base/services/core/java/com/android/server/display/state/ |
D | DisplayStateController.java | 20 import android.util.IndentingPrintWriter; 123 IndentingPrintWriter ipw = new IndentingPrintWriter(pw, " "); in dumpsys()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | LeakDetector.java | 20 import android.util.IndentingPrintWriter; 108 IndentingPrintWriter pw = new IndentingPrintWriter(w, " "); in dump()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ScreenOffBrightnessSensorController.java | 26 import android.util.IndentingPrintWriter; 124 IndentingPrintWriter idpw = new IndentingPrintWriter(pw); in dump()
|