HomeSort by relevance Sort by last modified time
    Searched refs:Proxy (Results 126 - 150 of 331) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
RealConnection.java 44 import java.net.Proxy;
98 Proxy proxy = route.getProxy(); local
109 rawSocket = proxy.type() == Proxy.Type.DIRECT || proxy.type() == Proxy.Type.HTTP
111 : new Socket(proxy);
255 * To make an HTTPS connection over an HTTP proxy, send an unencrypted
256 * CONNECT request to create the proxy connection. This may need to b
    [all...]
  /libcore/support/src/test/java/tests/http/
MockWebServer.java 29 import java.net.Proxy;
93 public Proxy toProxyAddress() {
94 return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(getHostName(), getPort()));
  /prebuilts/go/darwin-x86/src/net/http/
status.go 97 StatusUseProxy: "Use Proxy",
108 StatusProxyAuthRequired: "Proxy Authentication Required",
  /prebuilts/go/linux-x86/src/net/http/
status.go 97 StatusUseProxy: "Use Proxy",
108 StatusProxyAuthRequired: "Proxy Authentication Required",
  /external/harfbuzz_ng/src/
hb-ot-layout.cc     [all...]
hb-ot-map-private.hh 121 template <typename Proxy>
122 HB_INTERNAL inline void apply (const Proxy &proxy,
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
SocketTest.java 26 import java.net.Proxy;
245 // The Proxy will not impact on the bind operation. It can be assigned
247 Proxy proxy = new Proxy(Proxy.Type.SOCKS, new InetSocketAddress( local
249 Socket socket = new Socket(proxy);
630 * java.net.Socket#Socket(Proxy)
636 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, addr1)
    [all...]
  /art/test/004-JniTest/src/
Main.java 19 import java.lang.reflect.Proxy;
223 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
230 SimpleInterface proxy = local
231 (SimpleInterface) Proxy.newProxyInstance(SimpleInterface.class.getClassLoader(),
236 if (testGetMethodID(proxy.getClass()) == 0) {
  /art/test/005-annotations/src/android/test/anno/
TestAnnotations.java 23 import java.lang.reflect.Proxy;
85 System.out.println(" aff: " + aff + " / " + Proxy.isProxyClass(aff.getClass()));
  /art/test/044-proxy/src/
WrappedThrow.java 21 import java.lang.reflect.Proxy;
25 * Create a Proxy class that blah.
31 Object proxy; local
34 proxy = Proxy.newProxyInstance(WrappedThrow.class.getClassLoader(),
42 InterfaceW1 if1 = (InterfaceW1) proxy;
43 InterfaceW2 if2 = (InterfaceW2) proxy;
176 * Invocation handler for our proxy class.
186 * This is called when anything gets invoked in the proxy object.
188 public Object invoke(Object proxy, Method method, Object[] args
    [all...]
ReturnsAndArgPassing.java 56 public Object invoke(Object proxy, Method method, Object[] args) {
57 check(proxy instanceof Proxy);
60 // Check for moving GC bugs in proxy stubs.
100 (MyInterface)Proxy.newProxyInstance(ReturnsAndArgPassing.class.getClassLoader(),
443 (MyInterface)Proxy.newProxyInstance(ReturnsAndArgPassing.class.getClassLoader(),
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
ConnectionPoolTest.java 22 import java.net.Proxy;
208 return new Route(address, Proxy.NO_PROXY,
  /frameworks/av/services/audioflinger/
PlaybackTracks.h 256 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
258 virtual void releaseBuffer(Proxy::Buffer* buffer);
260 void setPeerProxy(PatchProxyBufferProvider *proxy) { mPeerProxy = proxy; }
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ObjectStreamClassTest.java 34 import java.lang.reflect.Proxy;
154 Class<?> proxyClass = Proxy.getProxyClass(this.getClass()
160 assertEquals("Proxy classes should have zero serialVersionUID", 0,
163 assertEquals("Proxy classes should have no serialized fields", 0,
  /libcore/luni/src/test/java/libcore/java/net/
OldURLStreamHandlerTest.java 23 import java.net.Proxy;
200 @Override public URLConnection openConnection(URL u, Proxy p) throws IOException {
OldSocketTest.java 29 import java.net.Proxy;
886 Proxy proxy = new Proxy(Proxy.Type.SOCKS, new InetSocketAddress("127.0.0.1", 0)); local
    [all...]
  /libcore/ojluni/src/main/java/sun/net/ftp/
FtpClient.java 206 * Set the {@code Proxy} to be used for the next connection.
210 * @param p the {@code Proxy} to use, or {@code null} for no proxy.
213 public abstract FtpClient setProxy(Proxy p);
216 * Get the proxy of this FtpClient
218 * @return the {@code Proxy}, this client is using, or {@code null}
220 * @see #setProxy(Proxy)
222 public abstract Proxy getProxy();
    [all...]
  /libcore/ojluni/src/main/java/java/net/
URL.java     [all...]
  /packages/services/Mms/src/com/android/mms/service/
MmsHttpClient.java 46 import java.net.Proxy;
104 * @param isProxySet Is there a proxy for the MMSC
105 * @param proxyHost The proxy host
106 * @param proxyPort The proxy port
117 + (isProxySet ? (", proxy=" + proxyHost + ":" + proxyPort) : "")
122 Proxy proxy = Proxy.NO_PROXY; local
124 proxy = new Proxy(Proxy.Type.HTTP
    [all...]
  /art/test/912-classes/src/art/
Test912.java 21 import java.lang.reflect.Proxy;
302 Proxy.getProxyClass(Main.class.getClassLoader(), new Class[] { Comparable.class, I0.class });
439 return Proxy.getProxyClass(Test912.class.getClassLoader(), input);
442 // Need this for the proxy naming.
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
Platform.java 29 import java.lang.reflect.Proxy;
376 Object provider = Proxy.newProxyInstance(Platform.class.getClassLoader(),
395 (JettyNegoProvider) Proxy.getInvocationHandler(getMethod.invoke(null, socket));
424 @Override public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
  /external/guava/guava/src/com/google/common/reflect/
Types.java 41 import java.lang.reflect.Proxy;
342 * complain that an abstract method is unimplemented. So instead we use a dynamic proxy to
344 * the same name as one of the public methods of {@link TypeVariableImpl}, the proxy calls
378 @Override public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
434 && Proxy.isProxyClass(obj.getClass())
435 && Proxy.getInvocationHandler(obj) instanceof TypeVariableInvocationHandler) {
437 (TypeVariableInvocationHandler) Proxy.getInvocationHandler(obj);
  /external/libmicrohttpd/src/examples/
mhd2spdy_structures.c 118 free_proxy(struct Proxy *proxy)
120 PRINT_INFO2("free proxy called for '%s'", proxy->url);
121 if(NULL != proxy->http_body && proxy->http_body_size > 0)
122 UPDATE_STAT(glob_stat.spdy_bytes_received_and_dropped, proxy->http_body_size);
123 free(proxy->http_body);
124 free_uri(proxy->uri);
125 free(proxy->url)
    [all...]
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockWebServer.java 30 import java.net.Proxy;
113 public Proxy toProxyAddress() {
114 return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(getHostName(), getPort()));
  /external/conscrypt/openjdk/src/test/java/org/conscrypt/
DuckTypedPSKKeyManagerTest.java 21 import java.lang.reflect.Proxy;
91 // IMPLEMENTATION NOTE: We create a DuckTypedPSKKeyManager wrapping a Reflection Proxy,
93 // and assert that invocations on the Proxy are as expected and that values returned by the
94 // Proxy are returned to us.
98 PSKKeyManager delegate = (PSKKeyManager) Proxy.newProxyInstance(
311 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {

Completed in 773 milliseconds

1 2 3 4 56 7 8 91011>>