Searched defs:PortalDetector (Results 1 - 2 of 2) sorted by relevance

/system/connectivity/shill/
H A Dportal_detector.cc47 const int PortalDetector::kDefaultCheckIntervalSeconds = 30;
48 const char PortalDetector::kDefaultCheckPortalList[] = "ethernet,wifi,cellular";
50 const int PortalDetector::kMaxRequestAttempts = 3;
51 const int PortalDetector::kMinTimeBetweenAttemptsSeconds = 3;
52 const int PortalDetector::kRequestTimeoutSeconds = 10;
53 const int PortalDetector::kMaxFailuresInContentPhase = 2;
55 PortalDetector::PortalDetector( function in class:shill::PortalDetector
58 const Callback<void(const PortalDetector::Result&)>& callback)
65 connectivity_trial_callback_(Bind(&PortalDetector
[all...]
H A Dportal_detector.h37 class PortalDetector;
40 // The PortalDetector class implements the portal detection
55 class PortalDetector { class in namespace:shill
84 // Maximum number of times the PortalDetector will attempt a connection.
87 PortalDetector(ConnectionRefPtr connection,
89 const base::Callback<void(const PortalDetector::Result&)>
91 virtual ~PortalDetector();
98 // be called. The PortalDetector will try up to kMaxRequestAttempts times
101 // be true, otherwise it will be false, and the PortalDetector will
161 base::WeakPtrFactory<PortalDetector> weak_ptr_factory
[all...]

Completed in 44 milliseconds