Searched defs:phase (Results 1 - 6 of 6) sorted by path

/system/connectivity/shill/
H A Dconnection_diagnostics.cc250 kEventNames[event.type], kPhaseNames[event.phase],
258 void ConnectionDiagnostics::AddEvent(Type type, Phase phase, Result result) { argument
259 AddEventWithMessage(type, phase, result, "");
262 void ConnectionDiagnostics::AddEventWithMessage(Type type, Phase phase, argument
265 diagnostic_events_.push_back(Event(type, phase, result, message));
298 switch (result.trial_result.phase) {
302 // We have found the issue if we end in the content phase.
311 "success status in DNS phase";
333 " Connection/HTTP/Unknown phase";
882 bool ConnectionDiagnostics::DoesPreviousEventMatch(Type type, Phase phase, argument
[all...]
H A Dconnection_diagnostics.h57 // (B) If portal detection ends in the content phase, the connection is
59 // (C) If the portal detection ends in the DNS phase and failed for any
61 // (D) If the portal detection ends in the DNS phase and failed because of a
71 // (H) If portal detection ends in any other phase (i.e. HTTP or Connection)
163 phase(phase_in),
167 Phase phase; member in struct:shill::ConnectionDiagnostics::Event
233 // Create a new Event with |type|, |phase|, |result|, and an empty message,
235 void AddEvent(Type type, Phase phase, Result result);
239 void AddEventWithMessage(Type type, Phase phase, Result result,
327 // |phase|, an
[all...]
H A Dconnection_diagnostics_unittest.cc78 // Match on type, phase, and result, but not message.
84 expected_events[i].phase != arg[i].phase ||
223 ConnectionDiagnostics::Phase phase,
226 ConnectionDiagnostics::Event(type, phase, result, ""));
230 ConnectionDiagnostics::Phase phase,
233 ConnectionDiagnostics::Event(type, phase, result, ""));
237 ConnectionDiagnostics::Phase phase,
240 return connection_diagnostics_.DoesPreviousEventMatch(type, phase, result,
629 // Otherwise, we end in DNS phase wit
222 AddExpectedEvent(ConnectionDiagnostics::Type type, ConnectionDiagnostics::Phase phase, ConnectionDiagnostics::Result result) argument
229 AddActualEvent(ConnectionDiagnostics::Type type, ConnectionDiagnostics::Phase phase, ConnectionDiagnostics::Result result) argument
236 DoesPreviousEventMatch(ConnectionDiagnostics::Type type, ConnectionDiagnostics::Phase phase, ConnectionDiagnostics::Result result, size_t num_events_ago) argument
[all...]
H A Dconnectivity_trial.cc179 << StringPrintf("Connectivity Trial completed with phase==%s, status==%s",
180 PhaseToString(result.phase).c_str(),
212 const string ConnectivityTrial::PhaseToString(Phase phase) { argument
213 switch (phase) {
H A Dconnectivity_trial.h74 : phase(kPhaseUnknown), status(kStatusFailure) {}
76 : phase(phase_in), status(status_in) {}
77 Phase phase; member in struct:shill::ConnectivityTrial::Result
90 // Static method used to map a portal detection phase tp a string. This
93 static const std::string PhaseToString(Phase phase);
95 // Static method to map from the result of a portal detection phase to a
102 // ConnectivityTrial::Result with the phase set to
H A Dservice.cc448 void Service::SetPortalDetectionFailure(const string& phase, argument
450 portal_detection_failure_phase_ = phase;
452 adaptor_->EmitStringChanged(kPortalDetectionFailedPhaseProperty, phase);

Completed in 104 milliseconds