Searched refs:ScoredCandidate (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | CompatibilityScorer.java | 22 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 72 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 98 return new ScoredCandidate(score + tieBreaker, 10, candidate); in scoreCandidate() 102 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> group) { in scoreCandidates() 103 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() 105 ScoredCandidate scoredCandidate = scoreCandidate(candidate); in scoreCandidates()
|
D | BubbleFunScorer.java | 22 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 59 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 92 return new ScoredCandidate(score, TYPICAL_SCAN_RSSI_STD * gain, candidate); in scoreCandidate() 117 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> group) { in scoreCandidates() 118 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() 120 ScoredCandidate scoredCandidate = scoreCandidate(candidate); in scoreCandidates()
|
D | ScoreCardBasedScorer.java | 22 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 79 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 102 return new ScoredCandidate(score, 10, candidate); in scoreCandidate() 124 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> group) { in scoreCandidates() 125 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() 127 ScoredCandidate scoredCandidate = scoreCandidate(candidate); in scoreCandidates()
|
D | WifiCandidates.java | 254 @Nullable ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> group); in scoreCandidates() 274 public static class ScoredCandidate { class in WifiCandidates 278 public ScoredCandidate(double value, double err, Candidate candidate) { in ScoredCandidate() method in WifiCandidates.ScoredCandidate 286 public static final ScoredCandidate NONE = 287 new ScoredCandidate(Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, null); 433 public @NonNull ScoredCandidate choose(@NonNull CandidateScorer candidateScorer) { in choose() 435 ScoredCandidate choice = ScoredCandidate.NONE; in choose() 437 ScoredCandidate scoredCandidate = candidateScorer.scoreCandidates(group); in choose()
|
D | WifiNetworkSelector.java | 819 WifiCandidates.ScoredCandidate choice; in selectNetwork()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | CandidateScorerTest.java | 27 import com.android.server.wifi.WifiCandidates.ScoredCandidate; 125 ScoredCandidate choice = mCandidateScorer.scoreCandidates(candidates); in evaluate()
|
D | WifiNetworkSelectorTest.java | 1641 public WifiCandidates.ScoredCandidate scoreCandidates( 1643 return new WifiCandidates.ScoredCandidate(0, 0, null);
|