Home
last modified time | relevance | path

Searched refs:ActiveLinkMonitor (Results 1 – 8 of 8) sorted by relevance

/system/connectivity/shill/
Dactive_link_monitor.cc47 const int ActiveLinkMonitor::kDefaultTestPeriodMilliseconds = 5000;
48 const int ActiveLinkMonitor::kFailureThreshold = 5;
49 const int ActiveLinkMonitor::kFastTestPeriodMilliseconds = 200;
50 const int ActiveLinkMonitor::kMaxResponseSampleFilterDepth = 5;
51 const int ActiveLinkMonitor::kUnicastReplyReliabilityThreshold = 10;
53 ActiveLinkMonitor::ActiveLinkMonitor(const ConnectionRefPtr& connection, in ActiveLinkMonitor() function in shill::ActiveLinkMonitor
81 ActiveLinkMonitor::~ActiveLinkMonitor() { in ~ActiveLinkMonitor()
85 bool ActiveLinkMonitor::Start(int test_period) { in Start()
91 void ActiveLinkMonitor::Stop() { in Stop()
109 int ActiveLinkMonitor::GetResponseTimeMilliseconds() const { in GetResponseTimeMilliseconds()
[all …]
Dlink_monitor.cc43 ActiveLinkMonitor::kDefaultTestPeriodMilliseconds;
45 ActiveLinkMonitor::kFailureThreshold;
60 new ActiveLinkMonitor( in LinkMonitor()
87 ActiveLinkMonitor::kDefaultTestPeriodMilliseconds); in Start()
109 active_link_monitor_->Start(ActiveLinkMonitor::kFastTestPeriodMilliseconds); in OnAfterResume()
157 ActiveLinkMonitor::kDefaultTestPeriodMilliseconds); in OnPassiveLinkMonitorResultCallback()
Dactive_link_monitor.h49 class ActiveLinkMonitor {
69 ActiveLinkMonitor(const ConnectionRefPtr& connection,
75 virtual ~ActiveLinkMonitor();
209 DISALLOW_COPY_AND_ASSIGN(ActiveLinkMonitor);
Dactive_link_monitor_unittest.cc85 const ActiveLinkMonitor::FailureCallback failure_callback() { in failure_callback()
89 const ActiveLinkMonitor::SuccessCallback success_callback() { in success_callback()
94 ActiveLinkMonitor::FailureCallback failure_callback_;
95 ActiveLinkMonitor::SuccessCallback success_callback_;
194 return ActiveLinkMonitor::HardwareAddressToString(address); in HardwareAddressToString()
234 return ActiveLinkMonitor::kDefaultTestPeriodMilliseconds; in GetDefaultTestPeriodMilliseconds()
237 return ActiveLinkMonitor::kFailureThreshold; in GetFailureThreshold()
240 return ActiveLinkMonitor::kUnicastReplyReliabilityThreshold; in GetUnicastReplyReliabilityThreshold()
243 return ActiveLinkMonitor::kFastTestPeriodMilliseconds; in GetFastTestPeriodMilliseconds()
246 return ActiveLinkMonitor::kMaxResponseSampleFilterDepth; in GetMaxResponseSampleFilterDepth()
[all …]
Dlink_monitor_unittest.cc167 Start(ActiveLinkMonitor::kDefaultTestPeriodMilliseconds)) in TEST_F()
173 Start(ActiveLinkMonitor::kDefaultTestPeriodMilliseconds)) in TEST_F()
194 Start(ActiveLinkMonitor::kFastTestPeriodMilliseconds)); in TEST_F()
204 Start(ActiveLinkMonitor::kDefaultTestPeriodMilliseconds)) in TEST_F()
264 Start(ActiveLinkMonitor::kDefaultTestPeriodMilliseconds)); in TEST_F()
269 Start(ActiveLinkMonitor::kDefaultTestPeriodMilliseconds)); in TEST_F()
Dlink_monitor.h34 class ActiveLinkMonitor; variable
109 std::unique_ptr<ActiveLinkMonitor> active_link_monitor_;
Dmock_active_link_monitor.cc24 : ActiveLinkMonitor(nullptr, nullptr, nullptr, nullptr, FailureCallback(), in MockActiveLinkMonitor()
Dmock_active_link_monitor.h29 class MockActiveLinkMonitor : public ActiveLinkMonitor {