Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPackageMatchingCacheTest.java30 import com.android.server.slice.SliceManagerService.PackageMatchingCache;
43 private final PackageMatchingCache cache = new PackageMatchingCache(supplier);
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java97 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 SliceManagerService
649 public PackageMatchingCache(Supplier<String> pkgSource) { in PackageMatchingCache() method in SliceManagerService.PackageMatchingCache