/external/dagger2/javatests/dagger/android/support/functional/ |
D | AllControllersAreDirectChildrenOfApplication.java | 25 import dagger.android.AndroidInjector; 39 protected AndroidInjector<AllControllersAreDirectChildrenOfApplication> applicationInjector() { in applicationInjector() 45 extends AndroidInjector<AllControllersAreDirectChildrenOfApplication> { 69 abstract AndroidInjector.Factory<?> bindFactoryForTestActivity( in bindFactoryForTestActivity() 75 abstract AndroidInjector.Factory<?> bindFactoryForInnerActivity( in bindFactoryForInnerActivity() 81 abstract AndroidInjector.Factory<?> bindFactoryForParentFragment( in bindFactoryForParentFragment() 87 abstract AndroidInjector.Factory<?> bindFactoryForChildFragment( in bindFactoryForChildFragment() 93 abstract AndroidInjector.Factory<?> bindFactoryForDialogFragment( in bindFactoryForDialogFragment() 99 abstract AndroidInjector.Factory<?> bindFactoryForService( in bindFactoryForService() 105 abstract AndroidInjector.Factory<?> bindFactoryForIntentService( in bindFactoryForIntentService() [all …]
|
D | ComponentStructureFollowsControllerStructureApplication.java | 25 import dagger.android.AndroidInjector; 40 protected AndroidInjector<? extends DaggerApplication> applicationInjector() { in applicationInjector() 47 extends AndroidInjector<ComponentStructureFollowsControllerStructureApplication> { 68 abstract AndroidInjector.Factory<?> bindFactoryForTestActivity( in bindFactoryForTestActivity() 74 abstract AndroidInjector.Factory<?> bindFactoryForInnerActivity( in bindFactoryForInnerActivity() 80 abstract AndroidInjector.Factory<?> bindFactoryForService( in bindFactoryForService() 86 abstract AndroidInjector.Factory<?> bindFactoryForIntentService( in bindFactoryForIntentService() 92 abstract AndroidInjector.Factory<?> bindFactoryForBroadcastReceiver( in bindFactoryForBroadcastReceiver() 98 abstract AndroidInjector.Factory<?> bindFactoryForContentProvider( in bindFactoryForContentProvider() 103 interface ActivitySubcomponent extends AndroidInjector<TestActivity> { [all …]
|
D | UsesGeneratedModulesApplication.java | 25 import dagger.android.AndroidInjector; 36 protected AndroidInjector<? extends DaggerApplication> applicationInjector() { in applicationInjector() 41 interface ApplicationComponent extends AndroidInjector<UsesGeneratedModulesApplication> {}
|
/external/dagger2/java/dagger/android/ |
D | DispatchingAndroidInjector.java | 45 public final class DispatchingAndroidInjector<T> implements AndroidInjector<T> { 52 private final Map<String, Provider<AndroidInjector.Factory<?>>> injectorFactories; 56 Map<Class<?>, Provider<AndroidInjector.Factory<?>>> injectorFactoriesWithClassKeys, in DispatchingAndroidInjector() 57 Map<String, Provider<AndroidInjector.Factory<?>>> injectorFactoriesWithStringKeys) { in DispatchingAndroidInjector() 71 private static <C, V> Map<String, Provider<AndroidInjector.Factory<?>>> merge( in merge() 75 Map<String, Provider<AndroidInjector.Factory<?>>> safeCast = (Map) stringKeyedMap; in merge() 87 Map<String, Provider<AndroidInjector.Factory<?>>> safeCast = (Map) merged; in merge() 100 Provider<AndroidInjector.Factory<?>> factoryProvider = in maybeInject() 107 AndroidInjector.Factory<T> factory = (AndroidInjector.Factory<T>) factoryProvider.get(); in maybeInject() 109 AndroidInjector<T> injector = in maybeInject()
|
D | AndroidInjector.java | 36 public interface AndroidInjector<T> { interface 51 AndroidInjector<T> create(@BindsInstance T instance); in create() 63 abstract class Builder<T> implements AndroidInjector.Factory<T> { 65 public final AndroidInjector<T> create(T instance) { in create() 81 public abstract AndroidInjector<T> build(); in build()
|
D | DaggerApplication.java | 46 protected abstract AndroidInjector<? extends DaggerApplication> applicationInjector(); in applicationInjector() 61 AndroidInjector<DaggerApplication> applicationInjector = in injectIfNecessary() 62 (AndroidInjector<DaggerApplication>) applicationInjector(); in injectIfNecessary() 75 public AndroidInjector<Object> androidInjector() { in androidInjector()
|
D | AndroidInjectionModule.java | 33 abstract Map<Class<?>, AndroidInjector.Factory<?>> classKeyedInjectorFactories(); in classKeyedInjectorFactories() 36 abstract Map<String, AndroidInjector.Factory<?>> stringKeyedInjectorFactories(); in stringKeyedInjectorFactories()
|
D | HasAndroidInjector.java | 25 AndroidInjector<Object> androidInjector(); in androidInjector()
|
D | DaggerFragment.java | 46 public AndroidInjector<Object> androidInjector() { in androidInjector()
|
D | DaggerDialogFragment.java | 47 public AndroidInjector<Object> androidInjector() { in androidInjector()
|
/external/dagger2/javatests/dagger/android/ |
D | DispatchingAndroidInjectorTest.java | 24 import dagger.android.AndroidInjector.Factory; 108 Map<String, Provider<AndroidInjector.Factory<?>>> in newDispatchingAndroidInjector() 121 static class FooInjector implements AndroidInjector<FooActivity> { 125 static class Factory implements AndroidInjector.Factory<FooActivity> { 127 public AndroidInjector<FooActivity> create(FooActivity activity) { in create() 133 static class BarInjector implements AndroidInjector<BarActivity> { 137 static class Factory implements AndroidInjector.Factory<BarActivity> { 139 public AndroidInjector<BarActivity> create(BarActivity activity) { in create()
|
D | AndroidInjectionTest.java | 44 private static AndroidInjector<Object> fakeFragmentInjector(String tag) { in fakeFragmentInjector() 54 public AndroidInjector<Object> androidInjector() { 73 public AndroidInjector<Object> androidInjector() { 93 public AndroidInjector<Object> androidInjector() { 145 public AndroidInjector<Object> androidInjector() {
|
/external/dagger2/javatests/artifacts/dagger-android/simple/app/src/main/java/dagger/android/simple/ |
D | SimpleApplication.java | 22 import dagger.android.AndroidInjector; 42 interface SimpleComponent extends AndroidInjector<SimpleApplication> { 44 interface Factory extends AndroidInjector.Factory<SimpleApplication> {} 56 protected AndroidInjector<SimpleApplication> applicationInjector() { in applicationInjector()
|
D | SimpleActivity.java | 25 import dagger.android.AndroidInjector; 39 interface SimpleActivityComponent extends AndroidInjector<SimpleActivity> { 42 interface Factory extends AndroidInjector.Factory<SimpleActivity> {} 54 abstract AndroidInjector.Factory<?> bind(SimpleActivityComponent.Factory factory); in bind()
|
/external/dagger2/java/dagger/example/gradle/android/simple/app/src/main/java/dagger/example/gradle/android/simple/ |
D | SimpleApplication.java | 22 import dagger.android.AndroidInjector; 42 interface SimpleComponent extends AndroidInjector<SimpleApplication> { 44 interface Factory extends AndroidInjector.Factory<SimpleApplication> {} 58 protected AndroidInjector<SimpleApplication> applicationInjector() { in applicationInjector()
|
D | SimpleActivity.java | 25 import dagger.android.AndroidInjector; 39 interface SimpleActivityComponent extends AndroidInjector<SimpleActivity> { 42 interface Factory extends AndroidInjector.Factory<SimpleActivity> {} 51 abstract AndroidInjector.Factory<?> bind(SimpleActivityComponent.Factory factory); in bind()
|
/external/dagger2/java/dagger/android/support/ |
D | DaggerApplication.java | 19 import dagger.android.AndroidInjector; 29 protected abstract AndroidInjector<? extends DaggerApplication> applicationInjector(); in applicationInjector()
|
D | DaggerDialogFragment.java | 22 import dagger.android.AndroidInjector; 45 public AndroidInjector<Object> androidInjector() { in androidInjector()
|
D | DaggerAppCompatDialogFragment.java | 22 import dagger.android.AndroidInjector; 46 public AndroidInjector<Object> androidInjector() { in androidInjector()
|
D | DaggerFragment.java | 23 import dagger.android.AndroidInjector; 55 public AndroidInjector<Object> androidInjector() { in androidInjector()
|
D | DaggerAppCompatActivity.java | 25 import dagger.android.AndroidInjector; 57 public AndroidInjector<Object> androidInjector() { in androidInjector()
|
D | AndroidSupportInjection.java | 25 import dagger.android.AndroidInjector; 71 AndroidInjector<Object> androidInjector = hasAndroidInjector.androidInjector(); in inject()
|
/external/dagger2/javatests/dagger/android/support/ |
D | AndroidSupportInjectionTest.java | 24 import dagger.android.AndroidInjector; 50 public AndroidInjector<Object> androidInjector() { in androidInjector()
|
/external/dagger2/java/dagger/android/processor/ |
D | ContributesAndroidInjectorGenerator.java | 48 import dagger.android.AndroidInjector; 150 AndroidInjector.Factory.class, in bindAndroidInjectorFactory() 180 .addSuperinterface(parameterizedTypeName(AndroidInjector.class, descriptor.injectedType())) in subcomponent() 191 parameterizedTypeName(AndroidInjector.Factory.class, descriptor.injectedType())) in subcomponentFactory()
|
D | AndroidMapKeyValidator.java | 32 import dagger.android.AndroidInjector; 110 AndroidInjector.Factory.class.getCanonicalName(), in validateMethod() 175 return elements.getTypeElement(AndroidInjector.Factory.class.getCanonicalName()); in factoryElement()
|