Lines Matching defs:candidate
215 * @return true - if a candidate is selected by QNS
216 * false - if no candidate is selected by QNS
220 WifiConfiguration candidate =
228 if (candidate != null) {
229 localLog(listenerName + ": QNS candidate-" + candidate.SSID);
230 connectToNetwork(candidate);
392 // QNS selects a candidate from the PNO scan results.
551 * Attempt to connect to a network candidate.
554 * connect or roam to the network candidate recommended by QNS.
556 private void connectToNetwork(WifiConfiguration candidate) {
557 ScanResult scanResultCandidate = candidate.getNetworkSelectionStatus().getCandidate();
559 Log.e(TAG, "connectToNetwork: bad candidate - " + candidate
565 String targetAssociationId = candidate.SSID + " : " + targetBssid;
596 && (currentConnectedNetwork.networkId == candidate.networkId
597 || currentConnectedNetwork.isLinked(candidate))) {
600 mStateMachine.autoRoamToNetwork(candidate.networkId, scanResultCandidate);
604 mStateMachine.autoConnectToNetwork(candidate.networkId, scanResultCandidate.BSSID);
1024 // Disabling a BSSID can happen when the AP candidate to connect to has
1026 // can give us another candidate to connect to.