Home
last modified time | relevance | path

Searched refs:isLoopbackSocket (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DSockDiagTest.cpp38 static bool isLoopbackSocket(const inet_diag_msg *msg) { in isLoopbackSocket() function in android::net::SockDiagTest
39 return SockDiag::isLoopbackSocket(msg); in isLoopbackSocket()
121 EXPECT_TRUE(isLoopbackSocket(msg)); in TEST_F()
145 EXPECT_TRUE(isLoopbackSocket(msg)); in TEST_F()
231 EXPECT_TRUE(isLoopbackSocket(&msg)); in TEST_F()
234 EXPECT_TRUE(isLoopbackSocket(&msg)); in TEST_F()
237 EXPECT_TRUE(isLoopbackSocket(&msg)); in TEST_F()
240 EXPECT_TRUE(isLoopbackSocket(&msg)); in TEST_F()
243 EXPECT_FALSE(isLoopbackSocket(&msg)); in TEST_F()
246 EXPECT_TRUE(isLoopbackSocket(&msg)); in TEST_F()
[all …]
DSockDiag.cpp247 bool SockDiag::isLoopbackSocket(const inet_diag_msg *msg) { in isLoopbackSocket() function in android::net::SockDiag
383 !(excludeLoopback && isLoopbackSocket(msg)); in destroySockets()
415 !(excludeLoopback && isLoopbackSocket(msg)); in destroySockets()
512 return msg != nullptr && !(excludeLoopback && isLoopbackSocket(msg)); in destroySocketsLackingPermission()
DSockDiag.h99 static bool isLoopbackSocket(const inet_diag_msg *msg);