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.java27 import com.android.systemui.Dependency.DependencyKey;
38 public static final DependencyKey<Dumpable> DUMPABLE = new DependencyKey<>("dumpable");
DTestableDependency.java41 public <T> void injectTestDependency(DependencyKey<T> key, T obj) { in injectTestDependency()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java170 public static final DependencyKey<Looper> BG_LOOPER = new DependencyKey<>(BG_LOOPER_NAME);
174 public static final DependencyKey<Handler> BG_HANDLER = new DependencyKey<>(BG_HANDLER_NAME);
178 public static final DependencyKey<Handler> TIME_TICK_HANDLER =
179 new DependencyKey<>(TIME_TICK_HANDLER_NAME);
183 public static final DependencyKey<Handler> MAIN_HANDLER =
184 new DependencyKey<>(MAIN_HANDLER_NAME);
189 public static final DependencyKey<String> LEAK_REPORT_EMAIL =
190 new DependencyKey<>(LEAK_REPORT_EMAIL_NAME);
527 protected final <T> T getDependency(DependencyKey<T> key) { in getDependency()
543 Preconditions.checkArgument(cls instanceof DependencyKey<?> || cls instanceof Class<?>); in createDependency()
[all …]