Searched refs:preferredComponents (Results 1 – 2 of 2) sorted by relevance
972 private final HashSet<ComponentName> preferredComponents; field in ShadowPackageManager.ResolveInfoComparator974 public ResolveInfoComparator(HashSet<ComponentName> preferredComponents) { in ResolveInfoComparator() argument975 this.preferredComponents = preferredComponents; in ResolveInfoComparator()1007 && preferredComponents.contains( in isPreferred()
267 HashSet<ComponentName> preferredComponents = new HashSet<>(); in resolveActivity() local273 preferredComponents.add(preferred.getValue()); in resolveActivity()280 : Collections.max(candidates, new ResolveInfoComparator(preferredComponents)); in resolveActivity()