Searched refs:TrafficMonitor (Results 1 – 12 of 12) sorted by relevance
41 const uint16_t TrafficMonitor::kDnsPort = 53;42 const int64_t TrafficMonitor::kDnsTimedOutThresholdSeconds = 15;43 const int TrafficMonitor::kMinimumFailedSamplesToTrigger = 2;44 const int64_t TrafficMonitor::kSamplingIntervalMilliseconds = 5000;46 TrafficMonitor::TrafficMonitor(const DeviceRefPtr& device, in TrafficMonitor() function in shill::TrafficMonitor56 TrafficMonitor::~TrafficMonitor() { in ~TrafficMonitor()60 void TrafficMonitor::Start() { in Start()64 sample_traffic_callback_.Reset(base::Bind(&TrafficMonitor::SampleTraffic, in Start()70 void TrafficMonitor::Stop() { in Stop()77 void TrafficMonitor::ResetCongestedTxQueuesStats() { in ResetCongestedTxQueuesStats()[all …]
141 TrafficMonitor monitor_;191 TrafficMonitor::IPPortToTxQueueLengthMap tx_queue_lengths; in TEST_F()211 TrafficMonitor::IPPortToTxQueueLengthMap tx_queue_lengths; in TEST_F()227 TrafficMonitor::IPPortToTxQueueLengthMap tx_queue_lengths; in TEST_F()243 TrafficMonitor::IPPortToTxQueueLengthMap tx_queue_lengths; in TEST_F()259 TrafficMonitor::IPPortToTxQueueLengthMap tx_queue_lengths; in TEST_F()311 TrafficMonitor::IPPortToTxQueueLengthMap tx_queue_lengths; in TEST_F()340 TrafficMonitor::kNetworkProblemCongestedTxQueue)); in TEST_F()380 TrafficMonitor::kNetworkProblemCongestedTxQueue)); in TEST_F()429 TrafficMonitor::kNetworkProblemCongestedTxQueue)); in TEST_F()[all …]
41 class TrafficMonitor {52 TrafficMonitor(const DeviceRefPtr& device, EventDispatcher* dispatcher);53 virtual ~TrafficMonitor();168 DISALLOW_COPY_AND_ASSIGN(TrafficMonitor);
23 MockTrafficMonitor::MockTrafficMonitor() : TrafficMonitor(nullptr, nullptr) {} in MockTrafficMonitor()
26 class MockTrafficMonitor : public TrafficMonitor {
59 class TrafficMonitor; variable662 void set_traffic_monitor(TrafficMonitor* traffic_monitor);856 std::unique_ptr<TrafficMonitor> traffic_monitor_;
1539 void Device::set_traffic_monitor(TrafficMonitor* traffic_monitor) { in set_traffic_monitor()1572 traffic_monitor_.reset(new TrafficMonitor(this, dispatcher_)); in StartTrafficMonitor()1597 case TrafficMonitor::kNetworkProblemCongestedTxQueue: in OnEncounterNetworkProblem()1600 case TrafficMonitor::kNetworkProblemDNSFailure: in OnEncounterNetworkProblem()
242 void SetTrafficMonitor(TrafficMonitor* traffic_monitor) { in SetTrafficMonitor()1167 TEST_F(DeviceTest, TrafficMonitor) { in TEST_F() argument1193 NetworkProblemDetected(TrafficMonitor::kNetworkProblemDNSFailure); in TEST_F()
49 const TrafficMonitor* traffic_monitor() const { in traffic_monitor()101 void set_traffic_monitor(TrafficMonitor* traffic_monitor);109 std::unique_ptr<TrafficMonitor> traffic_monitor_;
55 new TrafficMonitor(service->cellular(), dispatcher)), in ActivePassiveOutOfCreditsDetector()284 TrafficMonitor* traffic_monitor) { in set_traffic_monitor()
32 class TrafficMonitor; variable
102 void SetTrafficMonitor(TrafficMonitor* traffic_monitor) { in SetTrafficMonitor()