Searched refs:preferredComponents (Results 1 – 2 of 2) sorted by relevance
980 private final HashSet<ComponentName> preferredComponents; field in ShadowPackageManager.ResolveInfoComparator982 public ResolveInfoComparator(HashSet<ComponentName> preferredComponents) { in ResolveInfoComparator() argument983 this.preferredComponents = preferredComponents; in ResolveInfoComparator()1015 && preferredComponents.contains( in isPreferred()
288 HashSet<ComponentName> preferredComponents = new HashSet<>(); in resolveActivity() local294 preferredComponents.add(preferred.getValue()); in resolveActivity()301 : Collections.max(candidates, new ResolveInfoComparator(preferredComponents)); in resolveActivity()