Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java108 public static final DependencyKey<Looper> BG_LOOPER = new DependencyKey<>(BG_LOOPER_NAME);
112 public static final DependencyKey<Handler> TIME_TICK_HANDLER =
113 new DependencyKey<>(TIME_TICK_HANDLER_NAME);
215 protected final <T> T getDependency(DependencyKey<T> key) { in getDependency()
231 Preconditions.checkArgument(cls instanceof DependencyKey<?> || cls instanceof Class<?>); in createDependency()
292 public static <T> T get(DependencyKey<T> cls) { in get()
296 public static final class DependencyKey<V> { class in Dependency
299 public DependencyKey(String displayName) { in DependencyKey() method in Dependency.DependencyKey
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DTestableDependency.java40 public <T> void injectTestDependency(DependencyKey<T> key, T obj) { in injectTestDependency()