Searched refs:ScoredCandidate (Results 1 – 8 of 8) sorted by relevance
/frameworks/opt/net/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 | 25 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 72 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 138 return new ScoredCandidate(score + tieBreaker, 10, in scoreCandidate() 150 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates) { in scoreCandidates() 151 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() 153 ScoredCandidate scoredCandidate = scoreCandidate(candidate); in scoreCandidates()
|
D | WifiCandidates.java | 357 @Nullable ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates); in scoreCandidates() 371 public static class ScoredCandidate { class in WifiCandidates 376 public ScoredCandidate(double value, double err, boolean userConnectChoiceOverride, in ScoredCandidate() method in WifiCandidates.ScoredCandidate 386 public static final ScoredCandidate NONE = 387 new ScoredCandidate(Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, 590 public @NonNull ScoredCandidate choose(@NonNull CandidateScorer candidateScorer) { in choose() 593 ScoredCandidate choice = candidateScorer.scoreCandidates(candidates); in choose() 594 return choice == null ? ScoredCandidate.NONE : choice; in choose()
|
D | WifiNetworkSelector.java | 856 WifiCandidates.ScoredCandidate choice = activeScorer.scoreCandidates(group); in selectNetwork() 879 WifiCandidates.ScoredCandidate choice; in selectNetwork() 943 private void updateChosenPasspointNetwork(WifiCandidates.ScoredCandidate choice) { in updateChosenPasspointNetwork()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | CandidateScorerTest.java | 28 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 133 ScoredCandidate choice = mCandidateScorer.scoreCandidates(candidates); in evaluate()
|
D | WifiNetworkSelectorTest.java | 1330 public WifiCandidates.ScoredCandidate scoreCandidates( 1332 return new WifiCandidates.ScoredCandidate(0, 0, false, null);
|