Searched refs:PassiveLinkMonitor (Results 1 – 8 of 8) sorted by relevance
42 const int PassiveLinkMonitor::kDefaultMonitorCycles = 40;43 const int PassiveLinkMonitor::kCyclePeriodMilliseconds = 25000;44 const int PassiveLinkMonitor::kMinArpRequestsPerCycle = 5;46 PassiveLinkMonitor::PassiveLinkMonitor(const ConnectionRefPtr& connection, in PassiveLinkMonitor() function in shill::PassiveLinkMonitor61 PassiveLinkMonitor::~PassiveLinkMonitor() { in ~PassiveLinkMonitor()65 bool PassiveLinkMonitor::Start(int num_cycles) { in Start()74 Bind(&PassiveLinkMonitor::CycleTimeoutHandler, Unretained(this))); in Start()81 void PassiveLinkMonitor::Stop() { in Stop()90 bool PassiveLinkMonitor::StartArpClient() { in StartArpClient()98 Bind(&PassiveLinkMonitor::ReceiveRequest, Unretained(this)))); in StartArpClient()[all …]
38 class PassiveLinkMonitor {45 PassiveLinkMonitor(const ConnectionRefPtr& connection,48 virtual ~PassiveLinkMonitor();101 DISALLOW_COPY_AND_ASSIGN(PassiveLinkMonitor);
70 const PassiveLinkMonitor::ResultCallback result_callback() { in result_callback()75 PassiveLinkMonitor::ResultCallback result_callback_;142 PassiveLinkMonitor link_monitor_;148 EXPECT_FALSE(link_monitor_.Start(PassiveLinkMonitor::kDefaultMonitorCycles)); in TEST_F()156 EXPECT_TRUE(link_monitor_.Start(PassiveLinkMonitor::kDefaultMonitorCycles)); in TEST_F()253 const int kCurrentCycle = PassiveLinkMonitor::kDefaultMonitorCycles - 1; in TEST_F()261 VerifyCurrentCycleStats(0, PassiveLinkMonitor::kDefaultMonitorCycles); in TEST_F()
37 class PassiveLinkMonitor; variable110 std::unique_ptr<PassiveLinkMonitor> passive_link_monitor_;
24 : PassiveLinkMonitor(nullptr, nullptr, ResultCallback()) {} in MockPassiveLinkMonitor()
70 new PassiveLinkMonitor( in LinkMonitor()149 passive_link_monitor_->Start(PassiveLinkMonitor::kDefaultMonitorCycles); in OnActiveLinkMonitorSuccess()
29 class MockPassiveLinkMonitor : public PassiveLinkMonitor {
243 PassiveLinkMonitor::kDefaultMonitorCycles)).Times(1); in TEST_F()252 PassiveLinkMonitor::kDefaultMonitorCycles)).Times(1); in TEST_F()