Home
last modified time | relevance | path

Searched refs:link_monitor (Results 1 – 6 of 6) sorted by relevance

/system/connectivity/shill/
Ddevice_unittest.cc222 void SetLinkMonitor(LinkMonitor* link_monitor) { in SetLinkMonitor() argument
223 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() local
1046 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() local
1106 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 …]
Ddevice.h659 const LinkMonitor* link_monitor() const { return link_monitor_.get(); } in link_monitor() function
660 void set_link_monitor(LinkMonitor* link_monitor);
Ddevice.cc1382 void Device::set_link_monitor(LinkMonitor* link_monitor) { in set_link_monitor() argument
1383 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()
Dshill.gyp504 'link_monitor.cc',
/system/connectivity/shill/wifi/
Dwifi_unittest.cc1229 void SetLinkMonitor(LinkMonitor* link_monitor) { in SetLinkMonitor() argument
1230 wifi_->set_link_monitor(link_monitor); in SetLinkMonitor()
3230 auto link_monitor = new StrictMock<MockLinkMonitor>(); in TEST_F() local
3232 SetLinkMonitor(link_monitor); in TEST_F()
3234 EXPECT_CALL(*link_monitor, IsGatewayFound()) in TEST_F()
Dwifi.cc1743 if (!link_monitor()->IsGatewayFound()) { in OnLinkMonitorFailure()