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()
232 EXPECT_TRUE(isLoopbackSocket(&msg)); in TEST_F()
235 EXPECT_TRUE(isLoopbackSocket(&msg)); in TEST_F()
238 EXPECT_TRUE(isLoopbackSocket(&msg)); in TEST_F()
241 EXPECT_TRUE(isLoopbackSocket(&msg)); in TEST_F()
244 EXPECT_FALSE(isLoopbackSocket(&msg)); in TEST_F()
247 EXPECT_TRUE(isLoopbackSocket(&msg)); in TEST_F()
[all …]
DSockDiag.cpp260 bool SockDiag::isLoopbackSocket(const inet_diag_msg *msg) { in isLoopbackSocket() function in android::net::SockDiag
402 !(excludeLoopback && isLoopbackSocket(msg)); in destroySockets()
434 !(excludeLoopback && isLoopbackSocket(msg)) && in destroySockets()
532 return msg != nullptr && !(excludeLoopback && isLoopbackSocket(msg)); in destroySocketsLackingPermission()
DSockDiag.h98 static bool isLoopbackSocket(const inet_diag_msg *msg);