Searched refs:DependencyKey (Results 1 – 3 of 3) sorted by relevance
27 import com.android.systemui.Dependency.DependencyKey;38 public static final DependencyKey<Dumpable> DUMPABLE = new DependencyKey<>("dumpable");39 public static final DependencyKey<ConfigurationChangedReceiver> CONFIGURATION_CHANGED_RECEIVER40 = new DependencyKey<>("config_changed_receiver");
45 public <T> void injectTestDependency(DependencyKey<T> key, T obj) { in injectTestDependency()
176 public static final DependencyKey<Looper> BG_LOOPER = new DependencyKey<>(BG_LOOPER_NAME);180 public static final DependencyKey<Handler> BG_HANDLER = new DependencyKey<>(BG_HANDLER_NAME);184 public static final DependencyKey<Handler> TIME_TICK_HANDLER =185 new DependencyKey<>(TIME_TICK_HANDLER_NAME);189 public static final DependencyKey<Handler> MAIN_HANDLER =190 new DependencyKey<>(MAIN_HANDLER_NAME);195 public static final DependencyKey<String> LEAK_REPORT_EMAIL =196 new DependencyKey<>(LEAK_REPORT_EMAIL_NAME);526 protected final <T> T getDependency(DependencyKey<T> key) { in getDependency()542 Preconditions.checkArgument(cls instanceof DependencyKey<?> || cls instanceof Class<?>); in createDependency()[all …]