• Home
  • Raw
  • Download

Lines Matching refs:new_state

1574 void WiFi::StateChanged(const string& new_state) {  in StateChanged()  argument
1576 supplicant_state_ = new_state; in StateChanged()
1578 << old_state << " -> " << new_state; in StateChanged()
1580 if (new_state == WPASupplicant::kInterfaceStateCompleted || in StateChanged()
1581 new_state == WPASupplicant::kInterfaceState4WayHandshake) { in StateChanged()
1588 new_state != WPASupplicant::kInterfaceStateDisconnected) { in StateChanged()
1611 if (new_state == WPASupplicant::kInterfaceStateCompleted) { in StateChanged()
1648 } else if (new_state == WPASupplicant::kInterfaceStateAssociated) { in StateChanged()
1650 } else if (new_state == WPASupplicant::kInterfaceStateAuthenticating || in StateChanged()
1651 new_state == WPASupplicant::kInterfaceStateAssociating || in StateChanged()
1652 new_state == WPASupplicant::kInterfaceState4WayHandshake || in StateChanged()
1653 new_state == WPASupplicant::kInterfaceStateGroupHandshake) { in StateChanged()
1663 } else if (new_state == WPASupplicant::kInterfaceStateDisconnected && in StateChanged()
2473 void WiFi::SetScanState(ScanState new_state, in SetScanState() argument
2476 if (new_state == kScanIdle) in SetScanState()
2478 if (new_state == kScanConnected) { in SetScanState()
2488 if (new_state == scan_state_ && new_method == scan_method_) { in SetScanState()
2491 } else if (new_state == kScanConnected || new_state == kScanFoundNothing) { in SetScanState()
2502 if (new_state == kScanScanning || new_state == kScanBackgroundScanning) { in SetScanState()
2515 << " -> " << ScanStateString(new_state, new_method) in SetScanState()
2525 scan_state_ = new_state; in SetScanState()
2531 switch (new_state) { in SetScanState()
2541 if (new_state != old_state) { in SetScanState()
2565 ReportScanResultToUma(new_state, old_method); in SetScanState()