Home
last modified time | relevance | path

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

/system/connectivity/shill/
Dtraffic_monitor_unittest.cc74 monitor_(device_, &dispatcher_), in TrafficMonitorTest()
85 monitor_.socket_info_reader_.reset( in SetUp()
87 monitor_.connection_info_reader_.reset( in SetUp()
97 EXPECT_TRUE(monitor_.sample_traffic_callback_.IsCancelled()); in VerifyStopped()
98 EXPECT_EQ(0, monitor_.accummulated_congested_tx_queues_samples_); in VerifyStopped()
102 EXPECT_FALSE(monitor_.sample_traffic_callback_.IsCancelled()); in VerifyStarted()
141 TrafficMonitor monitor_; member in shill::TrafficMonitorTest
164 monitor_.Stop(); in TEST_F()
168 monitor_.Start(); in TEST_F()
172 monitor_.Stop(); in TEST_F()
[all …]
Dlink_monitor_unittest.cc93 monitor_(connection_, in LinkMonitorTest()
102 monitor_.active_link_monitor_.reset(active_link_monitor_); in SetUp()
103 monitor_.passive_link_monitor_.reset(passive_link_monitor_); in SetUp()
104 monitor_.time_ = &time_; in SetUp()
124 monitor_.gateway_mac_address_ = gateway_mac_address; in SetGatewayMacAddress()
128 EXPECT_TRUE(monitor_.gateway_mac_address_.Equals(gateway_mac_address)); in VerifyGatewayMacAddress()
134 monitor_.OnActiveLinkMonitorFailure(failure, in TriggerActiveLinkMonitorFailure()
140 monitor_.OnActiveLinkMonitorSuccess(); in TriggerActiveLinkMonitorSuccess()
144 monitor_.OnPassiveLinkMonitorResultCallback(status); in TriggerPassiveLinkMonitorResultCallback()
158 LinkMonitor monitor_; member in shill::LinkMonitorTest
[all …]
Dactive_link_monitor_unittest.cc145 monitor_(connection_, in ActiveLinkMonitorTest()
159 monitor_.arp_client_.reset(client_); in SetUp()
160 monitor_.time_ = &time_; in SetUp()
199 EXPECT_FALSE(monitor_.GetResponseTimeMilliseconds()); in ExpectReset()
212 return monitor_.send_request_callback_; in GetSendRequestCallback()
215 return monitor_.broadcast_failure_count_; in GetBroadcastFailureCount()
218 return monitor_.unicast_failure_count_; in GetUnicastFailureCount()
221 return monitor_.broadcast_success_count_; in GetBroadcastSuccessCount()
224 return monitor_.unicast_success_count_; in GetUnicastSuccessCount()
226 bool IsUnicast() { return monitor_.is_unicast_; } in IsUnicast()
[all …]