Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DDependencyTest.java26 import com.android.systemui.Dependency.DependencyKey;
37 public static final DependencyKey<Dumpable> DUMPABLE = new DependencyKey<>("dumpable");
38 public static final DependencyKey<ConfigurationChangedReceiver> CONFIGURATION_CHANGED_RECEIVER
39 = new DependencyKey<>("config_changed_receiver");
DTestableDependency.java41 public <T> void injectTestDependency(DependencyKey<T> key, T obj) { in injectTestDependency()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java132 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_EMAIL
147 = 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 …]