Home
last modified time | relevance | path

Searched refs:Scoreable (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkRanker.java59 public interface Scoreable { interface in NetworkRanker
111 private <T extends Scoreable> boolean isBadWiFi(@NonNull final T candidate) { in isBadWiFi()
130 private <T extends Scoreable> void applyYieldToBadWifiPolicy(@NonNull ArrayList<T> accepted, in applyYieldToBadWifiPolicy()
162 @Nullable public <T extends Scoreable> T getBestNetworkByPolicy( in getBestNetworkByPolicy()
318 @NonNull final Scoreable contestant) { in mightBeat()
328 final ArrayList<Scoreable> candidates = new ArrayList<>(); in mightBeat()
341 @NonNull final Scoreable contestant) { in mightBeatByLegacyInt()
DNetworkAgentInfo.java147 public class NetworkAgentInfo implements Comparable<NetworkAgentInfo>, NetworkRanker.Scoreable {
963 public NetworkRanker.Scoreable getValidatedScoreable() { in getValidatedScoreable()
964 return new NetworkRanker.Scoreable() { in getValidatedScoreable()
DNetworkOffer.java43 public class NetworkOffer implements NetworkRanker.Scoreable {
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkRankerTest.kt47 : NetworkRanker.Scoreable { in caps()