Home
last modified time | relevance | path

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

123

/frameworks/av/media/libnblog/
DWriter.cpp36 Writer::Writer(void *shared, size_t size) in Writer() function in android::NBLog::Writer
58 Writer::Writer(const sp<IMemory>& iMemory, size_t size) in Writer() function in android::NBLog::Writer
59 : Writer(iMemory != 0 ? (Shared *) iMemory->pointer() : NULL, size) in Writer()
64 Writer::~Writer() in ~Writer()
71 void Writer::log(const char *string) in log()
84 void Writer::logf(const char *fmt, ...) in logf()
91 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWriter in logf()
95 void Writer::logTimestamp() in logTimestamp()
106 void Writer::logFormat(const char *fmt, log_hash_t hash, ...) in logFormat()
113 Writer::logVFormat(fmt, hash, ap); in logFormat()
[all …]
DAndroid.bp12 "Writer.cpp",
/frameworks/av/services/audioflinger/
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 #define LOG_LATENCY(ms) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
106 #define LOG_OVERRUN(ns) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
111 #define LOG_THREAD_INFO(info) do { NBLog::Writer *x = tlNBLogWriter; \
114 #define LOG_THREAD_PARAMS(params) do {NBLog::Writer *x = tlNBLogWriter; \
118 #define LOG_UNDERRUN(ns) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
122 #define LOG_WARMUP_TIME(ms) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
127 #define LOG_WORK_TIME(ns) do { NBLog::Writer *x = tlNBLogWriter; if (x != nullptr) \
[all …]
DFastThread.h44 virtual void setNBLogWriter(NBLog::Writer *logWriter __unused) { } in setNBLogWriter()
84 const sp<NBLog::Writer> mDummyNBLogWriter{new NBLog::Writer()};
DTypedLogger.cpp26 thread_local NBLog::Writer *tlNBLogWriter;
DFastThreadState.h47 NBLog::Writer* mNBLogWriter; // non-blocking logger
/frameworks/av/media/libnblog/include/media/nblog/
DWriter.h44 class Writer : public RefBase {
46 Writer() = default; // dummy nop implementation without shared memory
50 Writer(void *shared, size_t size);
51 Writer(const sp<IMemory>& iMemory, size_t size);
53 ~Writer() override;
121 class LockedWriter : public Writer {
DTimeline.h54 friend class Writer;
/frameworks/base/services/core/java/com/android/server/net/
DDelayedDiskWrite.java36 public interface Writer { interface in DelayedDiskWrite
40 public void write(final String filePath, final Writer w) { in write()
44 public void write(final String filePath, final Writer w, final boolean open) { in write()
66 private void doWrite(String filePath, Writer w, boolean open) { in doWrite()
/frameworks/base/opengl/java/android/opengl/
DGLDebugHelper.java19 import java.io.Writer;
79 public static GL wrap(GL gl, int configFlags, Writer log) { in wrap()
100 public static EGL wrap(EGL egl, int configFlags, Writer log) { in wrap()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaPlayerStressTest.java34 import java.io.Writer;
73 private void writeTestOutput(String filename, Writer output) throws Exception{ in writeTestOutput()
87 private void writeTestSummary(Writer output) throws Exception{ in writeTestSummary()
124 Writer output = new BufferedWriter(new FileWriter(playbackOutput, true)); in testVideoPlayback()
DMediaPlayerStreamingStressTest.java36 import java.io.Writer;
77 private void writeTestOutput(String filename, Writer output) throws Exception{ in writeTestOutput()
89 private void writeTestSummary(Writer output) throws Exception{ in writeTestSummary()
121 Writer output = new BufferedWriter(new FileWriter(playbackOutput, true)); in testVideoPlayback()
/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java27 import java.io.Writer;
36 private static class DummyWriter extends Writer {
63 final private Writer mWriter;
151 public FastPrintWriter(Writer wr) { in FastPrintWriter()
169 public FastPrintWriter(Writer wr, boolean autoFlush) { in FastPrintWriter()
190 public FastPrintWriter(Writer wr, boolean autoFlush, int bufferLen) { in FastPrintWriter()
DIndentingPrintWriter.java22 import java.io.Writer;
53 public IndentingPrintWriter(Writer writer, String singleIndent) { in IndentingPrintWriter()
57 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) { in IndentingPrintWriter()
DLineBreakBufferedWriter.java20 import java.io.Writer;
68 public LineBreakBufferedWriter(Writer out, int bufferSize) { in LineBreakBufferedWriter()
79 public LineBreakBufferedWriter(Writer out, int bufferSize, int initialCapacity) { in LineBreakBufferedWriter()
DFileRotator.java75 public interface Writer { interface in FileRotator
83 public interface Rewriter extends Reader, Writer {
188 public void combineActive(final Reader reader, final Writer writer, long currentTimeMillis) in combineActive()
378 private static void writeFile(File file, Writer writer) throws IOException { in writeFile()
/frameworks/base/core/java/android/util/
DLogWriter.java21 import java.io.Writer;
24 public class LogWriter extends Writer {
DJsonWriter.java21 import java.io.Writer;
123 private final Writer out;
148 public JsonWriter(Writer out) { in JsonWriter()
/frameworks/av/media/libstagefright/webm/tests/
DREADME.md3 #### Webm Writer Utility Tests :
4 The Webm Writer Utility Test Suite validates the APIs being used by the WebmWriter.
/frameworks/av/media/libstagefright/tests/writer/
DREADME.md3 #### Writer :
4 The Writer Test Suite validates the writers available in libstagefright.
/frameworks/base/tools/preload/
DWritePreloadedClassFile.java21 import java.io.Writer;
57 Writer out = new BufferedWriter(new OutputStreamWriter( in main()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java25 import java.io.Writer;
42 private Writer mOutput = null;
/frameworks/base/libs/androidfw/
DZipUtils.cpp103 class BufferWriter : public zip_archive::Writer {
105 BufferWriter(void* output, size_t outputSize) : Writer(), in BufferWriter()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java31 import com.android.internal.util.FileRotator.Writer;
189 rotate.combineActive(reader, new Writer() { in testThrowRestoresBackup()
396 private static Writer writer(final String value) { in writer()
397 return new Writer() { in writer()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerActivity.java42 import java.io.Writer;
203 private void closeWriter(Writer exportWriter) { in closeWriter()

123