Home
last modified time | relevance | path

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

12

/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DDependsOnProductionExecutorValidator.java37 private final KeyFactory keyFactory; field in DependsOnProductionExecutorValidator
40 DependsOnProductionExecutorValidator(CompilerOptions compilerOptions, KeyFactory keyFactory) { in DependsOnProductionExecutorValidator() argument
42 this.keyFactory = keyFactory; in DependsOnProductionExecutorValidator()
56 Key productionImplementationExecutorKey = keyFactory.forProductionImplementationExecutor(); in visitGraph()
57 Key productionExecutorKey = keyFactory.forProductionExecutor(); in visitGraph()
DMapMultibindingValidator.java57 private final KeyFactory keyFactory; field in MapMultibindingValidator
61 BindingDeclarationFormatter bindingDeclarationFormatter, KeyFactory keyFactory) { in MapMultibindingValidator() argument
63 this.keyFactory = keyFactory; in MapMultibindingValidator()
110 && !plainValueMapMultibindings.containsKey(keyFactory.unwrapMapValueType(key))); in mapMultibindings()
119 && !plainValueMapMultibindings.containsKey(keyFactory.unwrapMapValueType(key)) in mapMultibindings()
121 keyFactory.rewrapMapKey(key, Producer.class, Provider.class).get())); in mapMultibindings()
/external/dagger2/java/dagger/internal/codegen/binding/
DOptionalBindingDeclaration.java53 private final KeyFactory keyFactory; field in OptionalBindingDeclaration.Factory
56 Factory(KeyFactory keyFactory) { in Factory() argument
57 this.keyFactory = keyFactory; in Factory()
65 keyFactory.forBindsOptionalOfMethod(method, contributingModule)); in forMethod()
DSubcomponentDeclaration.java63 private final KeyFactory keyFactory; field in SubcomponentDeclaration.Factory
66 Factory(KeyFactory keyFactory) { in Factory() argument
67 this.keyFactory = keyFactory; in Factory()
80 keyFactory.forSubcomponentCreator( in forModule()
DDependencyRequestFactory.java62 private final KeyFactory keyFactory; field in DependencyRequestFactory
66 DependencyRequestFactory(KeyFactory keyFactory, InjectionAnnotations injectionAnnotations) { in DependencyRequestFactory() argument
67 this.keyFactory = keyFactory; in DependencyRequestFactory()
169 .key(keyFactory.forQualifiedType(qualifier, unwrapType(type))) in forComponentProductionMethod()
187 .key(keyFactory.forMembersInjectedType(membersInjectedType)) in forComponentMembersInjectionMethod()
195 .key(keyFactory.forProductionImplementationExecutor()) in forProductionImplementationExecutor()
202 .key(keyFactory.forProductionComponentMonitor()) in forProductionComponentMonitor()
211 Optional<Key> key = keyFactory.unwrapOptional(requestKey); in forSyntheticPresentOptionalBinding()
226 .key(keyFactory.forQualifiedType(qualifier, extractKeyType(type))) in newDependencyRequest()
DDelegateDeclaration.java60 private final KeyFactory keyFactory; field in DelegateDeclaration.Factory
66 KeyFactory keyFactory, in Factory() argument
69 this.keyFactory = keyFactory; in Factory()
85 keyFactory.forBindsMethod(bindsMethod, contributingModule), in create()
DMultibindingDeclaration.java75 private final KeyFactory keyFactory; field in MultibindingDeclaration.Factory
78 Factory(DaggerTypes types, KeyFactory keyFactory) { in Factory() argument
80 this.keyFactory = keyFactory; in Factory()
106 keyFactory.forMultibindsMethod(methodType, method), in forDeclaredMethod()
DBindingFactory.java86 private final KeyFactory keyFactory; field in BindingFactory
97 KeyFactory keyFactory, in BindingFactory() argument
104 this.keyFactory = keyFactory; in BindingFactory()
155 Key key = keyFactory.forInjectConstructorWithResolvedType(constructedType); in injectionBinding()
223 keyFactory.forProvidesMethod(providesMethod, contributedBy), in providesMethodBinding()
245 keyFactory.forProducesMethod(producesMethod, contributedBy), in producesMethodBinding()
326 .key(keyFactory.forType(componentDefinitionType.asType())) in componentBinding()
340 .key(keyFactory.forType(dependency.type())) in componentDependencyBinding()
362 .key(keyFactory.forProductionComponentMethod(dependencyMethod)) in componentDependencyMethodBinding()
368 .key(keyFactory.forComponentMethod(dependencyMethod)) in componentDependencyMethodBinding()
[all …]
DBindingGraphFactory.java84 private final KeyFactory keyFactory; field in BindingGraphFactory
95 KeyFactory keyFactory, in BindingGraphFactory() argument
102 this.keyFactory = keyFactory; in BindingGraphFactory()
383 keyFactory.unwrapOptional(key) in lookUpBindings()
400 lookUpBindings(keyFactory.unwrapOptional(requestKey).get()).bindings())); in lookUpBindings()
517 keyFactory.unwrapSetKey(requestKey, Produced.class).ifPresent(keys::add); in keysMatchingRequestUncached()
518 keyFactory.rewrapMapKey(requestKey, Producer.class, Provider.class).ifPresent(keys::add); in keysMatchingRequestUncached()
519 keyFactory.rewrapMapKey(requestKey, Provider.class, Producer.class).ifPresent(keys::add); in keysMatchingRequestUncached()
520 keys.addAll(keyFactory.implicitFrameworkMapKeys(requestKey)); in keysMatchingRequestUncached()
677 bindingKey = keyFactory.unwrapMapValueType(bindingKey); in resolverContainsDelegateDeclarationForBinding()
[all …]
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentImplementationFactory.java39 private final KeyFactory keyFactory; field in ComponentImplementationFactory
45 KeyFactory keyFactory, in ComponentImplementationFactory() argument
48 this.keyFactory = keyFactory; in ComponentImplementationFactory()
68 new SubcomponentNames(bindingGraph, keyFactory), in createComponentImplementationUncached()
/external/dagger2/javatests/dagger/internal/codegen/
DKeyFactoryTest.java66 @Inject KeyFactory keyFactory; field in KeyFactoryTest
78 keyFactory.forInjectConstructorWithResolvedType(constructor.getEnclosingElement().asType()); in forInjectConstructorWithResolvedType()
94 Key key = keyFactory.forProvidesMethod(providesMethod, moduleElement); in forProvidesMethod()
114 Key key = keyFactory.forProvidesMethod(providesMethod, moduleElement); in forProvidesMethod_qualified()
136 Key provisionKey = keyFactory.forProvidesMethod(providesMethod, moduleElement); in qualifiedKeyEquivalents()
203 Key key = keyFactory.forProvidesMethod(providesMethod, moduleElement); in forProvidesMethod_sets()
259 Key intKey = keyFactory.forProvidesMethod(intMethod, primitiveHolder); in primitiveKeysMatchBoxedKeys()
260 Key integerKey = keyFactory.forProvidesMethod(integerMethod, boxedPrimitiveHolder); in primitiveKeysMatchBoxedKeys()
272 Key key = keyFactory.forProducesMethod(producesMethod, moduleElement); in forProducesMethod()
297 Key key = keyFactory.forProducesMethod(producesMethod, moduleElement); in forProducesMethod_sets()
/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/dagger2/java/dagger/internal/codegen/validation/
DInjectBindingRegistryImpl.java78 private final KeyFactory keyFactory; field in InjectBindingRegistryImpl
172 KeyFactory keyFactory, in InjectBindingRegistryImpl() argument
180 this.keyFactory = keyFactory; in InjectBindingRegistryImpl()
250 Key key = keyFactory.forInjectConstructorWithResolvedType(type); in tryRegisterConstructor()
280 Key key = keyFactory.forInjectConstructorWithResolvedType(type); in tryRegisterMembersInjectedType()
295 getOrFindMembersInjectionBinding(keyFactory.forMembersInjectedType(supertype.get())); in tryRegisterMembersInjectedType()
355 Key membersInjectionKey = keyFactory.forMembersInjectedType(types.unwrapType(key.type())); in getOrFindMembersInjectorProvisionBinding()
/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/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java52 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); in getPrivateKey() local
55 keyFactory.getKeySpec(originalPrivateKey, RSAPrivateKeySpec.class); in getPrivateKey()
68 keyFactory.getKeySpec(originalPrivateKey, DSAPrivateKeySpec.class); in getPrivateKey()
/external/dagger2/java/dagger/internal/codegen/writing/
DSubcomponentNames.java54 public SubcomponentNames(BindingGraph graph, KeyFactory keyFactory) { in SubcomponentNames() argument
56 this.descriptorsByCreatorKey = descriptorsByCreatorKey(keyFactory, namesByDescriptor.keySet()); in SubcomponentNames()
96 KeyFactory keyFactory, ImmutableSet<ComponentDescriptor> subcomponents) { in descriptorsByCreatorKey() argument
102 keyFactory.forSubcomponentCreator( in descriptorsByCreatorKey()
DProducerFactoryGenerator.java92 private final KeyFactory keyFactory; field in ProducerFactoryGenerator
100 KeyFactory keyFactory) { in ProducerFactoryGenerator() argument
103 this.keyFactory = keyFactory; in ProducerFactoryGenerator()
158 if (key.equals(keyFactory.forProductionImplementationExecutor())) { in write()
161 } else if (key.equals(keyFactory.forProductionComponentMonitor())) { in write()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DECDHKeyAgreementTest.java511 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); in getPrivateKey() local
512 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey)); in getPrivateKey()
517 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); in getPublicKey() local
518 return (ECPublicKey) keyFactory.generatePublic(new X509EncodedKeySpec(x509EncodedKey)); in getPublicKey()
523 KeyFactory keyFactory = KeyFactory.getInstance("EC"); in getPrivateKey() local
524 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey)); in getPrivateKey()
529 KeyFactory keyFactory = KeyFactory.getInstance("EC"); in getPublicKey() local
530 return (ECPublicKey) keyFactory.generatePublic(new X509EncodedKeySpec(x509EncodedKey)); in getPublicKey()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DECDHKeyAgreementTest.java509 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); in getPrivateKey() local
510 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey)); in getPrivateKey()
515 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); in getPublicKey() local
516 return (ECPublicKey) keyFactory.generatePublic(new X509EncodedKeySpec(x509EncodedKey)); in getPublicKey()
521 KeyFactory keyFactory = KeyFactory.getInstance("EC"); in getPrivateKey() local
522 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey)); in getPrivateKey()
527 KeyFactory keyFactory = KeyFactory.getInstance("EC"); in getPublicKey() local
528 return (ECPublicKey) keyFactory.generatePublic(new X509EncodedKeySpec(x509EncodedKey)); in getPublicKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DAsymmetricAlgorithmProvider.java40 …bleProvider provider, ASN1ObjectIdentifier oid, String name, AsymmetricKeyInfoConverter keyFactory) in registerOid() argument
45 provider.addKeyInfoConverter(oid, keyFactory); in registerOid()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/util/
DAsymmetricAlgorithmProvider.java44 …bleProvider provider, ASN1ObjectIdentifier oid, String name, AsymmetricKeyInfoConverter keyFactory) in registerOid() argument
49 provider.addKeyInfoConverter(oid, keyFactory); in registerOid()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/util/
DAsymmetricAlgorithmProvider.java44 …bleProvider provider, ASN1ObjectIdentifier oid, String name, AsymmetricKeyInfoConverter keyFactory) in registerOid() argument
49 provider.addKeyInfoConverter(oid, keyFactory); in registerOid()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLCipher.java430 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
431 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); in engineUnwrap()
433 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
434 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in engineUnwrap()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLCipher.java428 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
429 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); in engineUnwrap()
431 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
432 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in engineUnwrap()
DOpenSSLCipherRSA.java358 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
359 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); in engineUnwrap()
361 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); in engineUnwrap() local
362 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); in engineUnwrap()

12