Home
last modified time | relevance | path

Searched refs:AndroidInjector (Results 1 – 25 of 28) sorted by relevance

12

/external/dagger2/javatests/dagger/android/support/functional/
DAllControllersAreDirectChildrenOfApplication.java25 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 …]
DComponentStructureFollowsControllerStructureApplication.java25 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 …]
DUsesGeneratedModulesApplication.java25 import dagger.android.AndroidInjector;
36 protected AndroidInjector<? extends DaggerApplication> applicationInjector() { in applicationInjector()
41 interface ApplicationComponent extends AndroidInjector<UsesGeneratedModulesApplication> {}
/external/dagger2/java/dagger/android/
DDispatchingAndroidInjector.java45 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()
DAndroidInjector.java36 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()
DDaggerApplication.java46 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()
DAndroidInjectionModule.java33 abstract Map<Class<?>, AndroidInjector.Factory<?>> classKeyedInjectorFactories(); in classKeyedInjectorFactories()
36 abstract Map<String, AndroidInjector.Factory<?>> stringKeyedInjectorFactories(); in stringKeyedInjectorFactories()
DHasAndroidInjector.java25 AndroidInjector<Object> androidInjector(); in androidInjector()
DDaggerFragment.java46 public AndroidInjector<Object> androidInjector() { in androidInjector()
DDaggerDialogFragment.java47 public AndroidInjector<Object> androidInjector() { in androidInjector()
/external/dagger2/javatests/dagger/android/
DDispatchingAndroidInjectorTest.java24 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()
DAndroidInjectionTest.java44 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/
DSimpleApplication.java22 import dagger.android.AndroidInjector;
42 interface SimpleComponent extends AndroidInjector<SimpleApplication> {
44 interface Factory extends AndroidInjector.Factory<SimpleApplication> {}
56 protected AndroidInjector<SimpleApplication> applicationInjector() { in applicationInjector()
DSimpleActivity.java25 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/
DSimpleApplication.java22 import dagger.android.AndroidInjector;
42 interface SimpleComponent extends AndroidInjector<SimpleApplication> {
44 interface Factory extends AndroidInjector.Factory<SimpleApplication> {}
58 protected AndroidInjector<SimpleApplication> applicationInjector() { in applicationInjector()
DSimpleActivity.java25 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/
DDaggerApplication.java19 import dagger.android.AndroidInjector;
29 protected abstract AndroidInjector<? extends DaggerApplication> applicationInjector(); in applicationInjector()
DDaggerDialogFragment.java22 import dagger.android.AndroidInjector;
45 public AndroidInjector<Object> androidInjector() { in androidInjector()
DDaggerAppCompatDialogFragment.java22 import dagger.android.AndroidInjector;
46 public AndroidInjector<Object> androidInjector() { in androidInjector()
DDaggerFragment.java23 import dagger.android.AndroidInjector;
55 public AndroidInjector<Object> androidInjector() { in androidInjector()
DDaggerAppCompatActivity.java25 import dagger.android.AndroidInjector;
57 public AndroidInjector<Object> androidInjector() { in androidInjector()
DAndroidSupportInjection.java25 import dagger.android.AndroidInjector;
71 AndroidInjector<Object> androidInjector = hasAndroidInjector.androidInjector(); in inject()
/external/dagger2/javatests/dagger/android/support/
DAndroidSupportInjectionTest.java24 import dagger.android.AndroidInjector;
50 public AndroidInjector<Object> androidInjector() { in androidInjector()
/external/dagger2/java/dagger/android/processor/
DContributesAndroidInjectorGenerator.java48 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()
DAndroidMapKeyValidator.java32 import dagger.android.AndroidInjector;
110 AndroidInjector.Factory.class.getCanonicalName(), in validateMethod()
175 return elements.getTypeElement(AndroidInjector.Factory.class.getCanonicalName()); in factoryElement()

12