| /external/dagger2/javatests/dagger/functional/ |
| D | MultibindingModule.java | 20 import dagger.Provides; 39 @Provides 46 @Provides 53 @Provides 60 @Provides 67 @Provides 73 @Provides 79 @Provides 88 @Provides 93 @Provides [all …]
|
| D | PrimitivesModule.java | 20 import dagger.Provides; 46 @Provides static byte provideByte() { in provideByte() 50 @Provides static char provideChar() { in provideChar() 54 @Provides static short provideShort() { in provideShort() 58 @Provides static int provideInt() { in provideInt() 62 @Provides static long provideLong() { in provideLong() 66 @Provides static boolean provideBoolean() { in provideBoolean() 70 @Provides static float provideFloat() { in provideFloat() 74 @Provides static double boundDouble() { in boundDouble() 78 @Provides static byte[] provideByteArray() { in provideByteArray() [all …]
|
| D | BoundedGenericModule.java | 20 import dagger.Provides; 30 @Provides 35 @Provides 40 @Provides 47 @Provides 54 @Provides 61 @Provides 69 @Provides 76 @Provides
|
| /external/dagger2/javatests/dagger/internal/codegen/ |
| D | DuplicateBindingsValidationTest.java | 56 "import dagger.Provides;", in duplicateExplicitBindings_ProvidesAndComponentProvision() 65 " @Provides String provideString() { return \"\"; }", in duplicateExplicitBindings_ProvidesAndComponentProvision() 66 " @Provides A provideA(String s) { return new A() {}; }", in duplicateExplicitBindings_ProvidesAndComponentProvision() 76 " @Provides B provideB(A a) { return new B() {}; }", in duplicateExplicitBindings_ProvidesAndComponentProvision() 94 " @Provides Outer.A Outer.AModule.provideA(String)", in duplicateExplicitBindings_ProvidesAndComponentProvision() 108 "import dagger.Provides;", in duplicateExplicitBindings_TwoProvidesMethods() 120 " @Provides A provideA1() { return new A() {}; }", in duplicateExplicitBindings_TwoProvidesMethods() 125 " @Provides String provideString() { return \"\"; }", in duplicateExplicitBindings_TwoProvidesMethods() 126 " @Provides A provideA2(String s) { return new A() {}; }", in duplicateExplicitBindings_TwoProvidesMethods() 148 " @Provides Outer.A Outer.Module1.provideA1()", in duplicateExplicitBindings_TwoProvidesMethods() [all …]
|
| D | ModuleFactoryGeneratorTest.java | 47 assertThatMethodInUnannotatedClass("@Provides String provideString() { return null; }") in providesMethodNotInModule() 48 .hasError("@Provides methods can only be present within a @Module or @ProducerModule"); in providesMethodNotInModule() 52 assertThatModuleMethod("@Provides abstract String abstractMethod();") in providesMethodAbstract() 53 .hasError("@Provides methods cannot be abstract"); in providesMethodAbstract() 57 assertThatModuleMethod("@Provides private String privateMethod() { return null; }") in providesMethodPrivate() 58 .hasError("@Provides methods cannot be private"); in providesMethodPrivate() 62 assertThatModuleMethod("@Provides void voidMethod() {}") in providesMethodReturnVoid() 63 .hasError("@Provides methods must return a value (not void)"); in providesMethodReturnVoid() 68 assertThatModuleMethod("@Provides Provider<String> provideProvider() {}") in providesMethodReturnsProvider() 69 .hasError("@Provides methods must not return framework types"); in providesMethodReturnsProvider() [all …]
|
| D | MissingBindingValidationTest.java | 61 .hadErrorContaining("Bar cannot be provided without an @Provides-annotated method.") in dependOnInterface() 89 + "without an @Provides-annotated method.") in entryPointDependsOnInterface() 119 + "without an @Provides-annotated method.") in entryPointDependsOnQualifiedInterface() 130 "import dagger.Provides;", in constructorInjectionWithoutAnnotation() 150 + "@Provides-annotated method.") in constructorInjectionWithoutAnnotation() 161 "import dagger.Provides;", in membersInjectWithoutProvision() 185 + "@Provides-annotated method. This type supports members injection but cannot be " in membersInjectWithoutProvision() 254 + "without an @Provides-annotated method"); in genericInjectClassWithWildcardDependencies() 266 "import dagger.Provides;", in longChainOfDependencies() 295 " @Provides @Named(\"slim shady\") D d(X x1, DImpl impl, X x2) { return impl; }", in longChainOfDependencies() [all …]
|
| D | MultibindingTest.java | 40 "import dagger.Provides;", in providesWithTwoMultibindingAnnotations_failsToCompile() 46 " @Provides @IntoSet @IntoMap Integer provideInt() { ", in providesWithTwoMultibindingAnnotations_failsToCompile() 54 .hadErrorContaining("@Provides methods cannot have more than one multibinding annotation") in providesWithTwoMultibindingAnnotations_failsToCompile() 83 "Multibinding annotations may only be on @Provides, @Produces, or @Binds methods") in appliedOnInvalidMethods_failsToCompile() 88 "Multibinding annotations may only be on @Provides, @Produces, or @Binds methods") in appliedOnInvalidMethods_failsToCompile() 93 "Multibinding annotations may only be on @Provides, @Produces, or @Binds methods") in appliedOnInvalidMethods_failsToCompile() 106 "import dagger.Provides;", in concreteBindingForMultibindingAlias() 113 " @Provides", in concreteBindingForMultibindingAlias() 135 + "cannot be provided without an @Provides-annotated method") in concreteBindingForMultibindingAlias() 187 + "cannot be provided without an @Provides- or @Produces-annotated method") in produceConcreteSet_andRequestSetOfProduced() [all …]
|
| /external/guice/core/test/com/google/inject/spi/ |
| D | ProviderMethodsTest.java | 37 import com.google.inject.Provides; 99 @Provides 114 @Provides 131 @Provides 152 @Provides 168 @Provides 208 @Provides 255 @Provides 261 @Provides 266 @Provides [all …]
|
| /external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
| D | ExperimentingRunnerModule.java | 41 import dagger.Provides; 64 @Provides 70 @Provides 76 @Provides 81 @Provides 86 @Provides 93 @Provides 108 @Provides 115 @Provides 122 @Provides static ImmutableSet<ResultProcessor> provideResultProcessors( in provideResultProcessors() [all …]
|
| D | TrialModule.java | 32 import dagger.Provides; 53 @Provides 60 @Provides 67 @Provides 73 @Provides 82 @Provides 90 @Provides 95 @Provides 101 @Provides 111 @Provides [all …]
|
| /external/dagger2/javatests/dagger/functional/kotlin/ |
| D | TestComponentWithCompanionModule.kt | 6 import dagger.Provides 36 @Provides in getDataA() 40 @Provides in getDataA() 43 @Provides in getDataA() 51 @Provides 56 @Provides in provideNamedString() 68 @Provides in bindInterface() 76 @Provides 81 @Provides in provideDouble() 90 @Provides
|
| /external/dagger2/javatests/dagger/internal/codegen/bindinggraphvalidation/ |
| D | NullableBindingValidationTest.java | 52 "import dagger.Provides;", in nullCheckForConstructorParameters() 57 " @Nullable @Provides String provideString() { return null; }", in nullCheckForConstructorParameters() 74 "@Nullable @Provides String TestModule.provideString()")); in nullCheckForConstructorParameters() 96 "import dagger.Provides;", in nullCheckForMembersInjectParam() 101 " @Nullable @Provides String provideString() { return null; }", in nullCheckForMembersInjectParam() 118 "@Nullable @Provides String TestModule.provideString()")); in nullCheckForMembersInjectParam() 140 "import dagger.Provides;", in nullCheckForVariable() 145 " @Nullable @Provides String provideString() { return null; }", in nullCheckForVariable() 162 "@Nullable @Provides String TestModule.provideString()")); in nullCheckForVariable() 175 "import dagger.Provides;", in nullCheckForComponentReturn() [all …]
|
| /external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/dagger/ |
| D | MainMddLibModule.java | 43 import dagger.Provides; 96 @Provides 103 @Provides 110 @Provides 117 @Provides 130 @Provides 137 @Provides 143 @Provides 151 @Provides 158 @Provides [all …]
|
| /external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
| D | WorkerModule.java | 28 import dagger.Provides; 58 @Provides 64 @Provides 83 @Provides 90 @Provides 97 @Provides 104 @Provides 111 @Provides 118 @Provides 125 @Provides [all …]
|
| /external/dagger2/javatests/dagger/android/support/functional/ |
| D | UsesGeneratedModulesApplication.java | 23 import dagger.Provides; 45 @Provides 89 @Provides 99 @Provides 110 @Provides 121 @Provides 132 @Provides 143 @Provides 154 @Provides 165 @Provides [all …]
|
| /external/caliper/caliper/src/main/java/com/google/caliper/json/ |
| D | GsonModule.java | 25 import dagger.Provides; 37 @Provides 43 @Provides 49 @Provides 55 @Provides 61 @Provides 66 @Provides 73 @Provides static InstantTypeAdapter provideInstantTypeAdapter() { in provideInstantTypeAdapter() 77 @Provides static Gson provideGson(Set<TypeAdapterFactory> typeAdapterFactories, in provideGson()
|
| /external/dagger2/javatests/dagger/lint/ |
| D | DaggerKotlinIssueDetectorTest.kt | 44 annotation class Provides 78 import dagger.Provides in getDetector() 100 @Provides in getDetector() 106 @Provides in getDetector() 117 @Provides in getDetector() 130 @Provides in getDetector() 142 @Provides in getDetector() 155 @Provides in getDetector() 166 @Provides in getDetector() 177 @Provides in getDetector() [all …]
|
| /external/dagger2/javatests/dagger/functional/subcomponent/ |
| D | SubcomponentBuilderMultibindingsTest.java | 23 import dagger.Provides; 87 @Provides 93 @Provides 103 @Provides 109 @Provides 149 @Provides 155 @Provides 165 @Provides 171 @Provides 208 @Provides [all …]
|
| D | MultibindingSubcomponents.java | 22 import dagger.Provides; 90 @Provides 96 @Provides 103 @Provides 109 @Provides 128 @Provides 134 @Provides 141 @Provides 147 @Provides 157 @Provides [all …]
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | calendar_v3.acl.html | 136 # - "none" - Provides no access. 137 # - "freeBusyReader" - Provides read access to free/busy information. 138 …# - "reader" - Provides read access to the calendar. Private events will appear to users… 139 …# - "writer" - Provides read and write access to the calendar. Private events will appea… 140 …# - "owner" - Provides ownership of the calendar. This role has all of the permissions o… 166 # - "none" - Provides no access. 167 # - "freeBusyReader" - Provides read access to free/busy information. 168 …# - "reader" - Provides read access to the calendar. Private events will appear to users… 169 …# - "writer" - Provides read and write access to the calendar. Private events will appea… 170 …# - "owner" - Provides ownership of the calendar. This role has all of the permissions o… [all …]
|
| /external/dagger2/javatests/dagger/functional/binds/ |
| D | SimpleBindingModule.java | 21 import dagger.Provides; 64 @Provides 69 @Provides 90 @Provides 95 @Provides 100 @Provides 127 @Provides 147 @Provides 158 @Provides 164 @Provides
|
| /external/guice/extensions/mini/test/com/google/inject/mini/ |
| D | MiniGuiceTest.java | 18 import com.google.inject.Provides; 35 @Provides in testBasicInjection() 40 @Provides in testBasicInjection() 119 @Provides in testSingletons() 151 @Provides in testBindingAnnotations() 157 @Provides in testBindingAnnotations() 189 @Provides in testSingletonBindingAnnotationAndProvider() 219 @Provides in testSingletonInGraph() 267 @Provides in testSubclasses() 292 @Provides in testSingletonsAreEager() [all …]
|
| /external/autotest/client/common_lib/ |
| D | software_manager.py | 201 def provides(self, file): member in SoftwareManager 203 Returns a list of packages that provides a given capability to the 208 return self.backend.provides(file) 213 Installs package that provides [file]. 217 provides = self.provides(file) 218 if provides is not None: 219 self.install(provides) 478 def provides(self, name): member in YumBackend 480 Returns a list of packages that provides a given capability. 487 logging.info("Package %s provides %s", provides_list[0], name) [all …]
|
| /external/glide/library/src/main/java/com/bumptech/glide/provider/ |
| D | DataLoadProviderRegistry.java | 22 * @param dataClass The class of the data that the provider provides encoders and decoders for. 23 …* @param resourceClass The class of the resource that the provider provides encoders and decoders … 25 * @param <T> The type of the data that the provider provides encoders and decoders for. 26 * @param <Z> The type of the resource that the provider provides encoders and decoders for. 36 * @param dataClass The class of the data that the provider provides encoders and decoders for. 37 …* @param resourceClass The class of the resource that the provider provides encoders and decoders … 38 * @param <T> The type of the data that the provider provides encoders and decoders for. 39 * @param <Z> The type of the resource that the provider provides encoders and decoders for.
|
| /external/robolectric/robolectric/src/main/java/org/robolectric/ |
| D | Robolectric.java | 73 * <p>Consider using {@link androidx.test.core.app.ActivityScenario} instead, which provides 86 * <p>Consider using {@link androidx.test.core.app.ActivityScenario} instead, which provides 103 * <p>Consider using {@link androidx.test.core.app.ActivityScenario} instead, which provides 133 * <p>FragmentController provides low-level APIs to control its lifecycle. Please consider using 134 * {@link androidx.fragment.app.testing.FragmentScenario} instead, which provides higher level 148 * <p>FragmentController provides low-level APIs to control its lifecycle. Please consider using 149 * {@link androidx.fragment.app.testing.FragmentScenario} instead, which provides higher level 168 * <p>FragmentController provides low-level APIs to control its lifecycle. Please consider using 169 * {@link androidx.fragment.app.testing.FragmentScenario} instead, which provides higher level 187 * <p>FragmentController provides low-level APIs to control its lifecycle. Please consider using [all …]
|