Lines Matching refs:monitor_
74 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()
176 monitor_.Stop(); in TEST_F()
192 monitor_.BuildIPPortToTxQueueLength(socket_infos, &tx_queue_lengths); in TEST_F()
212 monitor_.BuildIPPortToTxQueueLength(socket_infos, &tx_queue_lengths); in TEST_F()
228 monitor_.BuildIPPortToTxQueueLength(socket_infos, &tx_queue_lengths); in TEST_F()
244 monitor_.BuildIPPortToTxQueueLength(socket_infos, &tx_queue_lengths); in TEST_F()
260 monitor_.BuildIPPortToTxQueueLength(socket_infos, &tx_queue_lengths); in TEST_F()
312 monitor_.BuildIPPortToTxQueueLength(socket_infos, &tx_queue_lengths); in TEST_F()
332 monitor_.set_network_problem_detected_callback( in TEST_F()
335 monitor_.SampleTraffic(); in TEST_F()
341 monitor_.SampleTraffic(); in TEST_F()
347 monitor_.SampleTraffic(); in TEST_F()
362 monitor_.set_network_problem_detected_callback( in TEST_F()
365 monitor_.SampleTraffic(); in TEST_F()
381 monitor_.SampleTraffic(); in TEST_F()
396 monitor_.set_network_problem_detected_callback( in TEST_F()
399 monitor_.SampleTraffic(); in TEST_F()
414 monitor_.SampleTraffic(); in TEST_F()
430 monitor_.SampleTraffic(); in TEST_F()
445 monitor_.set_network_problem_detected_callback( in TEST_F()
448 monitor_.SampleTraffic(); in TEST_F()
461 monitor_.SampleTraffic(); in TEST_F()
462 EXPECT_EQ(0, monitor_.accummulated_congested_tx_queues_samples_); in TEST_F()
477 monitor_.set_network_problem_detected_callback( in TEST_F()
480 monitor_.SampleTraffic(); in TEST_F()
484 monitor_.SampleTraffic(); in TEST_F()
485 EXPECT_EQ(0, monitor_.accummulated_congested_tx_queues_samples_); in TEST_F()
500 monitor_.set_network_problem_detected_callback( in TEST_F()
503 monitor_.SampleTraffic(); in TEST_F()
516 monitor_.SampleTraffic(); in TEST_F()
517 EXPECT_EQ(0, monitor_.accummulated_congested_tx_queues_samples_); in TEST_F()
530 monitor_.set_network_problem_detected_callback( in TEST_F()
537 monitor_.SampleTraffic(); in TEST_F()
544 monitor_.SampleTraffic(); in TEST_F()
549 monitor_.SampleTraffic(); in TEST_F()
562 monitor_.set_network_problem_detected_callback( in TEST_F()
567 monitor_.SampleTraffic(); in TEST_F()
581 monitor_.set_network_problem_detected_callback( in TEST_F()
586 monitor_.SampleTraffic(); in TEST_F()
600 monitor_.set_network_problem_detected_callback( in TEST_F()
605 monitor_.SampleTraffic(); in TEST_F()
619 monitor_.SampleTraffic(); in TEST_F()
620 EXPECT_EQ(0, monitor_.accummulated_dns_failures_samples_); in TEST_F()
633 monitor_.set_network_problem_detected_callback( in TEST_F()
638 monitor_.SampleTraffic(); in TEST_F()
652 monitor_.set_network_problem_detected_callback( in TEST_F()
657 monitor_.SampleTraffic(); in TEST_F()
672 monitor_.set_network_problem_detected_callback( in TEST_F()
677 monitor_.SampleTraffic(); in TEST_F()
692 monitor_.set_network_problem_detected_callback( in TEST_F()
697 monitor_.SampleTraffic(); in TEST_F()
704 monitor_.accummulated_dns_failures_samples_ = 1; in TEST_F()
705 monitor_.SampleTraffic(); in TEST_F()
706 EXPECT_EQ(0, monitor_.accummulated_dns_failures_samples_); in TEST_F()