Home
last modified time | relevance | path

Searched refs:Writer (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DProfilers.java29 private static Writer sErrorWriter = new ErrorWriter();
30 private static Writer sWarningWriter = new WarningWriter();
31 private static Writer sInfoWriter = new InfoWriter();
32 private static Writer sDebugWriter = new DebugWriter();
33 private static Writer sVerboseWriter = new VerboseWriter();
123 private static class DebugWriter implements Writer {
130 private static class ErrorWriter implements Writer {
137 private static class InfoWriter implements Writer {
144 private static class VerboseWriter implements Writer {
151 private static class WarningWriter implements Writer {
DGuardingProfiler.java26 private final Writer mGuardWriter;
27 private final Writer mVerboseWriter;
31 public GuardingProfiler(Writer writer, Writer verbose) { in GuardingProfiler()
36 public GuardingProfiler(Writer writer, Writer verbose, int maxDurationMillis) { in GuardingProfiler()
DGuardingProfile.java26 private final Writer mGuardWriter;
27 private final Writer mVerboseWriter;
30 public GuardingProfile(Writer writer, Writer verbose, String name,int maxDuration) { in GuardingProfile()
DLoggingProfiler.java23 private final Writer mWriter;
26 public LoggingProfiler(Writer writer) { in LoggingProfiler()
DLoggingProfile.java24 private final Writer mWriter;
27 public LoggingProfile(Writer writer, String name) { in LoggingProfile()
DWriter.java22 public interface Writer { interface
/packages/apps/Camera2/src/com/android/camera/util/
DCaptureDataSerializer.java37 import java.io.Writer;
48 public void write(Writer writer) throws IOException; in write()
91 Writer writer) { in dumpMetadata()
94 public void write(Writer writer) throws IOException { in dumpMetadata()
114 Writer writer) { in dumpMetadata()
117 public void write(Writer writer) throws IOException { in dumpMetadata()
164 private static void dumpMetadata(Writeable metadata, Writer writer) { in dumpMetadata()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIndentingPrintWriter.java23 import java.io.Writer;
49 public IndentingPrintWriter(@NonNull Writer writer) { in IndentingPrintWriter()
53 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent) { in IndentingPrintWriter()
57 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
62 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
67 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
DLogging.java33 import java.io.Writer;
63 private static Writer sWriter;
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DIndentingPrintWriter.java23 import java.io.Writer;
56 public IndentingPrintWriter(@NonNull Writer writer) { in IndentingPrintWriter()
60 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent) { in IndentingPrintWriter()
64 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
69 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
74 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
/packages/modules/Connectivity/service/src/com/android/server/net/
DDelayedDiskWrite.java76 public interface Writer { interface in DelayedDiskWrite
86 public void write(final String filePath, final Writer w) { in write()
93 public void write(final String filePath, final Writer w, final boolean open) { in write()
115 private void doWrite(String filePath, Writer w, boolean open) { in doWrite()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorage.java150 private Writer createWriter(int slot) throws IOException { in createWriter()
152 return new Writer(file); in createWriter()
206 public static final class Writer implements Closeable { class in ClipStorage
211 private Writer(File file) throws IOException { in Writer() method in ClipStorage.Writer
267 try(Writer writer = mClipStore.createWriter(mSlot)){ in doInBackground()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsOperationRecorder.java49 private static final VmsOperationRecorder INSTANCE = new VmsOperationRecorder(new Writer());
50 private final Writer mWriter;
54 public VmsOperationRecorder(Writer writer) { in VmsOperationRecorder()
295 public static class Writer { class in VmsOperationRecorder
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DIndentingPrintWriter.java20 import java.io.Writer;
50 public IndentingPrintWriter(Writer writer, String singleIndent) { in IndentingPrintWriter()
54 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) { in IndentingPrintWriter()
/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/
DGeonamesComparison.java36 import java.io.Writer;
152 try (Writer writer = new OutputStreamWriter(new FileOutputStream(outputFile), in outputKnownDifferences()
162 try (Writer writer = new OutputStreamWriter(new FileOutputStream(outputFile), in outputKnownDifferenceMismatches()
324 try (Writer writer = new OutputStreamWriter(new FileOutputStream(outputFile), in outputResultCounts()
/packages/apps/TvFeedbackConsent/src/com/android/tv/feedbackconsent/
DTvFeedbackConsentService.java50 import java.io.Writer;
173 Writer writer = new OutputStreamWriter(out, StandardCharsets.UTF_8)) {
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherLayoutBuilder.kt42 import java.io.Writer in <lambda>()
70 fun build(writer: Writer) { in <lambda>()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportProcessor.java43 import java.io.Writer;
120 Writer writer = null; in runInternal()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsOperationRecorderTest.java47 private static final class TestWriter extends VmsOperationRecorder.Writer {
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DIpConfigStoreTest.java210 public void write(String filePath, Writer w) { in write()
/packages/modules/Virtualization/tests/benchmark/src/java/com/android/microdroid/benchmark/
DMicrodroidBenchmarks.java66 import java.io.Writer;
798 Writer writer = new OutputStreamWriter(output); in testVsockLatency()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEpochManagerTest.java69 import java.io.Writer;
988 PrintWriter printWriter = new PrintWriter(new Writer() { in testDump()
DCacheManagerTest.java65 import java.io.Writer;
1539 PrintWriter printWriter = new PrintWriter(new Writer() { in testDump()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.3.txt819 android.car.vms VmsOperationRecorder VmsOperationRecorder VmsOperationRecorder(Writer writer)
820 android.car.vms VmsOperationRecorder.Writer boolean isEnabled()
821 android.car.vms VmsOperationRecorder.Writer void write(String msg)
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java102 import java.io.Writer;
493 Writer writer = new OutputStreamWriter(output); in connectVsock()

12