/art/test/044-proxy/src/ |
FloatSelect.java | 20 * Test java.lang.reflect.Proxy 29 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 35 FloatSelectI proxyObject = (FloatSelectI) Proxy.newProxyInstance(
|
Clash4.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(), 72 public Object invoke(Object proxy, Method method, Object[] args)
|
OOMEOnDispatch.java | 19 import java.lang.reflect.Proxy; 31 OOMEInterface inf = (OOMEInterface)Proxy.newProxyInstance( 61 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ServletTestUtils.java | 11 import java.lang.reflect.Proxy; 32 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 51 HttpServletRequest delegate = (HttpServletRequest) Proxy.newProxyInstance( 94 return (HttpServletResponse) Proxy.newProxyInstance( 102 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 119 return (HttpSession) Proxy.newProxyInstance(HttpSession.class.getClassLoader(),
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
HttpHandler.java | 24 import java.net.Proxy; 44 return newOkUrlFactory(null /* proxy */).open(url); 47 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { 48 if (url == null || proxy == null) { 49 throw new IllegalArgumentException("url == null || proxy == null"); 51 return newOkUrlFactory(proxy).open(url); 58 protected OkUrlFactory newOkUrlFactory(Proxy proxy) { 59 OkUrlFactory okUrlFactory = createHttpOkUrlFactory(proxy); [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
FtpURLConnectionTest.java | 32 import java.net.Proxy; 139 Proxy proxy = Proxy.NO_PROXY; local 142 URLConnection connection = fileUrl.openConnection(proxy); 145 assertEquals(Proxy.Type.DIRECT, proxy.type()); 157 Proxy proxy = countingProxy.asProxy(); local 158 assertEquals(Proxy.Type.HTTP, proxy.type()) 180 Proxy proxy = countingProxy.asProxy(); local 202 Proxy proxy = countingProxy.asProxy(); local 332 private final Proxy proxy; field in class:FtpURLConnectionTest.SingleProxySelector 388 private final Proxy proxy; field in class:FtpURLConnectionTest.CountingProxy [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
ExcludedProxyTest.java | 25 import java.net.Proxy; 35 * This test is designed for collecting all the testcases which needs a proxy 156 * @tests java.net.URL#openConnection(Proxy) 163 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, addr1); 164 Proxy proxy2 = new Proxy(Proxy.Type.SOCKS, addr2); 165 Proxy proxyList[] = { proxy1, proxy2 } [all...] |
/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 | 19 import java.lang.reflect.Proxy; 82 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 92 // Window.Callback object. Because we're using a Proxy to forward all method 168 activity.getWindow().setCallback((Window.Callback) Proxy.newProxyInstance( 176 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass()) 187 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass()) 198 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass()) 209 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass()) 220 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass()) 231 assert (Proxy.isProxyClass(activity.getWindow().getCallback().getClass() [all...] |
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/ |
PluginLoader.java | 11 import java.lang.reflect.Proxy; 69 return Proxy.newProxyInstance(preferredPluginType.getClassLoader(), 73 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
|
/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...] |
/frameworks/support/webkit/src/main/java/androidx/webkit/internal/ |
WebResourceErrorImpl.java | 31 import java.lang.reflect.Proxy; 65 Proxy.getInvocationHandler(mBoundaryInterface));
|
/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())); 138 using Proxy = typename Interface::Proxy_; 147 std::unique_ptr<Proxy> proxy_;
|
/libcore/ojluni/src/main/java/sun/reflect/misc/ |
ReflectUtil.java | 29 import java.lang.reflect.Proxy; 67 * If it is a {@link Proxy#isProxyClass(java.lang.Class)} that implements 69 * also check the package access on the proxy interfaces. 145 * Check package access on the proxy interfaces that the given proxy class 148 * @param clazz Proxy class object 153 // check proxy interfaces if the given class is a proxy class 154 if (Proxy.isProxyClass(clazz)) { 163 * Access check on the interfaces that a proxy class implements and thro [all...] |
/art/test/064-field-access/src/ |
OOMEOnNullAccess.java | 19 import java.lang.reflect.Proxy;
|
/art/test/912-classes/src-art/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;
|