Searched refs:link_monitor (Results 1 – 6 of 6) sorted by relevance
222 void SetLinkMonitor(LinkMonitor* link_monitor) { in SetLinkMonitor() argument223 device_->set_link_monitor(link_monitor); // Passes ownership. in SetLinkMonitor()227 return device_->link_monitor(); in HasLinkMonitor()1045 MockLinkMonitor* link_monitor = new StrictMock<MockLinkMonitor>(); in TEST_F() local1046 SetLinkMonitor(link_monitor); // Passes ownership. in TEST_F()1047 EXPECT_CALL(*link_monitor, OnAfterResume()); in TEST_F()1105 MockLinkMonitor* link_monitor = new StrictMock<MockLinkMonitor>(); in TEST_F() local1106 SetLinkMonitor(link_monitor); // Passes ownership. in TEST_F()1108 EXPECT_CALL(*link_monitor, Start()).Times(0); in TEST_F()1114 EXPECT_CALL(*link_monitor, Start()).Times(0); in TEST_F()[all …]
659 const LinkMonitor* link_monitor() const { return link_monitor_.get(); } in link_monitor() function660 void set_link_monitor(LinkMonitor* link_monitor);
1382 void Device::set_link_monitor(LinkMonitor* link_monitor) { in set_link_monitor() argument1383 link_monitor_.reset(link_monitor); in set_link_monitor()1399 if (!link_monitor()) { in StartLinkMonitor()1453 string gateway_mac = link_monitor()->gateway_mac_address().HexEncode(); in OnLinkMonitorGatewayChange()
504 'link_monitor.cc',
1229 void SetLinkMonitor(LinkMonitor* link_monitor) { in SetLinkMonitor() argument1230 wifi_->set_link_monitor(link_monitor); in SetLinkMonitor()3230 auto link_monitor = new StrictMock<MockLinkMonitor>(); in TEST_F() local3232 SetLinkMonitor(link_monitor); in TEST_F()3234 EXPECT_CALL(*link_monitor, IsGatewayFound()) in TEST_F()
1743 if (!link_monitor()->IsGatewayFound()) { in OnLinkMonitorFailure()