Statsd namespace is defined and used
Statsd code now lives in android::os::statsd namespace. Existing files
are largely modified to follow this convention.
Exception: parse_util, since it seems a bit different.
Test: code compiles and existing statsd_tests still pass
Change-Id: Idf92a071b9ed172d01eb3087a4fa3609d67a038c
diff --git a/cmds/statsd/src/LogReader.h b/cmds/statsd/src/LogReader.h
index 08a17a3..4c2afe8 100644
--- a/cmds/statsd/src/LogReader.h
+++ b/cmds/statsd/src/LogReader.h
@@ -18,11 +18,14 @@
#define LOGREADER_H
#include <log/log_read.h>
-
#include <utils/RefBase.h>
#include <vector>
+namespace android {
+namespace os {
+namespace statsd {
+
/**
* Callback for LogReader
*/
@@ -78,4 +81,8 @@
int connect_and_read();
};
+} // namespace statsd
+} // namespace os
+} // namespace android
+
#endif // LOGREADER_H