Searched refs:DependencyKey (Results 1 – 3 of 3) sorted by relevance
26 import com.android.systemui.Dependency.DependencyKey;37 public static final DependencyKey<Dumpable> DUMPABLE = new DependencyKey<>("dumpable");38 public static final DependencyKey<ConfigurationChangedReceiver> CONFIGURATION_CHANGED_RECEIVER39 = new DependencyKey<>("config_changed_receiver");
41 public <T> void injectTestDependency(DependencyKey<T> key, T obj) { in injectTestDependency()
132 public static final DependencyKey<Looper> BG_LOOPER = new DependencyKey<>("background_looper");136 public static final DependencyKey<Handler> TIME_TICK_HANDLER =137 new DependencyKey<>("time_tick_handler");141 public static final DependencyKey<Handler> MAIN_HANDLER = new DependencyKey<>("main_handler");146 public static final DependencyKey<String> LEAK_REPORT_EMAIL147 = new DependencyKey<>("leak_report_email");356 protected final <T> T getDependency(DependencyKey<T> key) { in getDependency()372 Preconditions.checkArgument(cls instanceof DependencyKey<?> || cls instanceof Class<?>); in createDependency()429 public static <T> T get(DependencyKey<T> cls) { in get()433 public static final class DependencyKey<V> { class in Dependency[all …]