summaryrefslogtreecommitdiffstats
path: root/server/SockDiagTest.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2017-02-13 18:29:00 +0900
committerLorenzo Colitti <lorenzo@google.com>2017-02-14 12:46:43 +0900
commit7035f228d17e925116b1b64a7c917b3196ab8818 (patch)
tree9b9885872f05379d891a070e84b09b45c0afd37d /server/SockDiagTest.cpp
parent1e1253aaaf196a76cfdd0bc5e94e6ad2ca4e7b25 (diff)
downloadplatform_system_netd-7035f228d17e925116b1b64a7c917b3196ab8818.tar.gz
platform_system_netd-7035f228d17e925116b1b64a7c917b3196ab8818.tar.bz2
platform_system_netd-7035f228d17e925116b1b64a7c917b3196ab8818.zip
Put most of netd into the android::net namespace.
Test: netd_{unit,integration}_test pass Test: bullhead builds, boots Bug: 34873832 Change-Id: I0a252328041b342f9c03cd08c11a69d452b045b3
Diffstat (limited to 'server/SockDiagTest.cpp')
-rw-r--r--server/SockDiagTest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/SockDiagTest.cpp b/server/SockDiagTest.cpp
index 70a199d91..d839a5d4f 100644
--- a/server/SockDiagTest.cpp
+++ b/server/SockDiagTest.cpp
@@ -30,6 +30,9 @@
#include "SockDiag.h"
#include "UidRanges.h"
+namespace android {
+namespace net {
+
class SockDiagTest : public ::testing::Test {
protected:
static bool isLoopbackSocket(const inet_diag_msg *msg) {
@@ -534,3 +537,6 @@ INSTANTIATE_TEST_CASE_P(Address, SockDiagMicroBenchmarkTest,
testing::Values(ADDRESS, UID, UIDRANGE,
UID_EXCLUDE_LOOPBACK, UIDRANGE_EXCLUDE_LOOPBACK,
PERMISSION));
+
+} // namespace net
+} // namespace android