Searched refs:PackageMatchingCache (Results 1 – 2 of 2) sorted by relevance
30 import com.android.server.slice.SliceManagerService.PackageMatchingCache;43 private final PackageMatchingCache cache = new PackageMatchingCache(supplier);
97 private final SparseArray<PackageMatchingCache> mAssistantLookup = new SparseArray<>();99 private final SparseArray<PackageMatchingCache> mHomeLookup = new SparseArray<>();462 private PackageMatchingCache getAssistantMatcher(int userId) { in getAssistantMatcher()463 PackageMatchingCache matcher = mAssistantLookup.get(userId); in getAssistantMatcher()465 matcher = new PackageMatchingCache(() -> getAssistant(userId)); in getAssistantMatcher()471 private PackageMatchingCache getHomeMatcher(int userId) { in getHomeMatcher()472 PackageMatchingCache matcher = mHomeLookup.get(userId); in getHomeMatcher()474 matcher = new PackageMatchingCache(() -> getDefaultHome(userId)); in getHomeMatcher()644 static class PackageMatchingCache { class in SliceManagerService649 public PackageMatchingCache(Supplier<String> pkgSource) { in PackageMatchingCache() method in SliceManagerService.PackageMatchingCache