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/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DECDHKeyAgreementTest.java465 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); in getPrivateKey() local
466 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey)); in getPrivateKey()
471 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); in getPublicKey() local
472 return (ECPublicKey) keyFactory.generatePublic(new X509EncodedKeySpec(x509EncodedKey)); in getPublicKey()
477 KeyFactory keyFactory = KeyFactory.getInstance("EC"); in getPrivateKey() local
478 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey)); in getPrivateKey()
483 KeyFactory keyFactory = KeyFactory.getInstance("EC"); in getPublicKey() local
484 return (ECPublicKey) keyFactory.generatePublic(new X509EncodedKeySpec(x509EncodedKey)); in getPublicKey()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java50 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); in getPrivateKey() local
53 keyFactory.getKeySpec(originalPrivateKey, RSAPrivateKeySpec.class); in getPrivateKey()
66 keyFactory.getKeySpec(originalPrivateKey, DSAPrivateKeySpec.class); in getPrivateKey()
/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/common/src/main/java/org/conscrypt/
DOpenSSLCipherRSA.java361 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
362 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); in engineUnwrap()
364 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
365 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in engineUnwrap()
DOpenSSLCipher.java419 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
420 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); in engineUnwrap()
422 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
423 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in engineUnwrap()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DCertPathValidatorUtilities.java1243 KeyFactory keyFactory = helper.createKeyFactory("DSA"); in getNextWorkingKey() local
1244 return keyFactory.generatePublic(dsaPubKeySpec); in getNextWorkingKey()