/external/apache-http/src/org/apache/commons/logging/ |
D | LogFactory.java | 692 public static void release(ClassLoader classLoader) { in release() argument 695 logDiagnostic("Releasing factory for classloader " + objectId(classLoader)); in release() 698 if (classLoader == null) { in release() 704 LogFactory factory = (LogFactory) factories.get(classLoader); in release() 707 factories.remove(classLoader); in release() 836 ClassLoader classLoader = null; 845 classLoader = (ClassLoader)method.invoke(Thread.currentThread(), 878 classLoader = getClassLoader(LogFactory.class); 895 return classLoader; 939 private static void cacheFactory(ClassLoader classLoader, LogFactory factory) [all …]
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/ |
D | CoverageTransformerTest.java | 45 private ClassLoader classLoader; field in CoverageTransformerTest 55 classLoader = getClass().getClassLoader(); in setup() 68 assertFalse(t.filter(classLoader, in testFilterAgentClass() 92 assertTrue(t.filter(classLoader, "org/example/Foo", protectionDomain)); in testFilterClassLoaderPositive1() 100 assertTrue(t.filter(classLoader, "org/example/Foo", protectionDomain)); in testFilterClassLoaderPositive2() 129 assertTrue(t.filter(classLoader, "org/jacoco/core/Foo", in testFilterIncludedClassPositive() 137 assertFalse(t.filter(classLoader, "org/jacoco/report/Foo", in testFilterIncludedClassNegative() 145 assertFalse(t.filter(classLoader, "org/jacoco/core/FooTest", in testFilterExcludedClassPositive() 153 assertFalse(t.filter(classLoader, "org/jacoco/example/Foo$Inner", in testFilterExcludedClassPositiveInner() 161 assertTrue(t.filter(classLoader, "org/jacoco/core/Foo", in testFilterExcludedClassNegative() [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | ParameterizedRobolectricTestRunner.java | 113 private Object[] computeParams(ClassLoader classLoader) throws Exception { in computeParams() argument 118 List<Object[]> parametersList = getParametersList(getTestClass(), classLoader); in computeParams() 137 private void injectParametersIntoFields(Object testClassInstance, ClassLoader classLoader) in injectParametersIntoFields() argument 141 Class<?> parameterClass = getClassInClassLoader(Parameter.class, classLoader); in injectParametersIntoFields() 142 Object[] parameters = computeParams(classLoader); in injectParametersIntoFields() 278 ClassLoader classLoader = getClass().getClassLoader(); 280 getParametersMethod(testClass, classLoader).getAnnotation(Parameters.class); 281 List<Object[]> parametersList = getParametersList(testClass, classLoader); 296 private static List<Object[]> getParametersList(TestClass testClass, ClassLoader classLoader) 298 return (List<Object[]>) getParametersMethod(testClass, classLoader).invokeExplosively(null); [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
D | ClassLoaderResourceLoader.java | 53 private final ClassLoader classLoader; field in ClassLoaderResourceLoader 56 public ClassLoaderResourceLoader(ClassLoader classLoader, String basePath) { in ClassLoaderResourceLoader() argument 57 this.classLoader = classLoader; in ClassLoaderResourceLoader() 61 public ClassLoaderResourceLoader(ClassLoader classLoader) { in ClassLoaderResourceLoader() argument 62 this(classLoader, "."); in ClassLoaderResourceLoader() 68 InputStream stream = classLoader.getResourceAsStream(path); in open()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | ClassLoaders.java | 60 public static ReachableClassesFinder in(ClassLoader classLoader) { in in() argument 61 return new ReachableClassesFinder(classLoader); in in() 95 public static ClassLoaderExecutor using(final ClassLoader classLoader) { in using() argument 96 return new ClassLoaderExecutor(classLoader); in using() 100 private ClassLoader classLoader; field in ClassLoaders.ClassLoaderExecutor 102 public ClassLoaderExecutor(ClassLoader classLoader) { in ClassLoaderExecutor() argument 103 this.classLoader = classLoader; in ClassLoaderExecutor() 111 thread.setContextClassLoader(classLoader); in execute() 146 …Class<Runnable> taskClassReloaded = (Class<Runnable>) classLoader.loadClass(task.getClass().getNam… in reloadTaskInClassLoader() 226 LocalIsolatedURLClassLoader(ClassLoader classLoader, in LocalIsolatedURLClassLoader() argument [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/platform/jvm/ |
D | EffectiveClassPath.java | 42 static String getClassPathForClassLoader(ClassLoader classLoader) { in getClassPathForClassLoader() argument 48 files.addAll(getClassPathFiles(classLoader)); in getClassPathForClassLoader() 53 private static Set<File> getClassPathFiles(ClassLoader classLoader) { in getClassPathFiles() argument 55 @Nullable ClassLoader parent = classLoader.getParent(); in getClassPathFiles() 59 if (classLoader instanceof URLClassLoader) { in getClassPathFiles() 60 URLClassLoader urlClassLoader = (URLClassLoader) classLoader; in getClassPathFiles()
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | TryWithResourcesRewriter.java | 108 private final ClassLoader classLoader; field in TryWithResourcesRewriter 130 ClassLoader classLoader, in TryWithResourcesRewriter() argument 135 this.classLoader = classLoader; in TryWithResourcesRewriter() 193 internalName, name + desc, closeResourceMethod, classLoader, null); in visitMethod() 215 new TryWithResourceVisitor(internalName, name + desc, visitor, classLoader, inference); in visitMethod() 227 Class<?> klass = classLoader.loadClass(className); in isInterface() 253 private final ClassLoader classLoader; field in TryWithResourcesRewriter.TryWithResourceVisitor 264 ClassLoader classLoader, in TryWithResourceVisitor() argument 267 this.classLoader = classLoader; in TryWithResourceVisitor() 362 Class<?> klass = classLoader.loadClass(resourceClassName); in hasCloseMethod() [all …]
|
D | LambdaClassFixer.java | 54 private final ClassLoader classLoader; field in LambdaClassFixer 71 ClassLoader classLoader, in LambdaClassFixer() argument 80 this.classLoader = classLoader; in LambdaClassFixer() 150 methodVisitor, lambdaInfo, classLoader, access, name, desc, signature, exceptions); in visitMethod() 437 private final ClassLoader classLoader; field in LambdaClassFixer.UseBridgeMethod 442 ClassLoader classLoader, in UseBridgeMethod() argument 451 this.classLoader = classLoader; in UseBridgeMethod() 516 Class<?> methodInsnOwnerClass = classLoader.loadClass(ownerOfMethodInsn.replace('/', '.')); in hasAssignableRelation() 518 classLoader.loadClass(ownerOfMethodReference.replace('/', '.')); in hasAssignableRelation()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | InvocationProfile.java | 12 …public InvocationProfile(String methodSignatureString, boolean isStatic, ClassLoader classLoader) { in InvocationProfile() argument 14 this.clazz = loadClass(classLoader, methodSignature.className); in InvocationProfile() 24 public Class<?>[] getParamClasses(ClassLoader classLoader) throws ClassNotFoundException { in getParamClasses() argument 28 classes[i] = ShadowWrangler.loadClass(paramType, classLoader); in getParamClasses() 33 private Class<?> loadClass(ClassLoader classLoader, String className) { in loadClass() argument 35 return classLoader.loadClass(className); in loadClass()
|
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/ |
D | AgentBuilderListener.java | 37 ClassLoader classLoader, in onTransformation() argument 47 ClassLoader classLoader, in onIgnored() argument 54 ClassLoader classLoader, in onError() argument 63 String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) {} in onComplete() argument 67 String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) {} in onDiscovery() argument
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNativeAllocationRegistry.java | 24 ClassLoader classLoader, long freeFunction, long size) { in createMalloced() argument 26 ClassParameter.from(ClassLoader.class, classLoader), in createMalloced() 33 ClassLoader classLoader, long freeFunction) { in createMalloced() argument 35 ClassParameter.from(ClassLoader.class, classLoader), in createMalloced()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | InternalServiceProviders.java | 33 ClassLoader classLoader, in load() argument 35 return ServiceProviders.load(klass, hardcoded, classLoader, priorityAccessor); in load() 44 ClassLoader classLoader, in loadAll() argument 46 return ServiceProviders.loadAll(klass, hardCodedClasses, classLoader, priorityAccessor); in loadAll()
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | SubclassInjectionLoader.java | 52 …Strategy<ClassLoader> resolveStrategy(Class<?> mockedType, ClassLoader classLoader, boolean codege… in resolveStrategy() argument 72 …Strategy<ClassLoader> resolveStrategy(Class<?> mockedType, ClassLoader classLoader, boolean codege… in resolveStrategy() argument 75 } else if (classLoader != mockedType.getClassLoader()) { in resolveStrategy() 104 …Strategy<ClassLoader> resolveStrategy(Class<?> mockedType, ClassLoader classLoader, boolean codege… in resolveStrategy() argument 105 return loader.resolveStrategy(mockedType, classLoader, codegen); in resolveStrategy()
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
D | AppDataDirGuesser.java | 34 ClassLoader classLoader = guessSuitableClassLoader(); in guess() local 37 clazz.cast(classLoader); in guess() 39 String pathFromThisClassLoader = getPathFromThisClassLoader(classLoader, clazz); in guess() 54 …private String getPathFromThisClassLoader(ClassLoader classLoader, Class<?> pathClassLoaderClass) { in getPathFromThisClassLoader() argument 60 return (String) pathField.get(classLoader); in getPathFromThisClassLoader() 67 String result = classLoader.toString(); in getPathFromThisClassLoader()
|
/external/jsilver/src/org/clearsilver/ |
D | FactoryLoader.java | 106 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in newDefaultClearsilverFactory() local 108 loadClass(factoryClassName, classLoader); in newDefaultClearsilverFactory() 120 ClassLoader classLoader) throws ClassNotFoundException { in loadClass() argument 122 classLoader); in loadClass()
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | TryWithResourcesRewriterTest.java | 53 private final DesugaringClassLoader classLoader = field in TryWithResourcesRewriterTest 60 desugaredClass = classLoader.findClass(ClassUsingTryWithResources.class.getName()); in setup() 72 countDesugaredThrowableMethodCalls(classLoader.classContent, classLoader); in testMethodsAreDesugared() 77 assertThat(hasAutoCloseable(classLoader.classContent)).isFalse(); in testMethodsAreDesugared() 78 assertThat(classLoader.numOfTryWithResourcesInvoked.intValue()).isAtLeast(2); in testMethodsAreDesugared() 79 assertThat(classLoader.visitedExceptionTypes) in testMethodsAreDesugared() 276 private final ClassLoader classLoader; field in TryWithResourcesRewriterTest.DesugaredThrowableMethodCallCounter 282 classLoader = loader; in DesugaredThrowableMethodCallCounter() 317 Class<?> ownerClass = classLoader.loadClass(owner.replace('/', '.')); in isAssignableToThrowable()
|
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/ |
D | LogFactory.java | 302 public static void release(ClassLoader classLoader) { in release() argument 347 protected static Object createFactory(String factoryClass, ClassLoader classLoader) { in createFactory() argument 395 …protected static LogFactory newFactory(final String factoryClass, final ClassLoader classLoader, f… in newFactory() argument 403 … protected static LogFactory newFactory(final String factoryClass, final ClassLoader classLoader) { in newFactory() argument
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | Providers.java | 86 …public static Provider resourceProvider(ClassLoader classLoader, String pathToResource, Charset en… in resourceProvider() argument 87 InputStream resourceAsStream = classLoader.getResourceAsStream(pathToResource); in resourceProvider() 99 ClassLoader classLoader = Provider.class.getClassLoader(); in resourceProvider() local 100 return resourceProvider(classLoader, pathToResource, encoding); in resourceProvider()
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | SandboxClassLoaderTest.java | 86 private ClassLoader classLoader; field in SandboxClassLoaderTest 132 ClassLoader classLoader = new SandboxClassLoader(config); in shouldDelegateClassLoadForUnacquiredClasses() local 133 Class<?> exampleClass = classLoader.loadClass(AnExampleClass.class.getName()); in shouldDelegateClassLoadForUnacquiredClasses() 139 ClassLoader classLoader = new SandboxClassLoader(configureBuilder().build()); in shouldPerformClassLoadForAcquiredClasses() local 140 Class<?> exampleClass = classLoader.loadClass(AnUninstrumentedClass.class.getName()); in shouldPerformClassLoadForAcquiredClasses() 141 assertSame(classLoader, exampleClass.getClassLoader()); in shouldPerformClassLoadForAcquiredClasses() 152 ClassLoader classLoader = new SandboxClassLoader(configureBuilder().build()); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses() local 153 Class<?> exampleClass = classLoader.loadClass(AnExampleClass.class.getName()); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses() 154 assertSame(classLoader, exampleClass.getClassLoader()); in shouldPerformClassLoadAndInstrumentLoadForInstrumentedClasses() 739 private void setClassLoader(ClassLoader classLoader) { [all …]
|
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/ |
D | Metrics.java | 63 static MetricsComponent loadMetricsComponent(@Nullable ClassLoader classLoader) { in loadMetricsComponent() argument 68 "io.opencensus.impl.metrics.MetricsComponentImpl", /*initialize=*/ true, classLoader), in loadMetricsComponent() 83 classLoader), in loadMetricsComponent()
|
/external/opencensus-java/api/src/main/java/io/opencensus/tags/ |
D | Tags.java | 95 static TagsComponent loadTagsComponent(@Nullable ClassLoader classLoader) { in loadTagsComponent() argument 100 "io.opencensus.impl.tags.TagsComponentImpl", /*initialize=*/ true, classLoader), in loadTagsComponent() 115 classLoader), in loadTagsComponent()
|
/external/opencensus-java/api/src/main/java/io/opencensus/stats/ |
D | Stats.java | 93 static StatsComponent loadStatsComponent(@Nullable ClassLoader classLoader) { in loadStatsComponent() argument 98 "io.opencensus.impl.stats.StatsComponentImpl", /*initialize=*/ true, classLoader), in loadStatsComponent() 113 classLoader), in loadStatsComponent()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
D | AndroidSandboxClassLoaderTest.java | 19 private ClassLoader classLoader; field in AndroidSandboxClassLoaderTest 23 classLoader = SandboxFactory.INSTANCE.createClassLoader(configureBuilder().build()); in setUp() 44 return classLoader.loadClass(clazz.getName()); in loadClass()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | Tracing.java | 91 static TraceComponent loadTraceComponent(@Nullable ClassLoader classLoader) { in loadTraceComponent() argument 96 "io.opencensus.impl.trace.TraceComponentImpl", /*initialize=*/ true, classLoader), in loadTraceComponent() 111 classLoader), in loadTraceComponent()
|
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
D | PrecompiledTemplateLoader.java | 57 ClassLoader classLoader = getClass().getClassLoader(); in makeTemplateMap() local 60 BaseCompiledTemplate compiledTemplate = loadTemplateObject(className, classLoader); in makeTemplateMap() 80 protected BaseCompiledTemplate loadTemplateObject(String className, ClassLoader classLoader) { in loadTemplateObject() argument 82 Class<?> templateClass = classLoader.loadClass(className); in loadTemplateObject()
|