Home
last modified time | relevance | path

Searched refs:stringProvider (Results 1 – 16 of 16) sorted by relevance

/external/auto/factory/src/test/resources/good/
DProviderArgumentToCreateMethod.java23 private final Provider<String> stringProvider; field in ProviderArgumentToCreateMethod
25 ProviderArgumentToCreateMethod(Provider<String> stringProvider) { in ProviderArgumentToCreateMethod() argument
26 this.stringProvider = stringProvider; in ProviderArgumentToCreateMethod()
30 ProviderArgumentToCreateMethod newInstance(Provider<String> stringProvider); in newInstance() argument
/external/dagger2/javatests/dagger/functional/nullables/
DNullFoo.java24 final Provider<String> stringProvider; field in NullFoo
30 Provider<String> stringProvider, in NullFoo() argument
34 this.stringProvider = stringProvider; in NullFoo()
44 Provider<String> stringProvider, in inject() argument
48 this.methodInjectedStringProvider = stringProvider; in inject()
DNullabilityTest.java49 validate(true, nullFoo.string, nullFoo.stringProvider, nullFoo.numberProvider); in testNullability_provides()
70 @Override public Provider<String> stringProvider() { in testNullability_components()
104 validate(false, component.string(), component.stringProvider(), component.numberProvider()); in testNullability_components()
119 Provider<String> stringProvider, in validate() argument
134 assertThat(stringProvider.get()).isNull(); in validate()
DNullComponentWithDependency.java25 Provider<String> stringProvider(); in stringProvider() method
DNullComponent.java26 Provider<String> stringProvider(); in stringProvider() method
/external/auto/factory/src/test/resources/expected/
DMultipleFactoriesConflictingParameterNamesFactory.java28 private final Provider<String> stringProvider; field in MultipleFactoriesConflictingParameterNamesFactory
35 Provider<String> stringProvider, in MultipleFactoriesConflictingParameterNamesFactory() argument
39 this.stringProvider = checkNotNull(stringProvider, 1); in MultipleFactoriesConflictingParameterNamesFactory()
48 checkNotNull(stringProvider.get(), 1), in create()
DProviderArgumentToCreateMethodFactory.java30 ProviderArgumentToCreateMethod create(Provider<String> stringProvider) { in create() argument
31 return new ProviderArgumentToCreateMethod(checkNotNull(stringProvider, 1)); in create()
35 public ProviderArgumentToCreateMethod newInstance(Provider<String> stringProvider) { in newInstance() argument
36 return create(stringProvider); in newInstance()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DProto3MessageLiteFactory.java161 private final MapValueProvider<String> stringProvider = field in Proto3MessageLiteFactory
259 builder.putAllFieldMapBoolString15(populateBooleanMap(stringProvider)); in newMessageWithMaps()
276 builder.putAllFieldMapFixed32String32(populateIntegerMap(stringProvider)); in newMessageWithMaps()
293 builder.putAllFieldMapFixed64String49(populateLongMap(stringProvider)); in newMessageWithMaps()
310 builder.putAllFieldMapInt32String66(populateIntegerMap(stringProvider)); in newMessageWithMaps()
327 builder.putAllFieldMapInt64String83(populateLongMap(stringProvider)); in newMessageWithMaps()
344 builder.putAllFieldMapSfixed32String100(populateIntegerMap(stringProvider)); in newMessageWithMaps()
361 builder.putAllFieldMapSfixed64String117(populateLongMap(stringProvider)); in newMessageWithMaps()
378 builder.putAllFieldMapSint32String134(populateIntegerMap(stringProvider)); in newMessageWithMaps()
395 builder.putAllFieldMapSint64String151(populateLongMap(stringProvider)); in newMessageWithMaps()
[all …]
DProto3MessageFactory.java159 private final MapValueProvider<String> stringProvider = field in Proto3MessageFactory
257 builder.putAllFieldMapBoolString15(populateBooleanMap(stringProvider)); in newMessageWithMaps()
274 builder.putAllFieldMapFixed32String32(populateIntegerMap(stringProvider)); in newMessageWithMaps()
291 builder.putAllFieldMapFixed64String49(populateLongMap(stringProvider)); in newMessageWithMaps()
308 builder.putAllFieldMapInt32String66(populateIntegerMap(stringProvider)); in newMessageWithMaps()
325 builder.putAllFieldMapInt64String83(populateLongMap(stringProvider)); in newMessageWithMaps()
342 builder.putAllFieldMapSfixed32String100(populateIntegerMap(stringProvider)); in newMessageWithMaps()
359 builder.putAllFieldMapSfixed64String117(populateLongMap(stringProvider)); in newMessageWithMaps()
376 builder.putAllFieldMapSint32String134(populateIntegerMap(stringProvider)); in newMessageWithMaps()
393 builder.putAllFieldMapSint64String151(populateLongMap(stringProvider)); in newMessageWithMaps()
[all …]
DProto2MessageFactory.java171 private final MapValueProvider<String> stringProvider = field in Proto2MessageFactory
269 builder.putAllFieldMapBoolString15(populateBooleanMap(stringProvider)); in newMessageWithMaps()
286 builder.putAllFieldMapFixed32String32(populateIntegerMap(stringProvider)); in newMessageWithMaps()
303 builder.putAllFieldMapFixed64String49(populateLongMap(stringProvider)); in newMessageWithMaps()
320 builder.putAllFieldMapInt32String66(populateIntegerMap(stringProvider)); in newMessageWithMaps()
337 builder.putAllFieldMapInt64String83(populateLongMap(stringProvider)); in newMessageWithMaps()
354 builder.putAllFieldMapSfixed32String100(populateIntegerMap(stringProvider)); in newMessageWithMaps()
371 builder.putAllFieldMapSfixed64String117(populateLongMap(stringProvider)); in newMessageWithMaps()
388 builder.putAllFieldMapSint32String134(populateIntegerMap(stringProvider)); in newMessageWithMaps()
405 builder.putAllFieldMapSint64String151(populateLongMap(stringProvider)); in newMessageWithMaps()
[all …]
DProto2MessageLiteFactory.java174 private final MapValueProvider<String> stringProvider = field in Proto2MessageLiteFactory
272 builder.putAllFieldMapBoolString15(populateBooleanMap(stringProvider)); in newMessageWithMaps()
289 builder.putAllFieldMapFixed32String32(populateIntegerMap(stringProvider)); in newMessageWithMaps()
306 builder.putAllFieldMapFixed64String49(populateLongMap(stringProvider)); in newMessageWithMaps()
323 builder.putAllFieldMapInt32String66(populateIntegerMap(stringProvider)); in newMessageWithMaps()
340 builder.putAllFieldMapInt64String83(populateLongMap(stringProvider)); in newMessageWithMaps()
357 builder.putAllFieldMapSfixed32String100(populateIntegerMap(stringProvider)); in newMessageWithMaps()
374 builder.putAllFieldMapSfixed64String117(populateLongMap(stringProvider)); in newMessageWithMaps()
391 builder.putAllFieldMapSint32String134(populateIntegerMap(stringProvider)); in newMessageWithMaps()
408 builder.putAllFieldMapSint64String151(populateLongMap(stringProvider)); in newMessageWithMaps()
[all …]
/external/guice/core/test/com/google/inject/spi/
DModuleRewriterTest.java88 final Provider<String> stringProvider = getProvider(String.class); in testGetProviderAvailableAtInjectMembersTime()
98 value = stringProvider.get(); in testGetProviderAvailableAtInjectMembersTime()
DSpiBindingsTest.java104 final Provider<String> stringProvider = new StringProvider(); in testToProviderBinding() local
110 bind(String.class).toProvider(stringProvider); in testToProviderBinding()
123 assertSame(stringProvider, binding.getUserSuppliedProvider()); in testToProviderBinding()
/external/connectedappssdk/tests/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DCrossProfileProviderTest.java85 final JavaFileObject stringProvider = in providesANotCrossProfileType_hasError() local
104 .compile(stringProvider, annotatedNotesCrossProfileType(annotationStrings)); in providesANotCrossProfileType_hasError()
109 .inFile(stringProvider); in providesANotCrossProfileType_hasError()
/external/guice/core/test/com/google/inject/
DKeyTest.java312 final AtomicReference<Provider<List<String>>> stringProvider = in testAnonymousClassesDontHoldRefs() local
329 stringProvider.set(getProvider(new Key<List<String>>() {})); in testAnonymousClassesDontHoldRefs()
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProvider2Test.java632 Car createCar(Provider<Color> colorProvider, Provider<String> stringProvider); in createCar() argument
691 javax.inject.Provider<Color> colorProvider, javax.inject.Provider<String> stringProvider); in createCar() argument