HomeSort by relevance Sort by last modified time
    Searched refs:Proxy (Results 1 - 25 of 206) sorted by null

1 2 3 4 5 6 7 8 9

  /cts/tests/tests/net/src/android/net/cts/
ProxyTest.java 20 import android.net.Proxy;
26 new Proxy();
32 int defaultPort = Proxy.getDefaultPort();
33 if(null == Proxy.getDefaultHost()) {
  /art/runtime/mirror/
proxy.h 28 // C++ mirror of java.lang.reflect.Proxy.
29 class MANAGED Proxy final : public Object {
34 DISALLOW_IMPLICIT_CONSTRUCTORS(Proxy);
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Authenticator.java 19 import java.net.Proxy;
22 * Responds to authentication challenges from the remote web or proxy server.
41 Request authenticate(Proxy proxy, Response response) throws IOException;
47 * status code sent by the proxy server.
50 * derived from the initial request by setting the "Proxy-Authorization"
55 * .header("Proxy-Authorization", credential)
59 Request authenticateProxy(Proxy proxy, Response response) throws IOException;
Route.java 19 import java.net.Proxy;
25 * <li><strong>HTTP proxy:</strong> a proxy server may be explicitly
27 * proxy selector} is used. It may return multiple proxies to attempt.
29 * server or a proxy, opening a socket requires an IP address. The DNS
36 final Proxy proxy; field in class:Route
39 public Route(Address address, Proxy proxy, InetSocketAddress inetSocketAddress) {
43 if (proxy == null)
    [all...]
  /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
Authenticator.java 20 import java.net.Proxy;
23 * Responds to authentication challenges from the remote web or proxy server.
43 Request authenticate(Proxy proxy, Response response) throws IOException;
49 * status code sent by the proxy server.
52 * derived from the initial request by setting the "Proxy-Authorization"
57 * .header("Proxy-Authorization", credential)
61 Request authenticateProxy(Proxy proxy, Response response) throws IOException;
Route.java 20 import java.net.Proxy;
26 * <li><strong>HTTP proxy:</strong> a proxy server may be explicitly
28 * proxy selector} is used. It may return multiple proxies to attempt.
30 * server or a proxy, opening a socket requires an IP address. The DNS
38 final Proxy proxy; field in class:Route
41 public Route(Address address, Proxy proxy, InetSocketAddress inetSocketAddress) {
45 if (proxy == null)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/
Proxy2Test.java 18 import java.lang.reflect.Proxy;
29 Class pc = Proxy.getProxyClass(DefaultPkgIntf.class.getClassLoader(),
31 assertTrue(pc.getName().startsWith("$Proxy"));
  /external/clang/test/CodeCompletion/
member-access.cpp 23 class Proxy {
28 void test(const Proxy &p) {
  /external/easymock/src/org/easymock/internal/
JavaProxyFactory.java 19 import java.lang.reflect.Proxy;
24 return (T) Proxy.newProxyInstance(toMock.getClassLoader(),
  /external/okhttp/android/src/main/java/com/squareup/okhttp/
OkUrlFactories.java 22 import java.net.Proxy;
36 public static HttpURLConnection open(OkUrlFactory okUrlFactory, URL url, Proxy proxy) {
37 return okUrlFactory.open(url, proxy);
  /external/okhttp/repackaged/android/src/main/java/com/android/okhttp/
OkUrlFactories.java 23 import java.net.Proxy;
38 public static HttpURLConnection open(OkUrlFactory okUrlFactory, URL url, Proxy proxy) {
39 return okUrlFactory.open(url, proxy);
  /external/libbrillo/brillo/glib/
dbus.cc 17 bool CallPtrArray(const Proxy& proxy,
26 if (!::dbus_g_proxy_call(proxy.gproxy(), method, &Resetter(&error).lvalue(),
109 bool RetrieveProperties(const Proxy& proxy,
114 if (!::dbus_g_proxy_call(proxy.gproxy(), "GetAll", &Resetter(&error).lvalue(),
126 Proxy::Proxy()
132 Proxy::Proxy(const BusConnection& connection
221 Proxy proxy = brillo::dbus::Proxy(connection, local
    [all...]
dbus.h 67 friend class Proxy;
81 // \brief Proxy manages the ref-count for a ::DBusGProxy*.
83 // Proxy has reference semantics and represents a connection to on object on
84 // the bus. A proxy object is constructed with a connection to a bus, a name
88 class BRILLO_EXPORT Proxy {
92 Proxy();
96 Proxy(const BusConnection& connection,
102 // Equivalent to Proxy(connection, name, path, interface, false).
103 Proxy(const BusConnection& connection,
108 // Creates a peer proxy using dbus_g_proxy_new_for_peer
191 const Proxy& proxy() const { return proxy_; } function in class:brillo::dbus::MonitorConnection
213 const Proxy& proxy() const { return proxy_; } function in class:brillo::dbus::MonitorConnection
235 const Proxy& proxy() const { return proxy_; } function in class:brillo::dbus::MonitorConnection
262 const Proxy& proxy() const { return proxy_; } function in class:brillo::dbus::MonitorConnection
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
RouteSelector.java 25 import java.net.Proxy;
35 * choice of proxy server, IP address, and TLS mode. Connections may also be
43 private Proxy lastProxy;
46 /* State for negotiating the next proxy to use. */
47 private List<Proxy> proxies = Collections.emptyList();
102 if (failedRoute.getProxy().type() != Proxy.Type.DIRECT && address.getProxySelector() != null) {
103 // Tell the proxy selector when we fail to connect on a fresh connection.
111 /** Prepares the proxy servers to try. */
112 private void resetNextProxy(HttpUrl url, Proxy proxy) {
    [all...]
RequestLine.java 6 import java.net.Proxy;
17 static String get(Request request, Proxy.Type proxyType) {
37 private static boolean includeAuthorityInRequestLine(Request request, Proxy.Type proxyType) {
38 return !request.isHttps() && proxyType == Proxy.Type.HTTP;
  /external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
ProxyDetectorImplTest.java 34 import java.net.Proxy;
116 .thenReturn(ImmutableList.of(java.net.Proxy.NO_PROXY));
122 Proxy proxy = new Proxy(Proxy.Type.HTTP, unresolvedProxy); local
123 when(proxySelector.select(any(URI.class))).thenReturn(ImmutableList.of(proxy));
136 Proxy proxy = new Proxy(Proxy.Type.HTTP, unresolvedProxy) local
150 ProxyParameters proxy = proxyDetector.proxyFor(destination); local
175 Proxy proxy = new java.net.Proxy(java.net.Proxy.Type.HTTP, unresolvedProxy); local
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
RecordingOkAuthenticator.java 21 import java.net.Proxy;
27 public final List<Proxy> proxies = new ArrayList<>();
39 public Proxy onlyProxy() {
44 @Override public Request authenticate(Proxy proxy, Response response) {
46 proxies.add(proxy);
52 @Override public Request authenticateProxy(Proxy proxy, Response response) {
54 proxies.add(proxy);
56 .addHeader("Proxy-Authorization", credential
    [all...]
  /art/test/044-proxy/src/
Clash.java 20 import java.lang.reflect.Proxy;
23 * Try to instantiate a proxy class with interfaces that have conflicting
32 Proxy.newProxyInstance(Clash.class.getClassLoader(),
41 Proxy.newProxyInstance(Clash.class.getClassLoader(),
65 public Object invoke(Object proxy, Method method, Object[] args)
Clash2.java 20 import java.lang.reflect.Proxy;
23 * Try to instantiate a proxy class with interfaces that have conflicting
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
55 public Object invoke(Object proxy, Method method, Object[] args)
Clash3.java 20 import java.lang.reflect.Proxy;
23 * Try to instantiate a proxy class with interfaces that have conflicting
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
70 public Object invoke(Object proxy, Method method, Object[] args)
ConstructorProxy.java 20 import java.lang.reflect.Proxy;
36 Class<?> proxyClass = Proxy.getProxyClass(
43 // not using the non-proxy ArtMethod
49 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
  /art/test/676-proxy-jit-at-first-use/src/
Main.java 19 import java.lang.reflect.Proxy;
23 Interface i = (Interface) Proxy.newProxyInstance(Main.class.getClassLoader(),
35 public Object invoke(Object proxy, Method method, Object[] args) {
  /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
RequestLine.java 7 import java.net.Proxy;
21 static String get(Request request, Proxy.Type proxyType) {
41 private static boolean includeAuthorityInRequestLine(Request request, Proxy.Type proxyType) {
42 return !request.isHttps() && proxyType == Proxy.Type.HTTP;
RouteSelector.java 26 import java.net.Proxy;
36 * choice of proxy server, IP address, and TLS mode. Connections may also be
45 private Proxy lastProxy;
48 /* State for negotiating the next proxy to use. */
49 private List<Proxy> proxies = Collections.emptyList();
105 if (failedRoute.getProxy().type() != Proxy.Type.DIRECT && address.getProxySelector() != null) {
106 // Tell the proxy selector when we fail to connect on a fresh connection.
114 /** Prepares the proxy servers to try. */
115 private void resetNextProxy(HttpUrl url, Proxy proxy) {
    [all...]
  /external/apache-http/src/org/apache/http/impl/conn/
ProxySelectorRoutePlanner.java 37 import java.net.Proxy;
60 * By default, it will pick up the proxy settings of the JVM, either
77 /** The proxy selector to use, or <code>null</code> for system default. */
82 * Creates a new proxy selector route planner.
85 * @param prosel the proxy selector, or
101 * Obtains the proxy selector to use.
103 * @return the proxy selector, or <code>null</code> for the system default
111 * Sets the proxy selector to use.
113 * @param prosel the proxy selector, or
151 // If the client or request explicitly specifies a proxy (or n
153 HttpHost proxy = (HttpHost) request.getParams().getParameter(ConnRoutePNames.DEFAULT_PROXY); local
    [all...]

Completed in 1108 milliseconds

1 2 3 4 5 6 7 8 9