Searched refs:isLoopbackSocket (Results 1 – 3 of 3) sorted by relevance
38 static bool isLoopbackSocket(const inet_diag_msg *msg) { in isLoopbackSocket() function in android::net::SockDiagTest39 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 …]
98 static bool isLoopbackSocket(const inet_diag_msg *msg);
248 bool SockDiag::isLoopbackSocket(const inet_diag_msg *msg) { in isLoopbackSocket() function in android::net::SockDiag385 !(excludeLoopback && isLoopbackSocket(msg)); in destroySockets()417 !(excludeLoopback && isLoopbackSocket(msg)); in destroySockets()514 return msg != nullptr && !(excludeLoopback && isLoopbackSocket(msg)); in destroySocketsLackingPermission()