Home
last modified time | relevance | path

Searched refs:Handler (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
DURLStreamHandlerFactoryTest.java27 import libcore.java.net.customstreamhandler.http.Handler;
61 assertTrue(connection instanceof Handler.HandlerURLConnection); in testCreateURLStreamHandler()
94 assertTrue(connection instanceof Handler.HandlerURLConnection); in testInstallCustomProtocolHandler()
107 assertFalse(connection1 instanceof Handler.HandlerURLConnection); in testFirstUseIsCached()
113 assertFalse(connection2 instanceof Handler.HandlerURLConnection); in testFirstUseIsCached()
120 String className = Handler.class.getName(); in getHandlerPackageName()
127 return new Handler(); in createURLStreamHandler()
/libcore/ojluni/src/main/java/java/util/logging/
DMemoryHandler.java90 public class MemoryHandler extends Handler {
94 private Handler target;
134 target = (Handler) clz.newInstance(); in MemoryHandler()
142 target = (Handler) clz.newInstance(); in MemoryHandler()
171 public MemoryHandler(Handler target, int size, Level pushLevel) { in MemoryHandler()
DFormatter.java74 public String getHead(Handler h) { in getHead()
87 public String getTail(Handler h) { in getTail()
DHandler.java48 public abstract class Handler { class
75 protected Handler() { in Handler() method in Handler
DLogger.java219 private static final Handler emptyHandlers[] = new Handler[0];
258 private final CopyOnWriteArrayList<Handler> handlers =
733 final Handler[] loggerHandlers = isSystemLogger in log()
737 for (Handler handler : loggerHandlers) { in log()
1746 public void addHandler(Handler handler) throws SecurityException { in addHandler()
1763 public void removeHandler(Handler handler) throws SecurityException { in removeHandler()
1776 public Handler[] getHandlers() { in getHandlers()
1782 Handler[] accessCheckedHandlers() { in accessCheckedHandlers()
DXMLFormatter.java231 public String getHead(Handler h) { in getHead()
270 public String getTail(Handler h) { in getTail()
DStreamHandler.java75 public class StreamHandler extends Handler {
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldFormatterTest.java21 import java.util.logging.Handler;
32 Handler h;
DOldXMLFormatterTest.java21 import java.util.logging.Handler;
69 public static class MockHandler extends Handler {
DOldMemoryHandlerTest.java26 import java.util.logging.Handler;
90 public static class MockHandler extends Handler {
DOldLogManagerTest.java25 import java.util.logging.Handler;
43 static Handler handler = null;
232 public static class MockHandler extends Handler {
DOldLoggerTest.java24 import java.util.logging.Handler;
219 public static class MockHandler extends Handler {
DOldFileHandlerTest.java32 import java.util.logging.Handler;
492 public String getTail(Handler h) { in getTail()
496 public String getHead(Handler h) { in getHead()
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DHandler.java31 public abstract class Handler { class
33 protected Handler() { in Handler() method in Handler
DLogger.java382 public void addHandler(java.util.logging.Handler handler) throws java.lang.SecurityException { in addHandler()
386 public void removeHandler(java.util.logging.Handler handler) in removeHandler()
391 public java.util.logging.Handler[] getHandlers() { in getHandlers()
395 java.util.logging.Handler[] accessCheckedHandlers() { in accessCheckedHandlers()
475 private static final java.util.logging.Handler[] emptyHandlers;
478 emptyHandlers = new java.util.logging.Handler[0];
489 private final java.util.concurrent.CopyOnWriteArrayList<java.util.logging.Handler> handlers;
DLogManager.java493 public void addHandler(java.util.logging.Handler h) { in addHandler()
497 public void removeHandler(java.util.logging.Handler h) { in removeHandler()
501 java.util.logging.Handler[] accessCheckedHandlers() { in accessCheckedHandlers()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/test_protocol/
DHandler.java25 public class Handler extends URLStreamHandler { class
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/
DHandler.java29 public final class Handler extends URLStreamHandler { class
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java32 import sun.net.www.protocol.jar.Handler;
41 public class ClassPathURLStreamHandler extends Handler {
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DHandler.java37 public class Handler extends java.net.URLStreamHandler { class
/libcore/luni/src/test/java/libcore/xml/
DExpatSaxParserTest.java524 class Handler extends DefaultHandler { in testExternalEntity() class
576 Handler handler = new Handler(); in testExternalEntity()
592 class Handler extends DefaultHandler { in testExternalEntityDownload() class
619 Handler handler = new Handler(); in testExternalEntityDownload()
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DHandler.java43 public class Handler extends URLStreamHandler { class
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java79 public JarURLConnection(URL url, Handler handler) in JarURLConnection()
DHandler.java35 public class Handler extends java.net.URLStreamHandler { class
/libcore/ojluni/annotations/sdk/nullability/java/util/logging/
DLogger.annotated.java148 public void addHandler(@libcore.util.NonNull java.util.logging.Handler handler) throws java.lang.Se… in addHandler()
150 public void removeHandler(@libcore.util.Nullable java.util.logging.Handler handler) throws java.lan… in removeHandler()
152 public java.util.logging.@libcore.util.NonNull Handler @libcore.util.NonNull [] getHandlers() { thr… in getHandlers()

12