Home
last modified time | relevance | path

Searched refs:diagnostic_events_ (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/
Dconnection_diagnostics.cc231 diagnostic_events_.clear(); in Stop()
265 diagnostic_events_.push_back(Event(type, phase, result, message)); in AddEventWithMessage()
274 for (size_t i = 0; i < diagnostic_events_.size(); ++i) { in ReportResultAndStop()
276 << EventToString(diagnostic_events_[i]); in ReportResultAndStop()
280 result_callback_.Run(issue, diagnostic_events_); in ReportResultAndStop()
885 int event_index = diagnostic_events_.size() - 1 - num_events_ago; in DoesPreviousEventMatch()
889 << diagnostic_events_.size() << " logged"; in DoesPreviousEventMatch()
893 return (diagnostic_events_[event_index].type == type && in DoesPreviousEventMatch()
894 diagnostic_events_[event_index].phase == phase && in DoesPreviousEventMatch()
895 diagnostic_events_[event_index].result == result); in DoesPreviousEventMatch()
Dconnection_diagnostics.h380 std::vector<Event> diagnostic_events_; variable
Dconnection_diagnostics_unittest.cc232 connection_diagnostics_.diagnostic_events_.push_back( in AddActualEvent()
257 EXPECT_TRUE(connection_diagnostics_.diagnostic_events_.empty()); in VerifyStopped()
286 EXPECT_TRUE(connection_diagnostics_.diagnostic_events_.empty()); in ExpectPortalDetectionStartSuccess()