Searched refs:reporter (Results 1 – 4 of 4) sorted by relevance
66 private Reporter reporter; field in BaseDexClassLoaderTest96 reporter = new Reporter(); in registerReporter()97 BaseDexClassLoader.setReporter(reporter); in registerReporter()117 assertEquals(2, reporter.loadedDexPaths.size()); in testReporting()118 assertEquals(2, reporter.classLoaders.size()); in testReporting()121 assertEquals(jar.getPath(), reporter.loadedDexPaths.get(0)); in testReporting()122 assertEquals(cl1, reporter.classLoaders.get(0)); in testReporting()126 assertEquals(ClassLoader.getSystemClassLoader(), reporter.classLoaders.get(1)); in testReporting()135 assertEquals(3, reporter.loadedDexPaths.size()); in testReportingUnknownLoader()136 assertEquals(3, reporter.classLoaders.size()); in testReportingUnknownLoader()[all …]
130 private static volatile Reporter reporter = new DefaultReporter(); field in CloseGuard178 CloseGuard.reporter = rep; in setReporter()186 return reporter; in getReporter()286 reporter.report(message, stack); in warnIfOpen()
48 /* @NonNull */ private static volatile Reporter reporter = null; field in BaseDexClassLoader128 if (reporter != null) { in BaseDexClassLoader()158 reporter.report(classLoadersChain, classPaths); in reportClassLoaderChain()346 reporter = newReporter; in setReporter()353 return reporter; in getReporter()
238 CollectingReporter reporter = new CollectingReporter();239 CloseGuard.setReporter(reporter);250 reporter.assertUnreleasedResources(expectedCount);