Put most of netd into the android::net namespace.
Test: netd_{unit,integration}_test pass
Test: bullhead builds, boots
Bug: 34873832
Change-Id: I0a252328041b342f9c03cd08c11a69d452b045b3
diff --git a/server/NetlinkHandler.cpp b/server/NetlinkHandler.cpp
index e9a11ba..ac6f5a3 100644
--- a/server/NetlinkHandler.cpp
+++ b/server/NetlinkHandler.cpp
@@ -34,6 +34,9 @@
static const char *kUpdated = "updated";
static const char *kRemoved = "removed";
+namespace android {
+namespace net {
+
NetlinkHandler::NetlinkHandler(NetlinkManager *nm, int listenerSocket,
int format) :
NetlinkListener(listenerSocket, format) {
@@ -224,3 +227,6 @@
void NetlinkHandler::notifyStrictCleartext(const char* uid, const char* hex) {
notify(ResponseCode::StrictCleartext, "%s %s", uid, hex);
}
+
+} // namespace net
+} // namespace android