Searched refs:ScoredCandidate (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | CompatibilityScorer.java | 23 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 78 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 106 return new ScoredCandidate(score + tieBreaker, 10, in scoreCandidate() 111 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates) { in scoreCandidates() 112 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() 114 ScoredCandidate scoredCandidate = scoreCandidate(candidate); in scoreCandidates()
|
D | BubbleFunScorer.java | 23 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 62 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 95 return new ScoredCandidate(score, TYPICAL_SCAN_RSSI_STD * gain, in scoreCandidate() 121 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates) { in scoreCandidates() 122 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() 124 ScoredCandidate scoredCandidate = scoreCandidate(candidate); in scoreCandidates()
|
D | ScoreCardBasedScorer.java | 23 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 86 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 111 return new ScoredCandidate(score, 10, in scoreCandidate() 134 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates) { in scoreCandidates() 135 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() 137 ScoredCandidate scoredCandidate = scoreCandidate(candidate); in scoreCandidates()
|
D | ThroughputScorer.java | 27 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 98 private ScoredCandidate scoreCandidate(Candidate candidate, boolean currentNetworkHasInternet) { in scoreCandidate() 212 return new ScoredCandidate(score + tieBreaker, 10, in scoreCandidate() 271 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates) { in scoreCandidates() 272 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() 275 ScoredCandidate scoredCandidate = scoreCandidate(candidate, currentNetworkHasInternet); in scoreCandidates()
|
D | WifiCandidates.java | 502 @Nullable ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates); in scoreCandidates() 516 public static class ScoredCandidate { class in WifiCandidates 521 public ScoredCandidate(double value, double err, boolean userConnectChoiceOverride, in ScoredCandidate() method in WifiCandidates.ScoredCandidate 531 public static final ScoredCandidate NONE = 532 new ScoredCandidate(Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, 815 public @NonNull ScoredCandidate choose(@NonNull CandidateScorer candidateScorer) { in choose() 818 ScoredCandidate choice = candidateScorer.scoreCandidates(candidates); in choose() 819 return choice == null ? ScoredCandidate.NONE : choice; in choose()
|
D | WifiNetworkSelector.java | 1530 WifiCandidates.ScoredCandidate choice = activeScorer.scoreCandidates(group); in selectNetwork() 1555 WifiCandidates.ScoredCandidate choice; in selectNetwork() 1620 private void updateChosenPasspointNetwork(WifiCandidates.ScoredCandidate choice) { in updateChosenPasspointNetwork()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | CandidateScorerTest.java | 42 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 173 ScoredCandidate choice = mCandidateScorer.scoreCandidates(candidates); in evaluate() 535 ScoredCandidate choice = mCandidateScorer.scoreCandidates(candidates); in testPreferCurrentNetworkWithInternetOverNetworkWithNoInternet()
|
D | WifiNetworkSelectorTest.java | 2355 public WifiCandidates.ScoredCandidate scoreCandidates( 2357 return new WifiCandidates.ScoredCandidate(0, 0, false, null);
|