/external/guava/guava/src/com/google/common/reflect/ |
Types.java | 41 import java.lang.reflect.Proxy; 342 * complain that an abstract method is unimplemented. So instead we use a dynamic proxy to 344 * the same name as one of the public methods of {@link TypeVariableImpl}, the proxy calls 378 @Override public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 434 && Proxy.isProxyClass(obj.getClass()) 435 && Proxy.getInvocationHandler(obj) instanceof TypeVariableInvocationHandler) { 437 (TypeVariableInvocationHandler) Proxy.getInvocationHandler(obj);
|
/external/libmicrohttpd/src/examples/ |
mhd2spdy_structures.c | 118 free_proxy(struct Proxy *proxy) 120 PRINT_INFO2("free proxy called for '%s'", proxy->url); 121 if(NULL != proxy->http_body && proxy->http_body_size > 0) 122 UPDATE_STAT(glob_stat.spdy_bytes_received_and_dropped, proxy->http_body_size); 123 free(proxy->http_body); 124 free_uri(proxy->uri); 125 free(proxy->url) [all...] |
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockWebServer.java | 30 import java.net.Proxy; 113 public Proxy toProxyAddress() { 114 return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(getHostName(), getPort()));
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
DuckTypedPSKKeyManagerTest.java | 21 import java.lang.reflect.Proxy; 91 // IMPLEMENTATION NOTE: We create a DuckTypedPSKKeyManager wrapping a Reflection Proxy, 93 // and assert that invocations on the Proxy are as expected and that values returned by the 94 // Proxy are returned to us. 98 PSKKeyManager delegate = (PSKKeyManager) Proxy.newProxyInstance( 311 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
|
/external/guice/core/src/com/google/inject/internal/ |
Annotations.java | 42 import java.lang.reflect.Proxy; 95 return annotationType.cast(Proxy.newProxyInstance( 100 public Object invoke(Object proxy, Method method, Object[] args) throws Exception {
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
FactoryProvider.java | 43 import java.lang.reflect.Proxy; 337 public Object invoke(Object proxy, Method method, Object[] creationArgs) throws Throwable { 338 // pass methods from Object.class to the proxy 341 return proxy == creationArgs[0]; 343 return System.identityHashCode(proxy); 378 return factoryRawType.cast(Proxy.newProxyInstance(BytecodeGen.getClassLoader(factoryRawType),
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
OkHeaders.java | 10 import java.net.Proxy; 225 && !"Proxy-Authenticate".equalsIgnoreCase(fieldName) 226 && !"Proxy-Authorization".equalsIgnoreCase(fieldName) 285 Proxy proxy) throws IOException { 287 ? authenticator.authenticateProxy(proxy, response) 288 : authenticator.authenticate(proxy, response);
|
/external/v8/src/ |
d8.js | 14 function JSProxyGetTarget(proxy) { }; 15 function JSProxyGetHandler(proxy) { }; 19 JSProxyGetTarget = Function(['proxy'], 20 'return %JSProxyGetTarget(proxy)'); 21 JSProxyGetHandler = Function(['proxy'], 22 'return %JSProxyGetHandler(proxy)'); 85 function StringifyProxy(proxy, depth) { 86 var proxy_type = typeof proxy; 88 target: JSProxyGetTarget(proxy), 89 handler: JSProxyGetHandler(proxy) [all...] |
/frameworks/base/media/java/android/media/ |
MediaHTTPConnection.java | 29 import java.net.Proxy; 186 // do not use any proxy for localhost (127.0.0.1) 191 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY);
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
FtpClient.java | 57 private Proxy proxy; field in class:FtpClient 606 // the first place. Most likely because the proxy is doing 643 if (proxy != null) { 644 if (proxy.type() == Proxy.Type.SOCKS) { 649 return new Socket(proxy); 653 s = new Socket(Proxy.NO_PROXY); 729 if (proxy != null && proxy.type() == Proxy.Type.SOCKS) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
URLTest.java | 26 import java.net.Proxy; [all...] |
/frameworks/av/services/audioflinger/ |
Tracks.cpp | 247 // delete the proxy before deleting the shared memory it refers to, to avoid dangling reference 652 // from a different thread than the one calling Proxy->obtainBuffer() and 653 // Proxy->releaseBuffer(). Also note there is no mutual exclusion in the 766 // It is usually unsafe to access the server proxy from a binder thread. [all...] |
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
Decoder.java | 7 import org.chromium.mojo.bindings.Interface.Proxy; 472 * @return a proxy to the service. 474 public <P extends Proxy> P readServiceInterface(int offset, boolean nullable, 643 public <S extends Interface, P extends Proxy> S[] readServiceInterfaces(
|
Encoder.java | 7 import org.chromium.mojo.bindings.Interface.Proxy.Handler; 277 // If the instance is a proxy, pass the proxy's handle instead of creating a new stub. 278 if (v instanceof Interface.Proxy) { 279 Handler handler = ((Interface.Proxy) v).getProxyHandler();
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
HttpURLConnectionImpl.java | 53 import java.net.Proxy; 518 * <li>A specific proxy was explicitly configured for this connection. 519 * <li>The response has already been retrieved, and a proxy was {@link 527 Proxy proxy = route != null local 530 return proxy != null && proxy.type() != Proxy.Type.DIRECT;
|
/prebuilts/go/darwin-x86/src/net/http/httputil/ |
reverseproxy.go | 5 // HTTP reverse proxy handler 37 // The transport used to perform proxy requests. 48 // that occur when attempting to proxy the request. 60 // If it returns an error, the proxy returns a StatusBadGateway error. 121 "Proxy-Connection", // non-standard but still sent by libcurl and rejected by e.g. google 123 "Proxy-Authenticate", 124 "Proxy-Authorization", 196 // If we aren't the first proxy retain prior 207 p.logf("http: proxy error: %v", err) 228 p.logf("http: proxy error: %v", err [all...] |
/prebuilts/go/linux-x86/src/net/http/httputil/ |
reverseproxy.go | 5 // HTTP reverse proxy handler 37 // The transport used to perform proxy requests. 48 // that occur when attempting to proxy the request. 60 // If it returns an error, the proxy returns a StatusBadGateway error. 121 "Proxy-Connection", // non-standard but still sent by libcurl and rejected by e.g. google 123 "Proxy-Authenticate", 124 "Proxy-Authorization", 196 // If we aren't the first proxy retain prior 207 p.logf("http: proxy error: %v", err) 228 p.logf("http: proxy error: %v", err [all...] |
/prebuilts/sdk/current/support/customtabs/ |
android-support-customtabs.jar | |
/external/easymock/src/org/easymock/ |
EasyMock.java | 18 import java.lang.reflect.Proxy;
[all...] |
/external/v8/src/inspector/ |
v8-injected-script-host.cc | 164 info.GetReturnValue().Set(toV8StringInternalized(isolate, "proxy")); 280 v8::Local<v8::Object> target = info[0].As<v8::Proxy>(); 282 target = v8::Local<v8::Proxy>::Cast(target)->GetTarget();
|
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
CaptivePortalLoginActivity.java | 31 import android.net.Proxy; 114 // Also initializes proxy system properties. 117 // Proxy system properties must be initialized before setContentView is called because 157 // Start initial page load so WebView finishes loading proxy settings. 162 // Find WebView's proxy BroadcastReceiver and prompt it to read proxy system properties. 175 Intent intent = new Intent(Proxy.PROXY_CHANGE_ACTION); 177 Log.v(TAG, "Prompting WebView proxy reload."); 182 Log.e(TAG, "Exception while setting WebView proxy: " + e); 372 // fetch the proxy settings. Don't update the URL bar, an [all...] |
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
CaptivePortalLoginActivity.java | 32 import android.net.Proxy; 118 // Start initial page load so WebView finishes loading proxy settings. 159 // Find WebView's proxy BroadcastReceiver and prompt it to read proxy system properties. 172 Intent intent = new Intent(Proxy.PROXY_CHANGE_ACTION); 174 Log.v(TAG, "Prompting WebView proxy reload."); 179 loge("Exception while setting WebView proxy: " + e); 297 // Start initial page load so WebView finishes loading proxy settings. 357 // fetch the proxy settings. Don't update the URL bar, and 375 // Now that WebView has loaded at least one page we know it has read in the proxy [all...] |
/prebuilts/go/darwin-x86/src/cmd/go/ |
http.go | 36 Proxy: http.ProxyFromEnvironment,
|
/prebuilts/go/linux-x86/src/cmd/go/ |
http.go | 36 Proxy: http.ProxyFromEnvironment,
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 41 import java.net.Proxy; 171 public Proxy toProxyAddress() { 174 return new Proxy(Proxy.Type.HTTP, address); [all...] |