Searched refs:Writer (Results 1 - 25 of 62) sorted by path

123

/frameworks/av/include/media/
H A DAudioMixer.h148 void setNBLogWriter(NBLog::Writer *logWriter) {
387 NBLog::Writer *mNBLogWriter = nullptr; // associated NBLog::Writer
/frameworks/av/include/media/nblog/
H A DNBLog.h46 class Writer;
230 friend class Writer;
294 // FIXME Timeline was intended to wrap Writer and Reader, but isn't actually used yet.
309 friend class Writer;
320 // Writer is thread-safe with respect to Reader, but not with respect to multiple threads
321 // calling Writer methods. If you need multi-thread safety for writing, use LockedWriter.
322 class Writer : public RefBase { class in class:android::NBLog
324 Writer(); // dummy nop implementation without shared memory
328 Writer(void *shared, size_t size);
329 Writer(cons
[all...]
/frameworks/av/media/libaudioclient/include/media/
H A DAudioMixer.h148 void setNBLogWriter(NBLog::Writer *logWriter) {
387 NBLog::Writer *mNBLogWriter = nullptr; // associated NBLog::Writer
/frameworks/av/media/libnblog/
H A DNBLog.cpp297 NBLog::Writer::Writer() function in class:android::NBLog::Writer
302 NBLog::Writer::Writer(void *shared, size_t size) function in class:android::NBLog::Writer
324 NBLog::Writer::Writer(const sp<IMemory>& iMemory, size_t size) function in class:android::NBLog::Writer
325 : Writer(iMemory != 0 ? (Shared *) iMemory->pointer() : NULL, size)
330 NBLog::Writer::~Writer()
337 void NBLog::Writer
[all...]
/frameworks/av/media/libnblog/include/media/nblog/
H A DNBLog.h46 class Writer;
230 friend class Writer;
294 // FIXME Timeline was intended to wrap Writer and Reader, but isn't actually used yet.
309 friend class Writer;
320 // Writer is thread-safe with respect to Reader, but not with respect to multiple threads
321 // calling Writer methods. If you need multi-thread safety for writing, use LockedWriter.
322 class Writer : public RefBase { class in class:android::NBLog
324 Writer(); // dummy nop implementation without shared memory
328 Writer(void *shared, size_t size);
329 Writer(cons
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp598 sp<NBLog::Writer> AudioFlinger::newWriter_l(size_t size, const char *name)
603 return new NBLog::Writer();
628 return new NBLog::Writer();
635 return new NBLog::Writer(shared, size);
638 void AudioFlinger::unregisterWriter(const sp<NBLog::Writer>& writer)
H A DAudioFlinger.h266 sp<NBLog::Writer> newWriter_l(size_t size, const char *name);
267 void unregisterWriter(const sp<NBLog::Writer>& writer);
285 Vector< sp<NBLog::Writer> > mUnregisteredWriters;
H A DFastCapture.cpp60 void FastCapture::setNBLogWriter(NBLog::Writer *logWriter __unused)
H A DFastCapture.h42 virtual void setNBLogWriter(NBLog::Writer *logWriter);
H A DFastMixer.cpp104 void FastMixer::setNBLogWriter(NBLog::Writer *logWriter)
H A DFastMixer.h49 virtual void setNBLogWriter(NBLog::Writer *logWriter);
H A DFastThread.h44 virtual void setNBLogWriter(NBLog::Writer *logWriter __unused) { }
84 NBLog::Writer mDummyNBLogWriter;
85 NBLog::Writer* mNBLogWriter; // always non-nullptr: real NBLog::Writer* or &mDummyNBLogWriter
H A DFastThreadState.h47 NBLog::Writer* mNBLogWriter; // non-blocking logger
H A DThreads.h493 sp<NBLog::Writer> mNBLogWriter;
1065 sp<NBLog::Writer> mFastMixerNBLogWriter;
1548 sp<NBLog::Writer> mFastCaptureNBLogWriter;
H A DTypedLogger.cpp26 thread_local NBLog::Writer *tlNBLogWriter;
H A DTypedLogger.h88 #define LOGT(fmt, ...) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
93 #define LOG_HIST_TS() do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
97 #define LOG_AUDIO_STATE() do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
102 extern thread_local NBLog::Writer *tlNBLogWriter;
/frameworks/base/config/
H A Dboot-image-profile.txt10177 HPLcom/android/internal/util/FastPrintWriter;-><init>(Ljava/io/Writer;)V
10186 HPLcom/android/internal/util/FileRotator;->writeFile(Ljava/io/File;Lcom/android/internal/util/FileRotator$Writer;)V
10190 HPLcom/android/internal/util/IndentingPrintWriter;-><init>(Ljava/io/Writer;Ljava/lang/String;)V
11003 HPLjava/io/FilterWriter;-><init>(Ljava/io/Writer;)V
11041 HPLjava/io/Writer;-><init>(Ljava/lang/Object;)V
11042 HPLjava/io/Writer;->write(Ljava/lang/String;II)V
[all...]
H A Dpreloaded-classes4726 java.io.Writer
/frameworks/base/core/java/android/util/
H A DJsonWriter.java21 import java.io.Writer;
123 private final Writer out;
145 * For best performance, ensure {@link Writer} is buffered; wrapping in
148 public JsonWriter(Writer out) {
380 * Ensures all buffered data is written to the underlying {@link Writer}
388 * Flushes and closes this writer and the underlying {@link Writer}.
H A DLog.java27 import java.io.Writer;
444 private static class ImmediateLogWriter extends Writer {
H A DLogWriter.java19 import java.io.Writer;
22 public class LogWriter extends Writer {
29 * Create a new Writer that sends to the log with the given priority
/frameworks/base/core/java/com/android/internal/util/
H A DFastPrintWriter.java26 import java.io.Writer;
35 private static class DummyWriter extends Writer {
62 final private Writer mWriter;
141 * FastPrintWriter before sending data to the Writer. This means you must call
142 * flush() before retrieving any data from the Writer.</p>
149 public FastPrintWriter(Writer wr) {
167 public FastPrintWriter(Writer wr, boolean autoFlush) {
188 public FastPrintWriter(Writer wr, boolean autoFlush, int bufferLen) {
H A DFastXmlSerializer.java25 import java.io.Writer;
60 private Writer mWriter;
350 public void setOutput(Writer writer) throws IOException, IllegalArgumentException,
H A DFileRotator.java75 public interface Writer { interface in class:FileRotator
83 public interface Rewriter extends Reader, Writer {
188 public void combineActive(final Reader reader, final Writer writer, long currentTimeMillis)
378 private static void writeFile(File file, Writer writer) throws IOException {
H A DIndentingPrintWriter.java20 import java.io.Writer;
50 public IndentingPrintWriter(Writer writer, String singleIndent) {
54 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) {

Completed in 583 milliseconds

123