Home
last modified time | relevance | path

Searched refs:reporter (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/dalvik/system/
DBaseDexClassLoaderTest.java66 private Reporter reporter; field in BaseDexClassLoaderTest
96 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 …]
/libcore/dalvik/src/main/java/dalvik/system/
DCloseGuard.java130 private static volatile Reporter reporter = new DefaultReporter(); field in CloseGuard
178 CloseGuard.reporter = rep; in setReporter()
186 return reporter; in getReporter()
286 reporter.report(message, stack); in warnIfOpen()
DBaseDexClassLoader.java48 /* @NonNull */ private static volatile Reporter reporter = null; field in BaseDexClassLoader
128 if (reporter != null) { in BaseDexClassLoader()
158 reporter.report(classLoadersChain, classPaths); in reportClassLoaderChain()
346 reporter = newReporter; in setReporter()
353 return reporter; in getReporter()
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/
DCloseGuardSupport.java238 CollectingReporter reporter = new CollectingReporter();
239 CloseGuard.setReporter(reporter);
250 reporter.assertUnreleasedResources(expectedCount);