Lines Matching refs:failure
957 Service::ConnectFailure failure; in ServiceDisconnected() local
958 if (SuspectCredentials(affected_service, &failure)) { in ServiceDisconnected()
961 affected_service->SetFailure(failure); in ServiceDisconnected()
964 << Service::ConnectFailureToString(failure); in ServiceDisconnected()
1332 Service::ConnectFailure failure = Service::kFailureUnknown; in EAPEventTask() local
1333 eap_state_handler_->ParseStatus(status, parameter, &failure); in EAPEventTask()
1334 if (failure == Service::kFailurePinMissing) { in EAPEventTask()
1345 failure = Service::kFailureUnknown; in EAPEventTask()
1348 if (failure != Service::kFailureUnknown) { in EAPEventTask()
1352 current_service_->DisconnectWithFailure(failure, &unused_error, __func__); in EAPEventTask()
1681 WiFiServiceRefPtr service, Service::ConnectFailure* failure) const { in SuspectCredentials()
1685 if (failure) { in SuspectCredentials()
1686 *failure = Service::kFailureBadPassphrase; in SuspectCredentials()
1693 if (failure) { in SuspectCredentials()
1694 *failure = Service::kFailureEAPAuthentication; in SuspectCredentials()