Home
last modified time | relevance | path

Searched refs:TrafficMonitor (Results 1 – 12 of 12) sorted by relevance

/system/connectivity/shill/
Dtraffic_monitor.cc41 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::TrafficMonitor
56 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 …]
Dtraffic_monitor_unittest.cc141 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 …]
Dtraffic_monitor.h41 class TrafficMonitor {
52 TrafficMonitor(const DeviceRefPtr& device, EventDispatcher* dispatcher);
53 virtual ~TrafficMonitor();
168 DISALLOW_COPY_AND_ASSIGN(TrafficMonitor);
Dmock_traffic_monitor.cc23 MockTrafficMonitor::MockTrafficMonitor() : TrafficMonitor(nullptr, nullptr) {} in MockTrafficMonitor()
Dmock_traffic_monitor.h26 class MockTrafficMonitor : public TrafficMonitor {
Ddevice.h59 class TrafficMonitor; variable
662 void set_traffic_monitor(TrafficMonitor* traffic_monitor);
856 std::unique_ptr<TrafficMonitor> traffic_monitor_;
Ddevice.cc1539 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()
Ddevice_unittest.cc242 void SetTrafficMonitor(TrafficMonitor* traffic_monitor) { in SetTrafficMonitor()
1167 TEST_F(DeviceTest, TrafficMonitor) { in TEST_F() argument
1193 NetworkProblemDetected(TrafficMonitor::kNetworkProblemDNSFailure); in TEST_F()
/system/connectivity/shill/cellular/
Dactive_passive_out_of_credits_detector.h49 const TrafficMonitor* traffic_monitor() const { in traffic_monitor()
101 void set_traffic_monitor(TrafficMonitor* traffic_monitor);
109 std::unique_ptr<TrafficMonitor> traffic_monitor_;
Dactive_passive_out_of_credits_detector.cc55 new TrafficMonitor(service->cellular(), dispatcher)), in ActivePassiveOutOfCreditsDetector()
284 TrafficMonitor* traffic_monitor) { in set_traffic_monitor()
Dout_of_credits_detector.h32 class TrafficMonitor; variable
Dactive_passive_out_of_credits_detector_unittest.cc102 void SetTrafficMonitor(TrafficMonitor* traffic_monitor) { in SetTrafficMonitor()