/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiCandidates.java | 51 @NonNull List<Candidate> candidates) { in WifiCandidates() 54 for (Candidate c : candidates) { in WifiCandidates() 65 public interface Candidate { interface in WifiCandidates 160 private static class CandidateImpl implements Candidate { 357 @Nullable ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates); in scoreCandidates() 377 Candidate candidate) { in ScoredCandidate() 424 private final Map<Key, Candidate> mCandidates = new ArrayMap<>(); 490 Candidate old = mCandidates.get(key); in add() 549 public boolean remove(Candidate candidate) { in remove() 564 public Collection<Collection<Candidate>> getGroupedCandidates() { in getGroupedCandidates() [all …]
|
D | ScoreCardBasedScorer.java | 22 import com.android.server.wifi.WifiCandidates.Candidate; 86 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 115 private int estimatedCutoff(Candidate candidate) { in estimatedCutoff() 134 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates) { in scoreCandidates() 136 for (Candidate candidate : candidates) { in scoreCandidates()
|
D | ThroughputScorer.java | 24 import com.android.server.wifi.WifiCandidates.Candidate; 72 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 142 private int calculateThroughputBonusScore(Candidate candidate) { in calculateThroughputBonusScore() 150 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates) { in scoreCandidates() 152 for (Candidate candidate : candidates) { in scoreCandidates()
|
D | CompatibilityScorer.java | 22 import com.android.server.wifi.WifiCandidates.Candidate; 78 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 111 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates) { in scoreCandidates() 113 for (Candidate candidate : candidates) { in scoreCandidates()
|
D | BubbleFunScorer.java | 22 import com.android.server.wifi.WifiCandidates.Candidate; 62 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate() 121 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> candidates) { in scoreCandidates() 123 for (Candidate candidate : candidates) { in scoreCandidates()
|
D | WifiNetworkSelector.java | 743 public List<WifiCandidates.Candidate> getCandidatesFromScan( in getCandidatesFromScan() 845 public WifiConfiguration selectNetwork(List<WifiCandidates.Candidate> candidates) { in selectNetwork() 853 Collection<Collection<WifiCandidates.Candidate>> groupedCandidates = in selectNetwork() 855 for (Collection<WifiCandidates.Candidate> group : groupedCandidates) { in selectNetwork() 864 for (Collection<WifiCandidates.Candidate> group : groupedCandidates) { in selectNetwork() 865 for (WifiCandidates.Candidate candidate : group.stream() in selectNetwork()
|
D | WifiConnectivityManager.java | 192 private List<WifiCandidates.Candidate> mLatestCandidates = null; 318 List<WifiCandidates.Candidate> candidates = mNetworkSelector.getCandidatesFromScan( in handleScanResults() 348 private List<WifiCandidates.Candidate> filterCandidatesHighMovement( in filterCandidatesHighMovement() 349 List<WifiCandidates.Candidate> candidates, String listenerName, boolean isFullScan) { in filterCandidatesHighMovement() 372 List<WifiCandidates.Candidate> filteredCandidates = candidates.stream().filter( in filterCandidatesHighMovement() 431 CachedWifiCandidates(long timeSinceBootMs, List<WifiCandidates.Candidate> candidates) { in CachedWifiCandidates() 439 for (WifiCandidates.Candidate c : candidates) { in CachedWifiCandidates()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTest.java | 336 List<WifiCandidates.Candidate> candidates = mWifiNetworkSelector.getCandidatesFromScan( in emptyScanResults() 367 List<WifiCandidates.Candidate> candidates = mWifiNetworkSelector.getCandidatesFromScan( in verifyMinimumRssiThreshold() 399 List<WifiCandidates.Candidate> candidates = mWifiNetworkSelector.getCandidatesFromScan( in verifyMinimumTimeGapWhenConnected() 443 List<WifiCandidates.Candidate> candidates = mWifiNetworkSelector.getCandidatesFromScan( in verifyNoMinimumTimeGapWhenDisconnected() 489 List<WifiCandidates.Candidate> candidates = mWifiNetworkSelector.getCandidatesFromScan( in lowRssi5GNetworkIsNotSufficient() 540 List<WifiCandidates.Candidate> candidates = mWifiNetworkSelector.getCandidatesFromScan( in noInternetAccessNetworkIsNotSufficient() 593 List<WifiCandidates.Candidate> candidates = mWifiNetworkSelector.getCandidatesFromScan( in updateConfiguredNetworks() 629 List<WifiCandidates.Candidate> candidates = mWifiNetworkSelector.getCandidatesFromScan( in filterOutBlacklistedBssid() 662 List<WifiCandidates.Candidate> candidates = mWifiNetworkSelector.getCandidatesFromScan( in noSelectionWhenCurrentNetworkNotInScanResults() 775 List<WifiCandidates.Candidate> candidates = mWifiNetworkSelector.getCandidatesFromScan( in userConnectChoiceOverridesNetworkNominators() [all …]
|
D | WifiCandidatesTest.java | 188 WifiCandidates.Candidate c = mWifiCandidates.getGroupedCandidates() in testCandidateToString() 301 WifiCandidates.Candidate c1, c2; in testTwoBssids() 333 WifiCandidates.Candidate c; in testReplace() 362 WifiCandidates.Candidate candidate; in testAddCarrierOrPrivilegedCandidate()
|
D | ConcreteCandidate.java | 25 public final class ConcreteCandidate implements WifiCandidates.Candidate { 51 public ConcreteCandidate(WifiCandidates.Candidate candidate) { in ConcreteCandidate()
|
D | WifiConnectivityManagerTest.java | 210 @Mock WifiCandidates.Candidate mCandidate1; 211 @Mock WifiCandidates.Candidate mCandidate2; 212 private List<WifiCandidates.Candidate> mCandidateList; 367 mCandidateList = new ArrayList<WifiCandidates.Candidate>(); in mockWifiNetworkSelector() 373 public WifiConfiguration answer(List<WifiCandidates.Candidate> candidateList) { in mockWifiNetworkSelector() 873 WifiCandidates.Candidate otherCandidate = mock(WifiCandidates.Candidate.class); in testRetryConnectionOnFailure() 875 List<WifiCandidates.Candidate> candidateList = new ArrayList<>(); in testRetryConnectionOnFailure() 886 verify(mWifiNS).selectNetwork((List<WifiCandidates.Candidate>) in testRetryConnectionOnFailure() 898 verify(mWifiNS).selectNetwork((List<WifiCandidates.Candidate>) in testRetryConnectionOnFailure() 907 verify(mWifiNS).selectNetwork((List<WifiCandidates.Candidate>) in testRetryConnectionOnFailure() [all …]
|
D | CandidateScorerTest.java | 26 import com.android.server.wifi.WifiCandidates.Candidate; 131 ArrayList<Candidate> candidates = new ArrayList<>(1); in evaluate()
|
/frameworks/minikin/libs/minikin/ |
D | OptimalLineBreaker.cpp | 59 struct Candidate { struct 73 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate() function 89 std::vector<Candidate> candidates; 290 const std::vector<Candidate>& candidates); 297 const std::vector<Candidate>& candidates) { in finishBreaksOptimal() 303 const Candidate& cand = candidates[i]; in finishBreaksOptimal() 304 const Candidate& prev = candidates[prevIndex]; in finishBreaksOptimal() 325 const std::vector<Candidate>& candidates = context.candidates; in computeBreaks()
|
/frameworks/compile/slang/ |
D | slang_rs_export_reduce.cpp | 43 bool RSExportReduce::matchName(const llvm::StringRef &Candidate) const { in matchName() 45 Candidate.equals(mNameInitializer) || in matchName() 46 Candidate.equals(mNameAccumulator) || in matchName() 47 Candidate.equals(mNameCombiner) || in matchName() 48 Candidate.equals(mNameOutConverter) || in matchName() 49 Candidate.equals(mNameHalter); in matchName()
|
D | slang_rs_export_reduce.h | 161 bool matchName(const llvm::StringRef &Candidate) const;
|