Home
last modified time | relevance | path

Searched refs:singletonType (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/dagger2/javatests/dagger/functional/subcomponent/
H A DRequiresSingletons.java22 private final SingletonType singletonType; field in RequiresSingletons
25 @Inject RequiresSingletons(SingletonType singletonType, in RequiresSingletons() argument
27 this.singletonType = singletonType; in RequiresSingletons()
31 SingletonType singletonType() { in singletonType() method in RequiresSingletons
32 return singletonType; in singletonType()
H A DSubcomponentTest.java56 assertThat(childComponent.requiresSingleton().singletonType()) in scopePropagatesUpward_class()
57 .isSameInstanceAs(childComponent.requiresSingleton().singletonType()); in scopePropagatesUpward_class()
58 assertThat(childComponent.requiresSingleton().singletonType()) in scopePropagatesUpward_class()
60 childComponent.newGrandchildComponent().requiresSingleton().singletonType()); in scopePropagatesUpward_class()
H A DUnscopedType.java22 @Inject UnscopedType(@SuppressWarnings("unused") SingletonType singletonType) {} in UnscopedType() argument
/aosp_15_r20/external/dagger2/javatests/dagger/functional/kotlinsrc/subcomponent/
H A DSubcomponentTest.kt30 assertThat(childComponent.requiresSingleton().singletonType()) in scopePropagatesUpward_class()
31 .isSameInstanceAs(childComponent.requiresSingleton().singletonType()) in scopePropagatesUpward_class()
32 assertThat(childComponent.requiresSingleton().singletonType()) in scopePropagatesUpward_class()
33 .isSameInstanceAs(childComponent.newGrandchildComponent().requiresSingleton().singletonType()) in scopePropagatesUpward_class()
H A DRequiresSingletons.kt24 private val singletonType: SingletonType, constant in dagger.functional.kotlinsrc.subcomponent.RequiresSingletons
27 fun singletonType(): SingletonType = singletonType method in dagger.functional.kotlinsrc.subcomponent.RequiresSingletons
H A DUnscopedType.kt21 class UnscopedType @Inject constructor(@Suppress("UNUSED_PARAMETER") singletonType: SingletonType)