summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-04-28 22:49:34 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-28 22:49:34 +0000
commit6643b3d878d674dd5be4b589d63dc3e6fc94df72 (patch)
treeb58ef8e63bb7fa6793244fe136d90926e1040a00 /include
parent7e5c635114a7762ad44581300021667a0da97389 (diff)
parentf131f87369ec06fc27fc1f14ea72f0ca1a066509 (diff)
downloadframeworks_av-6643b3d878d674dd5be4b589d63dc3e6fc94df72.zip
frameworks_av-6643b3d878d674dd5be4b589d63dc3e6fc94df72.tar.gz
frameworks_av-6643b3d878d674dd5be4b589d63dc3e6fc94df72.tar.bz2
am f131f873: Merge "Add private method NBLog::Reader::dumpLine()"
* commit 'f131f87369ec06fc27fc1f14ea72f0ca1a066509': Add private method NBLog::Reader::dumpLine()
Diffstat (limited to 'include')
-rw-r--r--include/media/nbaio/NBLog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/nbaio/NBLog.h b/include/media/nbaio/NBLog.h
index 6d59ea7..bcbbc04 100644
--- a/include/media/nbaio/NBLog.h
+++ b/include/media/nbaio/NBLog.h
@@ -25,6 +25,8 @@
namespace android {
+class String8;
+
class NBLog {
public:
@@ -187,6 +189,10 @@ private:
const Shared* const mShared; // raw pointer to shared memory
const sp<IMemory> mIMemory; // ref-counted version
int32_t mFront; // index of oldest acknowledged Entry
+ int mFd; // file descriptor
+ int mIndent; // indentation level
+
+ void dumpLine(const String8& timestamp, String8& body);
static const size_t kSquashTimestamp = 5; // squash this many or more adjacent timestamps
};