Searched refs:DependencyKey (Results 1 – 2 of 2) sorted by relevance
108 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 Dependency299 public DependencyKey(String displayName) { in DependencyKey() method in Dependency.DependencyKey
40 public <T> void injectTestDependency(DependencyKey<T> key, T obj) { in injectTestDependency()