Searched refs:partitionInto (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkRanker.java | 132 private static <T> void partitionInto(@NonNull final List<T> source, @NonNull Predicate<T> test, in partitionInto() method in NetworkRanker 213 partitionInto(rejectedWithBadWiFis, n -> isPreferredBadWiFi(n), accepted, rejected); in applyYieldToBadWifiPolicy() 219 partitionInto(acceptedWithYielders, n -> !n.getScore().hasPolicy(POLICY_YIELD_TO_BAD_WIFI), in applyYieldToBadWifiPolicy() 250 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_IS_INVINCIBLE), in getBestNetworkByPolicy() 256 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_IS_VPN), in getBestNetworkByPolicy() 263 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_EVER_USER_SELECTED) in getBestNetworkByPolicy() 271 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_IS_VALIDATED) in getBestNetworkByPolicy() 282 partitionInto(candidates, nai -> !nai.getScore().hasPolicy(POLICY_EXITING), in getBestNetworkByPolicy() 304 partitionInto(candidates, nai -> nai.getScore().hasPolicy(POLICY_TRANSPORT_PRIMARY), in getBestNetworkByPolicy() 330 partitionInto(candidates, nai -> nai.getCapsNoCopy().hasTransport(transport), in getBestNetworkByPolicy() [all …]
|