Home
last modified time | relevance | path

Searched refs:Candidate (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScoreCardBasedScorer.java21 import com.android.server.wifi.WifiCandidates.Candidate;
79 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate()
105 private int estimatedCutoff(Candidate candidate) { in estimatedCutoff()
124 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> group) { in scoreCandidates()
126 for (Candidate candidate : group) { in scoreCandidates()
DCompatibilityScorer.java21 import com.android.server.wifi.WifiCandidates.Candidate;
72 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate()
102 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> group) { in scoreCandidates()
104 for (Candidate candidate : group) { in scoreCandidates()
DBubbleFunScorer.java21 import com.android.server.wifi.WifiCandidates.Candidate;
59 private ScoredCandidate scoreCandidate(Candidate candidate) { in scoreCandidate()
117 public ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> group) { in scoreCandidates()
119 for (Candidate candidate : group) { in scoreCandidates()
DWifiCandidates.java48 public interface Candidate { interface in WifiCandidates
123 static class CandidateImpl implements Candidate {
254 @Nullable ScoredCandidate scoreCandidates(@NonNull Collection<Candidate> group); in scoreCandidates()
278 public ScoredCandidate(double value, double err, Candidate candidate) { in ScoredCandidate()
400 public boolean remove(Candidate candidate) { in remove()
415 public Collection<Collection<Candidate>> getGroupedCandidates() { in getGroupedCandidates()
416 Map<Integer, Collection<Candidate>> candidatesForNetworkId = new ArrayMap<>(); in getGroupedCandidates()
418 Collection<Candidate> cc = candidatesForNetworkId.get(candidate.key.networkId); in getGroupedCandidates()
436 for (Collection<Candidate> group : getGroupedCandidates()) { in choose()
DWifiNetworkSelector.java783 Collection<Collection<WifiCandidates.Candidate>> groupedCandidates = in selectNetwork()
785 for (Collection<WifiCandidates.Candidate> group: groupedCandidates) { in selectNetwork()
786 WifiCandidates.Candidate best = null; in selectNetwork()
787 for (WifiCandidates.Candidate candidate: group) { in selectNetwork()
/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp59 struct Candidate { struct
73 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate() function
89 std::vector<Candidate> candidates;
287 const std::vector<Candidate>& candidates);
294 const std::vector<Candidate>& candidates) { in finishBreaksOptimal()
300 const Candidate& cand = candidates[i]; in finishBreaksOptimal()
301 const Candidate& prev = candidates[prevIndex]; in finishBreaksOptimal()
322 const std::vector<Candidate>& candidates = context.candidates; in computeBreaks()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConcreteCandidate.java23 public final class ConcreteCandidate implements WifiCandidates.Candidate {
44 public ConcreteCandidate(WifiCandidates.Candidate candidate) { in ConcreteCandidate()
DCandidateScorerTest.java25 import com.android.server.wifi.WifiCandidates.Candidate;
123 ArrayList<Candidate> candidates = new ArrayList<>(1); in evaluate()
DWifiCandidatesTest.java242 WifiCandidates.Candidate c1, c2; in testTwoBssids()
278 WifiCandidates.Candidate c; in testReplace()
DWifiNetworkSelectorTest.java1642 Collection<WifiCandidates.Candidate> group) {
/frameworks/compile/slang/
Dslang_rs_export_reduce.cpp43 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()
Dslang_rs_export_reduce.h161 bool matchName(const llvm::StringRef &Candidate) const;