Home
last modified time | relevance | path

Searched defs:proxy (Results 1 – 25 of 33) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/net/
DApplicationProxy.java36 private ApplicationProxy(Proxy proxy) { in ApplicationProxy()
40 public static ApplicationProxy create(Proxy proxy) { in create()
DNetworkClient.java49 protected Proxy proxy = Proxy.NO_PROXY; field in NetworkClient
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DProxyTest.java33 Proxy proxy = new Proxy(Proxy.Type.HTTP, address); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() local
52 Proxy proxy = null; in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_IllegalAddress() local
111 Proxy proxy = new Proxy(Proxy.Type.HTTP, address); in test_toString() local
170 Proxy proxy[] = { new Proxy(Proxy.Type.HTTP, address1), in test_equalsLjava_lang_Object_NotEquals() local
DProxySelectorTest.java513 private void assertProxyEquals(List selectedProxyList, Proxy proxy) { in assertProxyEquals()
527 Proxy proxy = new Proxy(type, sa); in assertProxyEquals() local
DURLTest.java995 public URLConnection openConnection(URL arg0, Proxy proxy) in openConnection()
/libcore/luni/src/test/java/libcore/java/net/
DOldProxyTest.java28 Proxy proxy = new Proxy(Proxy.Type.SOCKS, address); in test_address() local
61 Proxy proxy = new Proxy(Proxy.Type.HTTP, address); in test_type() local
DFtpURLConnectionTest.java139 Proxy proxy = Proxy.NO_PROXY; in testConnectOverProxy_noProxy() local
157 Proxy proxy = countingProxy.asProxy(); in testCountingProxy() local
180 Proxy proxy = countingProxy.asProxy(); in testConnectOverProxy_explicit_http_uses_direct_connection() local
202 Proxy proxy = countingProxy.asProxy(); in testConnectOverProxy_implicit_http_fails() local
332 private final Proxy proxy; field in FtpURLConnectionTest.SingleProxySelector
335 public SingleProxySelector(Proxy proxy) { in SingleProxySelector()
388 private final Proxy proxy; field in FtpURLConnectionTest.CountingProxy
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java141 Proxy proxy = Proxy.NO_PROXY; in select() local
189 MockServer proxy = new MockServer("proxy"); in testUsingProxy() local
229 MockServer proxy = new MockServer("proxy"); in testUsingProxySelector() local
283 MockProxyServer proxy = new MockProxyServer("ProxyServer"); in testProxyAuthorization() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DProxyTest.java55 public Object invoke(Object proxy, Method method, Object[] args) in invoke()
72 Class proxy = Proxy.getProxyClass(Support_Proxy_I1.class in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class() local
142 Support_Proxy_I1 proxy = (Support_Proxy_I1) p; in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() local
186 Class proxy = Proxy.getProxyClass(Support_Proxy_I1.class in test_isProxyClassLjava_lang_Class() local
/libcore/ojluni/src/main/java/java/lang/reflect/
DInvocationHandler.java93 public Object invoke(Object proxy, Method method, Object[] args) in invoke()
DProxy.java975 public static InvocationHandler getInvocationHandler(Object proxy) in getInvocationHandler()
1004 private static Object invoke(Proxy proxy, Method method, Object[] args) throws Throwable { in invoke()
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DProxy.annotated.java43 …til.NonNull java.lang.Object proxy) throws java.lang.IllegalArgumentException { throw new RuntimeE… in getInvocationHandler()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java64 Object proxy = Proxy.newProxyInstance(loaderA, interfacesA, invocationHandlerB); in testClassLoaderDoesNotNeedToSeeInvocationHandlerLoader() local
395 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { in invoke()
404 Object proxy = Proxy.newProxyInstance(cl, interfaces, new InvocationHandler() { in test24846() local
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DProxy.java96 public static java.lang.reflect.InvocationHandler getInvocationHandler(java.lang.Object proxy) in getInvocationHandler()
103 java.lang.reflect.Proxy proxy, java.lang.reflect.Method method, java.lang.Object[] args) in invoke()
/libcore/ojluni/src/main/java/java/beans/
DPropertyChangeSupport.java111 PropertyChangeListenerProxy proxy = in addPropertyChangeListener() local
137 PropertyChangeListenerProxy proxy = in removePropertyChangeListener() local
/libcore/luni/src/test/java/libcore/java/io/
DSerializationTest.java404 public Object invoke(Object proxy, Method method, Object[] args) { in invoke()
436 public Object invoke(Object proxy, Method method, Object[] args) { in invoke()
/libcore/luni/src/test/java/libcore/java/util/beans/
DPropertyChangeSupportTest.java196 PropertyChangeListenerProxy proxy = new PropertyChangeListenerProxy("a", listener); in testAddingAProxy() local
260 PropertyChangeListenerProxy proxy = (PropertyChangeListenerProxy) listener; in describe() local
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationFactory.java276 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { in invoke()
/libcore/ojluni/src/main/java/sun/util/logging/
DLoggingSupport.java48 private static final LoggingProxy proxy = field in LoggingSupport
/libcore/ojluni/annotations/hiddenapi/java/net/
DSocksSocketImpl.java42 SocksSocketImpl(java.net.Proxy proxy) { in SocksSocketImpl()
DURL.java164 public java.net.URLConnection openConnection(java.net.Proxy proxy) throws java.io.IOException { in openConnection()
DSocket.java38 public Socket(java.net.Proxy proxy) { in Socket()
/libcore/ojluni/src/main/java/java/net/
DSocksSocketImpl.java64 SocksSocketImpl(Proxy proxy) { in SocksSocketImpl()
DSocket.java117 public Socket(Proxy proxy) { in Socket()
/libcore/ojluni/annotations/mmodule/java/net/
DSocket.annotated.java40 public Socket(java.net.Proxy proxy) { throw new RuntimeException("Stub!"); } in Socket()

12