Home
last modified time | relevance | path

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

/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DInternalProviderClassGenerator.java45 private final ProviderClassInfo providerClass; field in InternalProviderClassGenerator
48 GeneratorContext generatorContext, ProviderClassInfo providerClass) { in InternalProviderClassGenerator() argument
51 this.providerClass = checkNotNull(providerClass); in InternalProviderClassGenerator()
65 ClassName className = getInternalProviderClassName(generatorContext, providerClass); in generateInternalProviderClassClass()
72 providerClass.providerClassElement().asType().toString()); in generateInternalProviderClassClass()
81 FieldSpec.builder(providerClass.className(), "providerClass") in generateInternalProviderClassClass()
94 providerClass.publicConstructorArgumentTypes().isEmpty() in generateInternalProviderClassClass()
111 .returns(providerClass.className()) in generateInternalProviderClassClass()
118 getInternalProviderClassName(generatorContext, providerClass)) in generateInternalProviderClassClass()
122 providerClass.className(), in generateInternalProviderClassClass()
[all …]
DProviderClassCodeGenerator.java30 private final ProviderClassInfo providerClass; field in ProviderClassCodeGenerator
32 ProviderClassCodeGenerator(GeneratorContext generatorContext, ProviderClassInfo providerClass) { in ProviderClassCodeGenerator() argument
34 this.providerClass = checkNotNull(providerClass); in ProviderClassCodeGenerator()
36 new InternalProviderClassGenerator(generatorContext, providerClass); in ProviderClassCodeGenerator()
48 for (CrossProfileTypeInfo crossProfileType : providerClass.allCrossProfileTypes()) { in generate()
49 new CrossProfileTypeCodeGenerator(generatorContext, providerClass, crossProfileType) in generate()
DLateValidator.java82 for (ProviderClassInfo providerClass : providerClasses) { in validateProviderClasses()
83 isValid = validateProviderClass(providerClass) && isValid; in validateProviderClasses()
89 private boolean validateProviderClass(ProviderClassInfo providerClass) { in validateProviderClass() argument
92 if (getConnectorQualifiedNamesUsedInProviderClass(providerClass).size() > 1) { in validateProviderClass()
95 providerClass.providerClassElement(), in validateProviderClass()
96 validationMessageFormatterForClass(providerClass.providerClassElement())); in validateProviderClass()
100 for (CrossProfileTypeInfo crossProfileType : providerClass.staticTypes()) { in validateProviderClass()
102 showError(STATICTYPES_ERROR, providerClass.providerClassElement()); in validateProviderClass()
185 ProviderClassInfo providerClass) { in getConnectorQualifiedNamesUsedInProviderClass() argument
186 return providerClass.allCrossProfileTypes().stream() in getConnectorQualifiedNamesUsedInProviderClass()
DInternalCrossProfileClassGenerator.java63 private final ProviderClassInfo providerClass; field in InternalCrossProfileClassGenerator
68 ProviderClassInfo providerClass, in InternalCrossProfileClassGenerator() argument
72 this.providerClass = checkNotNull(providerClass); in InternalCrossProfileClassGenerator()
115 providerClass.findProviderMethodFor(generatorContext, crossProfileType); in generateInternalCrossProfileClass()
127 generatorContext, providerClass), in generateInternalCrossProfileClass()
DCrossProfileTypeCodeGenerator.java38 ProviderClassInfo providerClass, in CrossProfileTypeCodeGenerator() argument
52 new InternalCrossProfileClassGenerator(generatorContext, providerClass, crossProfileType); in CrossProfileTypeCodeGenerator()
DCodeGenerator.java71 for (ProviderClassInfo providerClass : generatorContext.providers()) { in generate()
72 new ProviderClassCodeGenerator(generatorContext, providerClass).generate(); in generate()
DEarlyValidator.java472 for (TypeElement providerClass : configuration.providerClassElements()) { in validateConfiguration()
473 if (!hasCrossProfileProviderAnnotation(providerClass) in validateConfiguration()
474 && GeneratorUtilities.findCrossProfileProviderMethodsInClass(providerClass).isEmpty()) { in validateConfiguration()
/external/connectedappssdk/tests/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DCrossProfileProviderClassTest.java63 JavaFileObject providerClass = in hasACustomNoArgsConstructor_compiles() local
80 .compile(providerClass, annotatedNotesCrossProfileType(annotationStrings)); in hasACustomNoArgsConstructor_compiles()
87 JavaFileObject providerClass = in hasNonPublicNoArgsConstructor_hasError() local
104 .compile(providerClass, annotatedNotesCrossProfileType(annotationStrings)); in hasNonPublicNoArgsConstructor_hasError()
108 .inFile(providerClass); in hasNonPublicNoArgsConstructor_hasError()
113 JavaFileObject providerClass = in hasNoNoArgsConstructor_hasError() local
130 .compile(providerClass, annotatedNotesCrossProfileType(annotationStrings)); in hasNoNoArgsConstructor_hasError()
134 .inFile(providerClass); in hasNoNoArgsConstructor_hasError()
139 JavaFileObject providerClass = in hasPublicConstructorTakingContext_compiles() local
157 .compile(providerClass, annotatedNotesCrossProfileType(annotationStrings)); in hasPublicConstructorTakingContext_compiles()
[all …]
DInternalProviderClassTest.java125 final JavaFileObject providerClass = in providerClassHasField_compiles() local
141 .compile(providerClass, annotatedNotesCrossProfileType(annotationPrinter)); in providerClassHasField_compiles()
DCrossProfileTest.java1077 JavaFileObject providerClass = in crossProfileInterface_works() local
1090 javac().withProcessors(new Processor()).compile(notesType, providerClass); in crossProfileInterface_works()
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DObjectFactory.java77 Class providerClass; in findProviderClass() local
88 providerClass = Class.forName(className); in findProviderClass()
91 providerClass = cl.loadClass(className); in findProviderClass()
97 providerClass = Class.forName(className); in findProviderClass()
100 providerClass = cl.loadClass(className); in findProviderClass()
110 return providerClass; in findProviderClass()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DObjectFactory.java218 Class providerClass = findProviderClass(factoryClassName, in lookUpFactoryClass() local
221 debugPrintln("created new instance of " + providerClass + in lookUpFactoryClass()
223 return providerClass; in lookUpFactoryClass()
457 Class providerClass = findProviderClass(className, cl, doFallback); in newInstance() local
458 Object instance = providerClass.newInstance(); in newInstance()
459 debugPrintln("created new instance of " + providerClass + in newInstance()
493 Class providerClass; in findProviderClass() local
504 providerClass = Class.forName(className); in findProviderClass()
507 providerClass = cl.loadClass(className); in findProviderClass()
513 providerClass = Class.forName(className); in findProviderClass()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/xslt/
DObjectFactory.java219 Class providerClass = findProviderClass(factoryClassName, in lookUpFactoryClass() local
222 debugPrintln("created new instance of " + providerClass + in lookUpFactoryClass()
224 return providerClass; in lookUpFactoryClass()
458 Class providerClass = findProviderClass(className, cl, doFallback); in newInstance() local
459 Object instance = providerClass.newInstance(); in newInstance()
460 debugPrintln("created new instance of " + providerClass + in newInstance()
494 Class providerClass; in findProviderClass() local
505 providerClass = Class.forName(className); in findProviderClass()
508 providerClass = cl.loadClass(className); in findProviderClass()
514 providerClass = Class.forName(className); in findProviderClass()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DObjectFactory.java219 Class providerClass = findProviderClass(factoryClassName, in lookUpFactoryClass() local
222 debugPrintln("created new instance of " + providerClass + in lookUpFactoryClass()
224 return providerClass; in lookUpFactoryClass()
458 Class providerClass = findProviderClass(className, cl, doFallback); in newInstance() local
459 Object instance = providerClass.newInstance(); in newInstance()
460 debugPrintln("created new instance of " + providerClass + in newInstance()
494 Class providerClass; in findProviderClass() local
505 providerClass = Class.forName(className); in findProviderClass()
508 providerClass = cl.loadClass(className); in findProviderClass()
514 providerClass = Class.forName(className); in findProviderClass()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/
DObjectFactory.java219 Class providerClass = findProviderClass(factoryClassName, in lookUpFactoryClass() local
222 debugPrintln("created new instance of " + providerClass + in lookUpFactoryClass()
224 return providerClass; in lookUpFactoryClass()
458 Class providerClass = findProviderClass(className, cl, doFallback); in newInstance() local
459 Object instance = providerClass.newInstance(); in newInstance()
460 debugPrintln("created new instance of " + providerClass + in newInstance()
494 Class providerClass; in findProviderClass() local
505 providerClass = Class.forName(className); in findProviderClass()
508 providerClass = cl.loadClass(className); in findProviderClass()
514 providerClass = Class.forName(className); in findProviderClass()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DObjectFactory.java219 Class providerClass = findProviderClass(factoryClassName, in lookUpFactoryClass() local
222 debugPrintln("created new instance of " + providerClass + in lookUpFactoryClass()
224 return providerClass; in lookUpFactoryClass()
458 Class providerClass = findProviderClass(className, cl, doFallback); in newInstance() local
459 Object instance = providerClass.newInstance(); in newInstance()
460 debugPrintln("created new instance of " + providerClass + in newInstance()
494 Class providerClass; in findProviderClass() local
505 providerClass = Class.forName(className); in findProviderClass()
508 providerClass = cl.loadClass(className); in findProviderClass()
514 providerClass = Class.forName(className); in findProviderClass()
[all …]
/external/junit-params/src/main/java/junitparams/internal/parameters/
DParametersFromCustomProvider.java30 private ParametersProvider instantiate(Class<? extends ParametersProvider> providerClass) { in instantiate() argument
32 return providerClass.newInstance(); in instantiate()
/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securegcm/
DKeyEncodingTest.java182 Class<?> providerClass = Class.forName("sun.security.ec.SunEC"); in installSunEcSecurityProviderIfNecessary() local
183 Security.addProvider((Provider) providerClass.newInstance()); in installSunEcSecurityProviderIfNecessary()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java180 Class<?> providerClass = Class.forName(negoClassName + "$Provider"); in findPlatform() local
183 Method putMethod = negoClass.getMethod("put", SSLSocket.class, providerClass); in findPlatform()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DPlatform.java261 Class<?> providerClass = Class.forName(negoClassName + "$Provider"); in findPlatform() local
264 Method putMethod = negoClass.getMethod("put", SSLSocket.class, providerClass); in findPlatform()