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/VirtualNetwork.cpp b/server/VirtualNetwork.cpp
index 6daa50d..49418eb 100644
--- a/server/VirtualNetwork.cpp
+++ b/server/VirtualNetwork.cpp
@@ -23,6 +23,9 @@
#define LOG_TAG "Netd"
#include "log/log.h"
+namespace android {
+namespace net {
+
VirtualNetwork::VirtualNetwork(unsigned netId, bool hasDns, bool secure) :
Network(netId), mHasDns(hasDns), mSecure(secure) {
}
@@ -121,3 +124,6 @@
mInterfaces.erase(interface);
return 0;
}
+
+} // namespace net
+} // namespace android