Home
last modified time | relevance | path

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

/system/connectivity/shill/
Dconnection_health_checker.cc308 SocketInfo sock_info; in OnConnectionComplete() local
309 if (!GetSocketInfo(sock_fd_, &sock_info) || in OnConnectionComplete()
310 sock_info.connection_state() != in OnConnectionComplete()
322 old_transmit_queue_value_ = sock_info.transmit_queue_value(); in OnConnectionComplete()
344 SocketInfo sock_info; in VerifySentData() local
345 bool sock_info_found = GetSocketInfo(sock_fd_, &sock_info); in VerifySentData()
351 (sock_info.connection_state() != in VerifySentData()
353 sock_info.connection_state() != in VerifySentData()
359 << sock_info.connection_state(); in VerifySentData()
361 } else if (sock_info.transmit_queue_value() > old_transmit_queue_value_ && in VerifySentData()
[all …]
Dconnection_health_checker_unittest.cc259 void ExpectGetSocketInfoReturns(SocketInfo sock_info) { in ExpectGetSocketInfoReturns() argument
261 info_list.push_back(sock_info); in ExpectGetSocketInfoReturns()
470 SocketInfo sock_info; in TEST_F() local
476 EXPECT_FALSE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()
484 EXPECT_FALSE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()
492 EXPECT_FALSE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()
503 EXPECT_FALSE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()
515 EXPECT_FALSE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()
528 EXPECT_TRUE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()
530 .IsSameSocketAs(sock_info)); in TEST_F()
[all …]
Dconnection_health_checker.h187 bool GetSocketInfo(int sock_fd, SocketInfo* sock_info);