Searched refs:Writer (Results 1 - 25 of 32) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/stats/profiler/
H A DGuardingProfiler.java26 private final Writer mGuardWriter;
27 private final Writer mVerboseWriter;
31 public GuardingProfiler(Writer writer, Writer verbose) {
36 public GuardingProfiler(Writer writer, Writer verbose, int maxDurationMillis) {
H A DWriter.java22 public interface Writer { interface
H A DLoggingProfiler.java23 private final Writer mWriter;
26 public LoggingProfiler(Writer writer) {
H A DGuardingProfile.java26 private final Writer mGuardWriter;
27 private final Writer mVerboseWriter;
30 public GuardingProfile(Writer writer, Writer verbose, String name,int maxDuration) {
H A 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 {
[all...]
H A DLoggingProfile.java24 private final Writer mWriter;
27 public LoggingProfile(Writer writer, String name) {
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dwritertest.cpp24 TEST(Writer, Compact) {
27 Writer<StringBuffer> writer(buffer);
41 Writer<StringBuffer> writer(buffer); \
48 TEST(Writer, Root) {
58 TEST(Writer, Int) {
64 TEST(Writer, UInt) {
72 TEST(Writer, Int64) {
77 TEST(Writer, Uint64) {
82 TEST(Writer, String) {
90 Writer<StringBuffe
[all...]
H A Dnamespacetest.cpp48 typedef RAPIDJSON_NAMESPACE::Writer<StringBuffer> WriterType;
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
H A DNullWriter.java19 import java.io.Writer;
22 * This {@link Writer} writes all data to the famous <b>/dev/null</b>.
24 * This <code>Writer</code> has no destination (file/socket etc.) and all
29 public class NullWriter extends Writer {
86 /** @see java.io.Writer#flush() */
91 /** @see java.io.Writer#close() */
H A DProxyWriter.java21 import java.io.Writer;
39 * @param proxy the Writer to delegate to
41 public ProxyWriter(Writer proxy) {
H A DFileWriterWithEncoding.java24 import java.io.Writer;
32 * Writer of files that allows the encoding to be set.
50 public class FileWriterWithEncoding extends Writer {
55 private final Writer out;
222 private static Writer initWriter(File file, Object encoding, boolean append) throws IOException {
231 Writer writer = null;
H A DLockableFileWriter.java25 import java.io.Writer;
50 public class LockableFileWriter extends Writer {
58 private final Writer out;
230 private Writer initWriter(File file, String encoding, boolean append) throws IOException {
233 Writer writer = null;
/packages/apps/Test/connectivity/sl4n/rapidjson/example/condense/
H A Dcondense.cpp23 Writer<FileWriteStream> writer(os);
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/
H A Dsimpledom.cpp23 Writer<StringBuffer> writer(buffer);
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DCopyUtils.java27 import java.io.Writer;
33 * (<code>OutputStream</code>, <code>Writer</code>, <code>String</code> and
85 * 2 copy Reader Writer (primitive)
87 * 3 copy InputStream Writer 2
92 * 6 copy String Writer (trivial)
94 * 7 copy byte[] Writer 3
143 // byte[] -> Writer
148 * <code>Writer</code>.
151 * @param output the <code>Writer</code> to write to
154 public static void copy(byte[] input, Writer outpu
[all...]
H A DIOUtils.java32 import java.io.Writer;
83 // Writer. Each method should take at least one of these as a parameter,
150 * Unconditionally close a <code>Writer</code>.
152 * Equivalent to {@link Writer#close()}, except any exceptions will be ignored.
155 * @param output the Writer to close, may be null or already closed
157 public static void closeQuietly(Writer output) {
639 * Writes bytes from a <code>byte[]</code> to chars on a <code>Writer</code>
646 * @param output the <code>Writer</code> to write to
651 public static void write(byte[] data, Writer output) throws IOException {
658 * Writes bytes from a <code>byte[]</code> to chars on a <code>Writer</cod
[all...]
/packages/apps/Test/connectivity/sl4n/rapidjson/example/serialize/
H A Dserialize.cpp17 template <typename Writer>
18 void Serialize(Writer& writer) const {
42 template <typename Writer>
43 void Serialize(Writer& writer) const {
78 template <typename Writer>
79 void Serialize(Writer& writer) const {
111 template <typename Writer>
112 void Serialize(Writer& writer) const {
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplewriter/
H A Dsimplewriter.cpp10 Writer<StringBuffer> writer(s);
/packages/apps/Camera2/src/com/android/camera/util/
H A DCaptureDataSerializer.java37 import java.io.Writer;
48 public void write(Writer writer) throws IOException;
91 Writer writer) {
94 public void write(Writer writer) throws IOException {
114 Writer writer) {
117 public void write(Writer writer) throws IOException {
164 private static void dumpMetadata(Writeable metadata, Writer writer) {
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
H A Dmisctest.cpp761 template <typename Writer>
764 Writer writer(sb);
774 template <typename Writer>
776 Writer writer;
791 template <typename Writer>
796 Writer writer(sb);
808 template <typename Writer>
813 Writer writer;
826 template <typename Writer>
829 Writer write
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
H A DIndentingPrintWriter.java20 import java.io.Writer;
50 public IndentingPrintWriter(Writer writer, String singleIndent) {
54 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) {
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Dwriter.h38 /*! Writer implements the concept Handler.
54 class Writer { class
64 Writer(OutputStream& os, StackAllocator* stackAllocator = 0, size_t levelDepth = kDefaultLevelDepth) : function in class:Writer
68 Writer(StackAllocator* allocator = 0, size_t levelDepth = kDefaultLevelDepth) : function in class:Writer
74 in order to make a Writer object reusable for output multiple JSONs.
78 Writer<OutputStream> writer(os1);
343 Writer(const Writer&);
344 Writer& operator=(const Writer
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DRfc822Output.java42 import java.io.Writer;
132 final Writer writer = new OutputStreamWriter(stream);
214 private static void writeOneAttachment(Context context, Writer writer, OutputStream out,
294 private static void writeHeader(Writer writer, String name, String value) throws IOException {
310 private static void writeEncodedHeader(Writer writer, String name, String value)
327 private static void writeAddressHeader(Writer writer, String name, String value)
344 private static void writeBoundary(Writer writer, String boundary, boolean end)
365 private static void writeTextWithHeaders(Writer writer, OutputStream out, String[] bodyText)
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/
H A Dcapitalize.cpp56 Writer<FileWriteStream> writer(os);
59 CapitalizeFilter<Writer<FileWriteStream> > filter(writer);
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
H A DClipStorage.java150 private Writer createWriter(int slot) throws IOException {
152 return new Writer(file);
204 public static final class Writer implements Closeable { class in class:ClipStorage
209 private Writer(File file) throws IOException { method in class:ClipStorage.Writer
265 try(Writer writer = mClipStore.createWriter(mSlot)){

Completed in 3495 milliseconds

12