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

1 2 34 5 6 7 8 91011>>

  /external/libmicrohttpd/src/spdy2http/
proxy.c 20 * @file proxy.c
159 struct Proxy
412 struct Proxy *proxy = (struct Proxy *)SPDY_get_cls_from_request(request); local
414 if(!store_in_buffer(buf, size, &proxy->received_body, &proxy->received_body_size))
420 proxy->receiving_done = !more;
426 if(proxy->is_curl_read_paused)
428 if(CURLE_OK != (ret = curl_easy_pause(proxy->curl_handle, CURLPAUSE_CONT))
447 struct Proxy *proxy = (struct Proxy *)cls; local
513 struct Proxy *proxy = (struct Proxy *)cls; local
531 struct Proxy *proxy = (struct Proxy *)userp; local
686 struct Proxy *proxy = (struct Proxy *)userp; local
731 struct Proxy *proxy = (struct Proxy *)userp; local
792 struct Proxy *proxy = (struct Proxy *)cls; local
846 struct Proxy *proxy; local
989 struct Proxy *proxy; local
    [all...]
  /external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
OkApacheClient.java 12 import java.net.Proxy;
31 import static java.net.Proxy.Type.HTTP;
106 Proxy proxy = client.getProxy();
107 if (proxy == null) {
110 InetSocketAddress address = (InetSocketAddress) proxy.address();
119 Proxy proxy = null;
121 proxy = new Proxy(HTTP, new InetSocketAddress(host.getHostName(), host.getPort()))
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingTestCase.java 28 import java.lang.reflect.Proxy;
67 public Object invoke(Object proxy, Method method, Object[] args)
75 return (T) Proxy.newProxyInstance(c.getClassLoader(),
122 // using Proxy so that we can have Java 7 compliant code.
124 @Override public Object invoke(Object proxy, Method method,
134 "Unexpected " + method + " invoked on " + proxy);
137 return Proxy.newProxyInstance(returnType.getClassLoader(),
  /external/guava/guava-tests/test/com/google/common/reflect/
AbstractInvocationHandlerTest.java 29 import java.lang.reflect.Proxy;
48 List<String> proxy = newDelegatingList(LIST1); local
49 assertEquals(Proxy.getInvocationHandler(proxy).toString(), proxy.toString());
63 // But whatever, no one is going to proxy List (hopefully).
83 @SuppressWarnings("unchecked") // proxy of List<String>
88 @SuppressWarnings("unchecked") // proxy of List<String>
93 @SuppressWarnings("unchecked") // proxy of Iterable<String>
98 @SuppressWarnings("unchecked") // proxy of List<String
    [all...]
  /frameworks/av/include/private/media/
AudioTrackShared.h 134 friend class Proxy;
200 // Proxy for shared memory control block, to isolate callers from needing to know the details.
203 class Proxy : public RefBase {
205 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut,
207 virtual ~Proxy() { }
235 // Proxy seen by AudioTrack client and AudioRecord client
236 class ClientProxy : public Proxy {
272 // DEAD_OBJECT Server has died or invalidated, caller should destroy this proxy and re-create.
345 // is initialized when the server proxy created. A local zero timestamp
353 // Proxy used by AudioTrack client, which also includes AudioFlinger::PlaybackThread::OutputTrac
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
SourceDebugExtensionDebuggee.java 29 import java.lang.reflect.Proxy;
177 // Instantiate a proxy whose name should contain "$Proxy".
178 Class proxy = Proxy.getProxyClass(SomeInterface.class.getClassLoader(), local
  /external/easymock/src/org/easymock/internal/
ObjectMethodsFilter.java 22 import java.lang.reflect.Proxy;
61 public final Object invoke(Object proxy, Method method, Object[] args)
64 return Boolean.valueOf(proxy == args[0]);
67 return Integer.valueOf(System.identityHashCode(proxy));
70 return mockToString(proxy);
72 return delegate.invoke(proxy, method, args);
75 private String mockToString(Object proxy) {
76 return (name != null) ? name : "EasyMock for " + mockType(proxy);
79 private String mockType(Object proxy) {
80 if (Proxy.isProxyClass(proxy.getClass()))
    [all...]
  /external/guava/guava-testlib/src/com/google/common/testing/
DummyProxy.java 30 import java.lang.reflect.Proxy;
36 * Generates a dummy interface proxy that simply returns a dummy value for each method.
43 * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
49 // Make the proxy serializable to work with SerializableTester
51 Object dummy = Proxy.newProxyInstance(
71 Object proxy, Method method, Object[] args) {
101 return "Dummy proxy for " + interfaceType;
  /external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
ServiceConnectionSE.java 50 public ServiceConnectionSE(Proxy proxy, String url) throws IOException {
51 this(proxy, url, ServiceConnection.DEFAULT_TIMEOUT);
64 public ServiceConnectionSE(Proxy proxy, String url, int timeout) throws IOException {
65 connection = (proxy == null)
67 : (HttpURLConnection) new URL(url).openConnection(proxy);
HttpTransportSE.java 32 import java.net.Proxy;
58 * proxy server to use to access it
60 * @param proxy
61 * Proxy information or <code>null</code> for direct access
65 public HttpTransportSE(Proxy proxy, String url) {
66 super(proxy, url);
81 public HttpTransportSE(Proxy proxy, String url, int timeout) {
82 super(proxy, url, timeout)
    [all...]
  /external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
InterfaceControlMessageTest.java 74 // error to close the handle of a proxy without closing the proxy first.
84 IntegerAccessor.Proxy p = BindingsTestUtils.newProxyOverPipe(
100 IntegerAccessor.Proxy p = BindingsTestUtils.newProxyOverPipe(
  /external/mockito/src/main/java/org/mockito/internal/configuration/plugins/
PluginLoader.java 13 import java.lang.reflect.Proxy;
61 return (T) Proxy.newProxyInstance(pluginType.getClassLoader(),
65 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
SocksProxyTest.java 21 import java.net.Proxy;
47 @Test public void proxy() throws Exception { method in class:SocksProxyTest
52 .setProxy(socksProxy.proxy());
70 @Override public List<Proxy> select(URI uri) {
71 return Collections.singletonList(socksProxy.proxy());
90 // This testcase will fail if the target is resolved locally instead of through the proxy.
94 .setProxy(socksProxy.proxy());
SocksProxy.java 24 import java.net.Proxy;
81 public Proxy proxy() { method in class:SocksProxy
82 return new Proxy(Proxy.Type.SOCKS, InetSocketAddress.createUnresolved(
  /external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
SubstitutableLoggerTest.java 30 import java.lang.reflect.Proxy;
52 Logger proxyLogger = (Logger) Proxy.newProxyInstance(getClass().getClassLoader(), new Class[] { Logger.class }, ih);
75 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
PSKKeyManagerProxy.java 21 import java.lang.reflect.Proxy;
40 return (KeyManager) Proxy.newProxyInstance(
77 public final Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
  /libcore/ojluni/src/main/java/sun/net/www/protocol/file/
Handler.java 31 import java.net.Proxy;
75 public synchronized URLConnection openConnection(URL u, Proxy p)
  /libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
FtpURLConnection.java 45 import java.net.Proxy;
88 private Proxy instProxy;
171 * Same as FtpURLconnection(URL) with a per connection proxy specified
173 FtpURLConnection(URL url, Proxy p) throws IOException {
223 Proxy p = null;
224 if (instProxy == null) { // no per connection proxy specified
226 * Do we have to use a proxy?
236 Iterator<Proxy> it = sel.select(uri).iterator();
239 if (p == null || p == Proxy.NO_PROXY ||
240 p.type() == Proxy.Type.SOCKS)
    [all...]
  /libcore/support/src/test/java/tests/io/
MockOs.java 24 import java.lang.reflect.Proxy;
56 @Override public Object invoke(Object proxy, Method method, Object[] args)
62 return handler.invoke(proxy, method, args);
66 private final Os mockOs = (Os) Proxy.newProxyInstance(MockOs.class.getClassLoader(),
115 @Override public Object invoke(Object proxy, Method method, Object[] args) throws ErrnoException {
  /art/test/044-proxy/src/
NarrowingTest.java 32 I2 proxy = (I2) Proxy.newProxyInstance(NarrowingTest.class.getClassLoader(), local
37 public Object invoke(Object proxy, Method method,
48 Main.registerProxyClassName(proxy.getClass().getCanonicalName());
50 Method[] methods = proxy.getClass().getDeclaredMethods();
51 System.out.println("Proxy methods: " +
54 System.out.println("Invoking foo using I2 type: " + proxy.foo());
56 I1 proxyAsParent = proxy;
60 proxy.foo();
67 System.out.println("Proxy narrowed invocation return type passed")
    [all...]
  /art/test/616-cha-proxy-method-inline/src/
Main.java 25 return java.lang.reflect.Proxy.newProxyInstance(
35 public Object invoke(Object proxy, Method m, Object[] args) throws Throwable {
  /external/javassist/src/main/javassist/bytecode/annotation/
AnnotationImpl.java 20 import java.lang.reflect.Proxy;
71 return Proxy.newProxyInstance(cl, new Class[] { clazz }, handler);
120 * Executes a method invocation on a proxy instance.
124 * is also available on the proxy instance.
126 public Object invoke(Object proxy, Method method, Object[] args)
238 if (obj instanceof Proxy) {
239 InvocationHandler ih = Proxy.getInvocationHandler(obj);
  /external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
Interface.java 30 * A proxy to a mojo interface. This is base class for all generated proxies. It implements the
34 public interface Proxy extends Interface {
36 * Class allowing to interact with the proxy itself.
45 * Unbinds the proxy and passes the handle. Can return null if the proxy is not bound or
46 * if the proxy is not over a message pipe.
75 * Returns the {@link Handler} object allowing to interact with the proxy itself.
81 * Base implementation of {@link Proxy}.
83 abstract class AbstractProxy implements Proxy {
87 protected static class HandlerImpl implements Proxy.Handler, ConnectionErrorHandler
354 P proxy = attachProxy(handle.getCore(), router); local
370 P proxy = attachProxy(handles.first, 0); local
    [all...]
  /libcore/luni/src/main/java/libcore/reflect/
AnnotationFactory.java 27 import java.lang.reflect.Proxy;
34 * The annotation implementation based on dynamically generated proxy instances.
95 return (A) Proxy.newProxyInstance(annotationType.getClassLoader(),
185 if (Proxy.isProxyClass(obj.getClass())
186 && (handler = Proxy.getInvocationHandler(obj)) instanceof AnnotationFactory) {
276 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
  /libcore/ojluni/src/main/java/java/lang/reflect/
Proxy.java 56 * {@code Proxy} provides static methods for creating dynamic proxy
58 * dynamic proxy classes created by those methods.
60 * <p>To create a proxy for some interface {@code Foo}:
63 * Class&lt;?&gt; proxyClass = Proxy.getProxyClass(Foo.class.getClassLoader(), Foo.class);
69 * Foo f = (Foo) Proxy.newProxyInstance(Foo.class.getClassLoader(),
74 * <p>A <i>dynamic proxy class</i> (simply referred to as a <i>proxy
79 * A <i>proxy interface</i> is such an interface that is implemented
80 * by a proxy class
    [all...]

Completed in 1077 milliseconds

1 2 34 5 6 7 8 91011>>