Home
last modified time | relevance | path

Searched refs:preferredComponents (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPackageManager.java972 private final HashSet<ComponentName> preferredComponents; field in ShadowPackageManager.ResolveInfoComparator
974 public ResolveInfoComparator(HashSet<ComponentName> preferredComponents) { in ResolveInfoComparator() argument
975 this.preferredComponents = preferredComponents; in ResolveInfoComparator()
1007 && preferredComponents.contains( in isPreferred()
DShadowApplicationPackageManager.java267 HashSet<ComponentName> preferredComponents = new HashSet<>(); in resolveActivity() local
273 preferredComponents.add(preferred.getValue()); in resolveActivity()
280 : Collections.max(candidates, new ResolveInfoComparator(preferredComponents)); in resolveActivity()