Home
last modified time | relevance | path

Searched refs:keyFactory (Results 1 – 20 of 20) sorted by relevance

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DKeyTest.java59 private Key.Factory keyFactory; field in KeyTest
64 this.keyFactory = new Key.Factory(types, elements); in setUp()
73 keyFactory.forInjectConstructorWithResolvedType(constructor.getEnclosingElement().asType())) in forInjectConstructorWithResolvedType()
91 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod)) in forProvidesMethod()
113 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod); in forProvidesMethod_qualified()
125 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod); in qualifiedKeyEquivalents()
133 Key injectionKey = keyFactory.forQualifiedType(Optional.<AnnotationMirror>of(qualifier), type); in qualifiedKeyEquivalents()
167 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod)) in forProvidesMethod_sets()
215 Key intKey = keyFactory.forProvidesMethod((ExecutableType) intMethod.asType(), intMethod); in primitiveKeysMatchBoxedKeys()
217 keyFactory.forProvidesMethod((ExecutableType) integerMethod.asType(), integerMethod); in primitiveKeysMatchBoxedKeys()
[all …]
DBindingFieldTest.java49 private Key.Factory keyFactory; field in BindingFieldTest
54 this.keyFactory = new Key.Factory(types, elements); in setUp()
64 Key key = keyFactory.forInjectConstructorWithResolvedType( in frameworkType()
80 Key key = keyFactory.forInjectConstructorWithResolvedType( in nameSuffix()
DDependencyRequestMapperTest.java53 private Key.Factory keyFactory; field in DependencyRequestMapperTest
59 this.keyFactory = new Key.Factory(types, elements); in setUp()
60 this.dependencyRequestFactory = new DependencyRequest.Factory(elements, keyFactory); in setUp()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProvisionBinding.java69 private final Key.Factory keyFactory; field in ProvisionBinding.Factory
72 Factory(Elements elements, Types types, Key.Factory keyFactory, in Factory() argument
76 this.keyFactory = keyFactory; in Factory()
113 Key key = keyFactory.forInjectConstructorWithResolvedType(enclosingCxtorType); in forInjectConstructor()
167 Key key = keyFactory.forProvidesMethod(resolvedMethod, providesMethod); in forProvidesMethod()
191 keyFactory.implicitMapProviderKeyFrom(mapOfValueRequest.key()); in implicitMapOfProviderBinding()
216 keyFactory.forComponent(componentDefinitionType.asType()), in forComponent()
235 keyFactory.forComponentMethod(componentMethod), in forComponentMethod()
255 keyFactory.forSubcomponentBuilderMethod(subcomponentBuilderMethod, declaredContainer), in forSubcomponentBuilderMethod()
DProductionBinding.java96 private final Key.Factory keyFactory; field in ProductionBinding.Factory
100 Types types, Key.Factory keyFactory, DependencyRequest.Factory dependencyRequestFactory) { in Factory() argument
102 this.keyFactory = keyFactory; in Factory()
116 Key key = keyFactory.forProducesMethod(resolvedMethod, producesMethod); in forProducesMethod()
145 keyFactory.implicitMapProducerKeyFrom(mapOfValueRequest.key()); in implicitMapOfProducerBinding()
172 keyFactory.forProductionComponentMethod(componentMethod), in forComponentMethod()
DComponentGenerator.java43 private final Key.Factory keyFactory; field in ComponentGenerator
50 Key.Factory keyFactory, in ComponentGenerator() argument
55 this.keyFactory = keyFactory; in ComponentGenerator()
124 types, elements, keyFactory, nullableValidationType, componentName, input) in write()
DDependencyRequest.java135 private final Key.Factory keyFactory; field in DependencyRequest.Factory
137 Factory(Elements elements, Key.Factory keyFactory) { in Factory() argument
139 this.keyFactory = keyFactory; in Factory()
238 keyFactory.forQualifiedType( in forComponentProductionMethod()
262 keyFactory.forMembersInjectedType( in forComponentMembersInjectionMethod()
271 keyFactory.forMembersInjectedType( in forComponentMembersInjectionMethod()
283 keyFactory.forMembersInjectedType(type), in forMembersInjectedType()
318 keyFactory.forQualifiedType(qualifier, kindAndType.type()), in newDependencyRequest()
DComponentProcessor.java126 Key.Factory keyFactory = new Key.Factory(types, elements); in initSteps() local
133 new ComponentGenerator(filer, elements, types, keyFactory, nullableDiagnosticType); in initSteps()
139 new DependencyRequest.Factory(elements, keyFactory); in initSteps()
141 new ProvisionBinding.Factory(elements, types, keyFactory, dependencyRequestFactory); in initSteps()
143 new ProductionBinding.Factory(types, keyFactory, dependencyRequestFactory); in initSteps()
146 new MembersInjectionBinding.Factory(elements, types, keyFactory, dependencyRequestFactory); in initSteps()
161 keyFactory, in initSteps()
DMembersInjectionBinding.java122 private final Key.Factory keyFactory; field in MembersInjectionBinding.Factory
125 Factory(Elements elements, Types types, Key.Factory keyFactory, in Factory() argument
129 this.keyFactory = checkNotNull(keyFactory); in Factory()
212 Key key = keyFactory.forMembersInjectedType(declaredType); in forInjectedType()
DBindingGraph.java159 private final Key.Factory keyFactory;
165 Key.Factory keyFactory,
170 this.keyFactory = keyFactory;
317 Optional<Key> mapProviderKey = keyFactory.implicitMapProviderKeyFrom(bindingKey.key());
324 Optional<Key> mapProducerKey = keyFactory.implicitMapProducerKeyFrom(bindingKey.key());
333 keyFactory.implicitSetKeyFromProduced(bindingKey.key());
DComponentWriter.java43 Key.Factory keyFactory, in ComponentWriter() argument
47 super(types, elements, keyFactory, nullableValidationType, name, graph); in ComponentWriter()
DAbstractComponentWriter.java126 protected final Key.Factory keyFactory; field in AbstractComponentWriter
158 Key.Factory keyFactory, in AbstractComponentWriter() argument
164 this.keyFactory = keyFactory; in AbstractComponentWriter()
1062 Key key = keyFactory.forQualifiedType(dependencyRequest.key().qualifier(), typeMirror); in getDependencyParameters()
DSubcomponentWriter.java62 parent.keyFactory, in SubcomponentWriter()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngine.java31 private final EngineKeyFactory keyFactory; field in Engine
63 Map<Key, EngineJob> jobs, EngineKeyFactory keyFactory, in Engine() argument
74 if (keyFactory == null) { in Engine()
75 keyFactory = new EngineKeyFactory(); in Engine()
77 this.keyFactory = keyFactory; in Engine()
147 … EngineKey key = keyFactory.buildKey(id, signature, width, height, loadProvider.getCacheDecoder(), in load()
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
DDigitalSignatureTest.java78 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); in test_Sign() local
79 PrivateKey privateKey = keyFactory in test_Sign()
82 final PublicKey publicKey = keyFactory in test_Sign()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DAsymmetricAlgorithmProvider.java29 …bleProvider provider, ASN1ObjectIdentifier oid, String name, AsymmetricKeyInfoConverter keyFactory) in registerOid() argument
34 provider.addKeyInfoConverter(oid, keyFactory); in registerOid()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLCipherRSA.java328 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
329 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); in engineUnwrap()
331 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
332 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in engineUnwrap()
DOpenSSLCipher.java406 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
407 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); in engineUnwrap()
409 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
410 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in engineUnwrap()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
DCertificateFactory_ImplTest.java217 KeyFactory keyFactory =
219 publicKey = keyFactory.generatePublic(publicKeySpec);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DCertPathValidatorUtilities.java1241 KeyFactory keyFactory = helper.createKeyFactory("DSA"); in getNextWorkingKey() local
1242 return keyFactory.generatePublic(dsaPubKeySpec); in getNextWorkingKey()