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

1 23 4 5 6 7 8 91011>>

  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/
ProxyDebuggee.java 26 import java.lang.reflect.Proxy;
51 public Object invoke(Object proxy, Method method, Object[] args)
59 checkedProxyObject = Proxy.newProxyInstance(getClass().getClassLoader(),
62 InterfaceForProxy proxy = (InterfaceForProxy) checkedProxyObject; local
63 proxy.call(ARG_INT, ARG_LONG, ARG_OBJECT);
  /external/guava/guava/src/com/google/common/reflect/
Reflection.java 25 import java.lang.reflect.Proxy;
77 * Returns a proxy instance that implements {@code interfaceType} by
79 * {@code interfaceType} will be used to define the proxy class. To implement
81 * {@link Proxy#newProxyInstance}.
90 Object object = Proxy.newProxyInstance(
  /external/guice/core/src/com/google/inject/internal/
ConstructionContext.java 21 import java.lang.reflect.Proxy;
78 // TODO: if I create a proxy which implements all the interfaces of
79 // the implementation type, I'll be able to get away with one proxy
82 return expectedType.cast(Proxy.newProxyInstance(classLoader,
  /external/libmojo/base/android/java/src/org/chromium/base/
BaseChromiumApplication.java 18 import java.lang.reflect.Proxy;
80 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
90 // Window.Callback object. Because we're using a Proxy to forward all method
154 activity.getWindow().setCallback((Window.Callback) Proxy.newProxyInstance(
162 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass())
173 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass())
184 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass())
195 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass())
206 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass())
217 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass()
    [all...]
  /external/ppp/pppd/plugins/radius/etc/
dictionary.merit 6 ATTRIBUTE Proxy-State 33 string
  /frameworks/base/core/java/android/net/
Proxy.java 33 * A convenience class for accessing the user and default proxy
36 public final class Proxy {
38 private static final String TAG = "Proxy";
43 * Used to notify an app that's caching the proxy that either the default
44 * connection has changed or any connection's proxy has changed. The new
45 * proxy should be queried using {@link ConnectivityManager#getDefaultProxy()}.
53 * It describes the new proxy being used (as a {@link ProxyInfo} object).
54 * @deprecated Because {@code PROXY_CHANGE_ACTION} is sent whenever the proxy
58 * to get the proxy for the Network(s) they are using.
101 * Return the proxy object to be used for the URL given as parameter
136 java.net.Proxy proxy = getProxy(ctx, null); local
154 java.net.Proxy proxy = getProxy(ctx, null); local
    [all...]
ProxyInfo.java 30 * Describes a proxy configuration.
32 * Proxy configurations are already integrated within the {@code java.net} and
36 * Other HTTP stacks will need to obtain the proxy info from
37 * {@link Proxy#PROXY_CHANGE_ACTION} broadcast as the extra {@link Proxy#EXTRA_PROXY_INFO}.
61 * Constructs a {@link ProxyInfo} object that points at a Direct proxy
69 * Constructs a {@link ProxyInfo} object that points at a Direct proxy
72 * The proxy will not be used to access any host in exclusion list, exclList.
74 * @param exclList Hosts to exclude using the proxy on connections for. These
91 * Create a ProxyProperties that points at a HTTP Proxy
239 java.net.Proxy proxy = java.net.Proxy.NO_PROXY; local
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/archives/
Proxy.java 34 public class Proxy extends ProxyFileDescriptorCallback {
40 Proxy(StrictJarFile file, ZipEntry entry) throws IOException {
  /external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
Transport.java 28 import java.net.Proxy;
45 * for other proxy requirements.
47 protected Proxy proxy; field in class:Transport
85 * @param proxy Specifies the proxy server to use for
90 public Transport(Proxy proxy, String url) {
91 this.proxy = proxy;
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
AuthenticatorAdapter.java 29 import java.net.Proxy;
37 @Override public Request authenticate(Proxy proxy, Response response) throws IOException {
46 url.host(), getConnectToInetAddress(proxy, url), url.port(), url.scheme(),
59 @Override public Request authenticateProxy(Proxy proxy, Response response) throws IOException {
67 InetSocketAddress proxyAddress = (InetSocketAddress) proxy.address();
69 proxyAddress.getHostName(), getConnectToInetAddress(proxy, url), proxyAddress.getPort(),
71 RequestorType.PROXY);
76 .header("Proxy-Authorization", credential
    [all...]
  /external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
InterfacesTest.java 170 // error to close the handle of a proxy without closing the proxy first.
179 * Check that the given proxy receives the calls. If |impl| is not null, also check that the
182 private void checkProxy(NamedObject.Proxy proxy, MockNamedObjectImpl impl) {
185 proxy.getProxyHandler().setErrorHandler(errorHandler);
192 proxy.getName(callback);
200 proxy.setName(OBJECT_NAME);
209 proxy.getName(callback);
225 NamedObject.Proxy proxy local
234 NamedObject.Proxy proxy = local
242 Factory.Proxy proxy = BindingsTestUtils.newProxyOverPipe( local
255 Factory.Proxy proxy = local
269 Factory.Proxy proxy = local
    [all...]
  /external/libmojo/mojo/public/cpp/bindings/lib/
associated_interface_ptr_state.h 92 proxy_.reset(new Proxy(endpoint_client_.get()));
127 using Proxy = typename Interface::Proxy_;
136 std::unique_ptr<Proxy> proxy_;
interface_ptr_state.h 144 using Proxy = typename Interface::Proxy_;
147 // The proxy has been configured.
163 proxy_ = new Proxy(router_);
172 Proxy* proxy_;
299 using Proxy = typename Interface::Proxy_;
302 // The proxy has been configured.
318 proxy_.reset(new Proxy(endpoint_client_.get()));
332 std::unique_ptr<Proxy> proxy_;
  /libcore/ojluni/src/main/java/sun/reflect/misc/
ReflectUtil.java 29 import java.lang.reflect.Proxy;
63 * If it is a {@link Proxy#isProxyClass(java.lang.Class)} that implements
65 * also check the package access on the proxy interfaces.
141 * Check package access on the proxy interfaces that the given proxy class
144 * @param clazz Proxy class object
149 // check proxy interfaces if the given class is a proxy class
150 if (Proxy.isProxyClass(clazz)) {
159 * Access check on the interfaces that a proxy class implements and thro
    [all...]
  /art/test/912-classes/src/art/
Test912Art.java 21 import java.lang.reflect.Proxy;
  /external/conscrypt/api-doclet/src/main/java/org/conscrypt/doclet/
FilterDoclet.java 31 import java.lang.reflect.Proxy;
96 return Proxy.newProxyInstance(
129 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
146 private static Object unwrap(Object proxy) {
147 if (proxy instanceof Proxy)
148 return ((HideHandler) Proxy.getInvocationHandler(proxy)).target;
149 return proxy;
  /external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DexmakerMockMaker.java 29 import java.lang.reflect.Proxy;
46 // support interfaces via java.lang.reflect.Proxy
52 T mock = (T) Proxy.newProxyInstance(typeToMock.getClassLoader(), classesToMock, invocationHandler);
114 && !candidate.getClassName().startsWith("$Proxy") // dalvik interface proxies
124 if (Proxy.isProxyClass(mock.getClass())) {
125 InvocationHandler invocationHandler = Proxy.getInvocationHandler(mock);
  /external/libmicrohttpd/src/examples/
mhd2spdy_spdy.h 20 * @brief SPDY part of the proxy. libspdylay is used for the client side.
59 struct Proxy *proxy,
mhd2spdy_http.c 20 * @brief HTTP part of the proxy. libmicrohttpd is used for the server side.
56 "Proxy-Connection",
87 struct Proxy *proxy = (struct Proxy *)cls; local
92 PRINT_INFO2("http_cb_response for %s", proxy->url);
94 if(proxy->spdy_error)
97 if(0 == proxy->http_body_size && (proxy->done || !proxy->spdy_active)
171 struct Proxy *proxy; local
380 struct Proxy *proxy; local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Address.java 19 import java.net.Proxy;
30 * this is the server's hostname and port. If an explicit proxy is requested (or
31 * {@linkplain Proxy#NO_PROXY no proxy} is explicitly requested), this also includes
32 * that proxy information. For secure connections the address also includes the
46 final Proxy proxy; field in class:Address
53 CertificatePinner certificatePinner, Authenticator authenticator, Proxy proxy,
79 this.proxy = proxy
    [all...]
  /libcore/ojluni/src/main/java/java/net/
ProxySelector.java 33 * Selects the proxy server to use, if any, when connecting to the
34 * network resource referenced by a URL. A proxy selector is a
37 * currently registered proxy selector can be retrieved by calling
40 * <p> When a proxy selector is registered, for instance, a subclass
42 * method for each URL request so that the proxy selector can decide
47 * <p> If a connection cannot be established to a proxy (PROXY or
48 * SOCKS) servers then the caller should call the proxy selector's
49 * {@link #connectFailed connectFailed} method to notify the proxy
50 * selector that the proxy server is unavailable. </p
    [all...]
  /art/test/616-cha-regression-proxy-method/src/
Main.java 19 import java.lang.reflect.Proxy;
61 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
100 // Also create a proxy method such that a proxy method's frame is visited
107 // Create another thread that calls a proxy method.
110 Runnable proxy = (Runnable)Proxy.newProxyInstance( local
114 proxy.run();
  /external/mockito/src/test/java/org/mockitousage/bugs/
InheritedGenericsPolimorphicCallTest.java 15 import java.lang.reflect.Proxy;
58 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
63 iterable = (MyIterable<String>) Proxy.newProxyInstance(
  /frameworks/av/services/audioflinger/
RecordTracks.h 114 virtual status_t obtainBuffer(Proxy::Buffer *buffer,
116 virtual void releaseBuffer(Proxy::Buffer *buffer);
118 void setPeerProxy(PatchProxyBufferProvider *proxy) { mPeerProxy = proxy; }
  /packages/apps/Settings/src/com/android/settings/
ProxySelector.java 26 import android.net.Proxy;
69 mView = inflater.inflate(R.layout.proxy, container, false);
83 // Disable UI if the Global Proxy is being controlled by a Device Admin
154 ProxyInfo proxy = cm.getGlobalProxy(); local
155 if (proxy != null) {
156 hostname = proxy.getHost();
157 port = proxy.getPort();
158 exclList = proxy.getExclusionListAsString();
190 switch (Proxy.validate(hostname, port, exclList)) {
191 case Proxy.PROXY_VALID
    [all...]

Completed in 1182 milliseconds

1 23 4 5 6 7 8 91011>>