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

1 2 3 45 6 7 8 91011>>

  /external/libmicrohttpd/src/examples/
mhd2spdy_spdy.c 27 * @brief SPDY part of the proxy. libspdylay is used for the client side.
76 struct Proxy *proxy = (struct Proxy *)(source->ptr); local
86 if(!proxy->received_body_size)//nothing to write now
88 if(proxy->receiving_done)
97 if(length >= proxy->received_body_size)
99 ret = proxy->received_body_size;
105 if(NULL == (newbody = malloc(proxy->received_body_size - length)))
110 memcpy(newbody, proxy->received_body + length, proxy->received_body_size - length)
294 struct Proxy *proxy; local
330 struct Proxy * proxy; local
394 struct Proxy * proxy = spdylay_session_get_stream_user_data(session, stream_id); local
429 struct Proxy *proxy; local
475 struct Proxy *proxy; local
815 struct Proxy *proxy; local
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/gcj/
javaprims.i 210 class Proxy;
211 class Proxy$ClassFactory;
212 class Proxy$ProxyData;
213 class Proxy$ProxySignature;
214 class Proxy$ProxyType;
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java 37 import java.net.Proxy;
97 // Proxy authentication required response code
384 * Tests HTTPS connection process made through the proxy server.
395 // create a server that pretends to be both a proxy and then the webserver
396 // request 1: proxy CONNECT, respond with OK
410 url.openConnection(new Proxy(Proxy.Type.HTTP, proxyAddress));
424 * Tests HTTPS connection process made through the proxy server.
425 * Proxy server needs authentication.
442 // create a server that pretends to be both a proxy and then the webserve
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
RouteSelectorTest.java 28 import java.net.Proxy;
42 import static java.net.Proxy.NO_PROXY;
56 private static final Proxy proxyA =
57 new Proxy(Proxy.Type.HTTP, InetSocketAddress.createUnresolved(proxyAHost, proxyAPort));
60 private static final Proxy proxyB =
61 new Proxy(Proxy.Type.HTTP, InetSocketAddress.createUnresolved(proxyBHost, proxyBPort));
128 proxySelector.assertRequests(); // No proxy selector requests!
143 proxySelector.assertRequests(); // No proxy selector requests
    [all...]
  /art/test/910-methods/src/art/
Test910.java 20 import java.lang.reflect.Proxy;
137 // We need this machinery for a consistent proxy name. Names of proxy classes include a
143 // as many proxy classes but cycling through subsets of the test-provided interfaces
147 // (This is made under the judgment that we do not want to have proxy-specific behavior
180 return Proxy.getProxyClass(Test910.class.getClassLoader(), input);
183 // Need this for the proxy naming.
  /external/guava/guava/src/com/google/common/util/concurrent/
SimpleTimeLimiter.java 29 import java.lang.reflect.Proxy;
191 Object object = Proxy.newProxyInstance(interfaceType.getClassLoader(),
  /external/guice/extensions/persist/src/com/google/inject/persist/jpa/
JpaPersistModule.java 38 import java.lang.reflect.Proxy;
128 // and hashcode as a proxy (!) for the proxy's equals and hashcode.
157 @SuppressWarnings("unchecked") // Proxy must produce instance of type given.
158 T proxy = (T) Proxy local
162 bind(iface).toInstance(proxy);
  /frameworks/av/services/audioflinger/
TrackBase.h 184 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
186 virtual void releaseBuffer(Proxy::Buffer* buffer) = 0;
  /art/test/044-proxy/src/
BasicTest.java 23 import java.lang.reflect.Proxy;
34 Object proxy = createProxy(proxyMe); local
36 if (!Proxy.isProxyClass(proxy.getClass()))
37 System.err.println("not a proxy class?");
38 if (Proxy.getInvocationHandler(proxy) == null)
39 System.err.println("ERROR: Proxy.getInvocationHandler is null");
42 Shapes shapes = (Shapes) proxy;
46 Quads quads = (Quads) proxy;
107 Object proxy = null; local
    [all...]
  /external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
BindingsTestUtils.java 99 public static <I extends Interface, P extends Interface.Proxy> P newProxyOverPipe(
103 P proxy = manager.attachProxy(handles.first, 0); local
104 toClose.add(proxy);
106 return proxy;
  /external/v8/src/
deoptimize-reason.h 55 V(Proxy, "proxy") \
  /frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
ProxyServer.java 29 import java.net.Proxy;
53 private static final String HEADER_PROXY_CONNECTION = "proxy-connection";
116 List<Proxy> list = Lists.newArrayList();
123 for (Proxy proxy : list) {
125 if (!proxy.equals(Proxy.NO_PROXY)) {
128 (InetSocketAddress)proxy.address();
136 // No proxy to respond so we must.
146 Log.v(TAG, "Unable to connect to proxy " + proxy, ioe)
    [all...]
  /packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
TestCarActivity.java 37 public TestCarActivity(CarActivity.Proxy proxy, Context context, Car car) {
38 super(proxy, context, car);
  /external/javassist/src/main/javassist/tools/rmi/
ObjectImporter.java 30 * obtains a proxy object, which is a reference to that object.
31 * The class name of the proxy object is identical to that of
33 * The proxy object provides the same set of methods as the remote object.
34 * If one of the methods is invoked on the proxy object,
53 * proxy object, the reference to the remote object instead of a copy of
58 * <li>The parameter objects cannot contain the proxy
119 * @return the proxy object or null.
131 * Sets an http proxy server. After this method is called, the object
132 * importer connects a server through the http proxy server.
146 * It sends a POST request to the server (via an http proxy serve
    [all...]
  /frameworks/base/core/java/android/net/
Network.java 255 // TODO: Should this be optimized to avoid fetching the global proxy for every request?
257 java.net.Proxy proxy = null; local
259 proxy = proxyInfo.makeProxy();
261 proxy = java.net.Proxy.NO_PROXY;
263 return openConnection(url, proxy);
270 * @param proxy the proxy through which the connection will be established.
273 * @throws IllegalArgumentException if the argument proxy is null
    [all...]
  /packages/services/Car/car-support-lib/src/android/support/car/app/
CarActivity.java 75 public abstract static class Proxy {
137 private final Proxy mProxy;
142 public CarActivity(Proxy proxy, Context context, Car car) {
143 mProxy = proxy;
CarProxyActivity.java 77 private final CarActivity.Proxy mCarActivityProxy = new CarActivity.Proxy() {
185 ctor = mCarActivityClass.getDeclaredConstructor(CarActivity.Proxy.class,
  /packages/apps/Messaging/src/android/support/v7/mms/
MmsHttpClient.java 41 import java.net.Proxy;
103 * @param isProxySet Is there a proxy for the MMSC
104 * @param proxyHost The proxy host
105 * @param proxyPort The proxy port
116 + (isProxySet ? (", proxy=" + proxyHost + ":" + proxyPort) : "")
121 Proxy proxy = Proxy.NO_PROXY; local
123 proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, proxyPort))
    [all...]
  /frameworks/base/
compiled-classes-phone 68 android.accounts.IAccountAuthenticator$Stub$Proxy
71 android.accounts.IAccountAuthenticatorResponse$Stub$Proxy
74 android.accounts.IAccountManager$Stub$Proxy
77 android.accounts.IAccountManagerResponse$Stub$Proxy
306 android.app.IActivityManager$Stub$Proxy
309 android.app.IAlarmCompleteListener$Stub$Proxy
312 android.app.IAlarmListener$Stub$Proxy
315 android.app.IAlarmManager$Stub$Proxy
318 android.app.IAppTask$Stub$Proxy
321 android.app.IApplicationThread$Stub$Proxy
    [all...]
  /libcore/ojluni/src/main/java/java/net/
Socket.java 90 * Creates an unconnected socket, specifying the type of proxy, if any,
94 * is called with the proxy host address and port number
98 * <UL> <LI>{@code Socket s = new Socket(Proxy.NO_PROXY);} will create
99 * a plain socket ignoring any other proxy configuration.</LI>
100 * <LI>{@code Socket s = new Socket(new Proxy(Proxy.Type.SOCKS, new InetSocketAddress("socks.mydom.com", 1080)));}
101 * will create a socket connecting through the specified SOCKS proxy
105 * @param proxy a {@link java.net.Proxy Proxy} object specifying what kin
    [all...]
  /external/webrtc/talk/app/webrtc/
proxy.h 53 // The proxy can be created using TestProxy::Create(Thread*, TestInterface*).
112 explicit SynchronousMethodCall(rtc::MessageHandler* proxy)
113 : e_(), proxy_(proxy) {}
316 class c##Proxy : public c##Interface { \
319 c##Proxy(rtc::Thread* thread, C* c) : owner_thread_(thread), c_(c) {} \
320 ~c##Proxy() { \
321 MethodCall0<c##Proxy, void> call(this, &c##Proxy::Release_s); \
327 return new rtc::RefCountedObject<c##Proxy>(thread, c); \
  /libcore/luni/src/test/java/libcore/java/net/
OldURLTest.java 28 import java.net.Proxy;
577 public List<Proxy> select(URI uri) {
579 ArrayList<Proxy> proxyList = new ArrayList<Proxy>(1);
580 proxyList.add(Proxy.NO_PROXY);
648 public URLConnection openConnection(URL arg0, Proxy proxy)
650 return super.openConnection(u, proxy);
  /external/apache-http/android/src/android/net/http/
RequestQueue.java 30 import android.net.Proxy;
218 * Enables data state and proxy tracking
232 new IntentFilter(Proxy.PROXY_CHANGE_ACTION));
234 // we need to resample the current proxy setup
253 * synchronize setting the proxy
260 String host = Proxy.getHost(mContext);
266 mProxyHost = new HttpHost(host, Proxy.getPort(mContext), "http");
273 * @return proxy host if set, null otherwise
389 // Chooses between the proxy and the request's host.
391 // There used to be a comment in ConnectionThread about t-mob's proxy
    [all...]
  /external/guice/core/src/com/google/inject/
Binder.java 32 import java.lang.reflect.Proxy;
475 * Prevents Guice from constructing a {@link Proxy} when a circular dependency
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
OkHttpClient.java 28 import java.net.Proxy;
122 private Proxy proxy; field in class:OkHttpClient
156 this.proxy = okHttpClient.proxy;
239 * Sets the HTTP proxy that will be used by connections created by this
241 * only honored when this proxy is null (which it is by default). To disable
242 * proxy use completely, call {@code setProxy(Proxy.NO_PROXY)}.
244 public OkHttpClient setProxy(Proxy proxy)
    [all...]

Completed in 677 milliseconds

1 2 3 45 6 7 8 91011>>