/art/test/004-JniTest/src/ |
Main.java | 22 import java.lang.reflect.Proxy; 250 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 257 SimpleInterface proxy = local 258 (SimpleInterface) Proxy.newProxyInstance(SimpleInterface.class.getClassLoader(), 263 if (testGetMethodID(proxy.getClass()) == 0) {
|
/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 | 250 // delete the proxy before deleting the shared memory it refers to, to avoid dangling reference 661 // from a different thread than the one calling Proxy->obtainBuffer() and 662 // Proxy->releaseBuffer(). Also note there is no mutual exclusion in the 781 // It is usually unsafe to access the server proxy from a binder thread. [all...] |
/libcore/ojluni/src/main/java/java/net/ |
URL.java | [all...] |
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
Decoder.java | 7 import org.chromium.mojo.bindings.Interface.Proxy; 493 * @return a proxy to the service. 495 public <P extends Proxy> P readServiceInterface(int offset, boolean nullable, 664 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. 131 "Proxy-Connection", // non-standard but still sent by libcurl and rejected by e.g. google 133 "Proxy-Authenticate", 134 "Proxy-Authorization", 184 // If we aren't the first proxy retain prior 195 p.logf("http: proxy error: %v", err) 208 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. 131 "Proxy-Connection", // non-standard but still sent by libcurl and rejected by e.g. google 133 "Proxy-Authenticate", 134 "Proxy-Authorization", 184 // If we aren't the first proxy retain prior 195 p.logf("http: proxy error: %v", err) 208 p.logf("http: proxy error: %v", err [all...] |
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
InlineDexmakerMockMaker.java | 43 import java.lang.reflect.Proxy; 184 * Get methods to proxy. 191 * @return methods to proxy. 245 // support interfaces via java.lang.reflect.Proxy 251 mock = (T) Proxy.newProxyInstance(typeToMock.getClassLoader(), classesToMock,
|
/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/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
CaptivePortalLoginActivity.java | 32 import android.net.Proxy; 119 // Start initial page load so WebView finishes loading proxy settings. 169 // Find WebView's proxy BroadcastReceiver and prompt it to read proxy system properties. 182 Intent intent = new Intent(Proxy.PROXY_CHANGE_ACTION); 184 Log.v(TAG, "Prompting WebView proxy reload."); 189 loge("Exception while setting WebView proxy: " + e); 308 // Start initial page load so WebView finishes loading proxy settings. 368 // fetch the proxy settings. Don't update the URL bar, and 386 // 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/internal/web/ |
http.go | 38 Proxy: http.ProxyFromEnvironment,
|
/prebuilts/go/linux-x86/src/cmd/go/internal/web/ |
http.go | 38 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...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
ReadableArchive.java | 240 ParcelFileDescriptor.MODE_READ_ONLY, new Proxy(mZipFile, entry));
|
/prebuilts/go/darwin-x86/src/net/http/ |
readrequest_test.go | 43 "Proxy-Connection: keep-alive\r\n\r\n" + 62 "Proxy-Connection": {"keep-alive"},
|