summaryrefslogtreecommitdiffstats
path: root/logd/LogBuffer.h
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-09-21 14:22:18 -0700
committerMark Salyzyn <salyzyn@google.com>2014-10-06 22:42:07 +0000
commite72c6e43668c8c6e1af77e2e5038557581cbf148 (patch)
tree13c919741d78d9a97868497f79a3c7599f82984e /logd/LogBuffer.h
parent4fceda2b53dd2b7537bb65cb6ee0d61bee5ab66c (diff)
downloadsystem_core-e72c6e43668c8c6e1af77e2e5038557581cbf148.tar.gz
system_core-e72c6e43668c8c6e1af77e2e5038557581cbf148.tar.bz2
system_core-e72c6e43668c8c6e1af77e2e5038557581cbf148.zip
logd: cleanup
- simplify access and control exposure to class list - indent - compile warning - Follow standard naming convention for variables and methods - merge common fragments - Side Effects: none Change-Id: I74796043ac34753c6dd10018719ebc0bcd94e010
Diffstat (limited to 'logd/LogBuffer.h')
-rw-r--r--logd/LogBuffer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/logd/LogBuffer.h b/logd/LogBuffer.h
index 4b982a878..91175e0c0 100644
--- a/logd/LogBuffer.h
+++ b/logd/LogBuffer.h
@@ -37,8 +37,7 @@ class LogBuffer {
pthread_mutex_t mLogElementsLock;
LogStatistics stats;
-
- bool dgram_qlen_statistics;
+ bool dgramQlenStatistics;
PruneList mPrune;
@@ -66,7 +65,7 @@ public:
void enableDgramQlenStatistics() {
stats.enableDgramQlenStatistics();
- dgram_qlen_statistics = true;
+ dgramQlenStatistics = true;
}
int initPrune(char *cp) { return mPrune.init(cp); }