Searched refs:trial_result (Results 1 – 9 of 9) sorted by relevance
/system/connectivity/shill/ |
D | portal_detector.cc | 123 void PortalDetector::CompleteAttempt(ConnectivityTrial::Result trial_result) { in CompleteAttempt() argument 124 Result result = Result(trial_result); in CompleteAttempt() 125 if (trial_result.status == ConnectivityTrial::kStatusFailure && in CompleteAttempt() 126 trial_result.phase == ConnectivityTrial::kPhaseContent) { in CompleteAttempt() 134 trial_result.phase).c_str(), in CompleteAttempt() 136 trial_result.status).c_str(), in CompleteAttempt() 139 if (trial_result.status == ConnectivityTrial::kStatusSuccess || in CompleteAttempt()
|
D | portal_detector.h | 59 : trial_result(ConnectivityTrial::Result()), in Result() 63 : trial_result(result_in), in Result() 69 : trial_result(result_in), in Result() 73 ConnectivityTrial::Result trial_result; member
|
D | metrics_unittest.cc | 391 ConnectivityTrial::Result trial_result(ConnectivityTrial::kPhaseDNS, in TEST_F() local 393 PortalDetector::Result result(trial_result, 0, true); in TEST_F() 398 result.trial_result.phase = ConnectivityTrial::kPhaseDNS; in TEST_F() 399 result.trial_result.status = ConnectivityTrial::kStatusTimeout; in TEST_F() 403 result.trial_result.phase = ConnectivityTrial::kPhaseConnection; in TEST_F() 404 result.trial_result.status = ConnectivityTrial::kStatusFailure; in TEST_F() 408 result.trial_result.phase = ConnectivityTrial::kPhaseConnection; in TEST_F() 409 result.trial_result.status = ConnectivityTrial::kStatusTimeout; in TEST_F() 413 result.trial_result.phase = ConnectivityTrial::kPhaseHTTP; in TEST_F() 414 result.trial_result.status = ConnectivityTrial::kStatusFailure; in TEST_F() [all …]
|
D | connectivity_trial_unittest.cc | 450 ResultMapping() : http_result(HTTPRequest::kResultUnknown), trial_result() {} in ResultMapping() 454 trial_result(in_trial_result) {} in ResultMapping() 456 ConnectivityTrial::Result trial_result; member 463 ConnectivityTrial::Result trial_result = in TEST_P() local 466 EXPECT_EQ(trial_result.phase, GetParam().trial_result.phase); in TEST_P() 467 EXPECT_EQ(trial_result.status, GetParam().trial_result.status); in TEST_P()
|
D | portal_detector_unittest.cc | 63 return (result.trial_result.phase == arg.trial_result.phase && 64 result.trial_result.status == arg.trial_result.status &&
|
D | connection_diagnostics.cc | 290 if (result.trial_result.status == ConnectivityTrial::kStatusSuccess) { in StartAfterPortalDetectionInternal() 292 } else if (result.trial_result.status == ConnectivityTrial::kStatusTimeout) { in StartAfterPortalDetectionInternal() 298 switch (result.trial_result.phase) { in StartAfterPortalDetectionInternal() 309 if (result.trial_result.status == ConnectivityTrial::kStatusSuccess) { in StartAfterPortalDetectionInternal() 313 } else if (result.trial_result.status == in StartAfterPortalDetectionInternal() 330 if (result.trial_result.status == ConnectivityTrial::kStatusSuccess) { in StartAfterPortalDetectionInternal()
|
D | device.cc | 1660 result.trial_result.status); in PortalDetectorCallback() 1667 result.trial_result.status); in PortalDetectorCallback() 1678 if (result.trial_result.status == ConnectivityTrial::kStatusSuccess) { in PortalDetectorCallback() 1692 ConnectivityTrial::PhaseToString(result.trial_result.phase), in PortalDetectorCallback() 1693 ConnectivityTrial::StatusToString(result.trial_result.status)); in PortalDetectorCallback()
|
D | device_unittest.cc | 2098 result.trial_result.phase == arg.trial_result.phase && 2099 result.trial_result.status == arg.trial_result.status);
|
D | metrics.cc | 582 ConnectivityTrial::Result result = portal_result.trial_result; in PortalDetectionResultToEnum()
|