/art/test/044-proxy/src/ |
NativeProxy.java | 23 import java.lang.reflect.Proxy; 28 * Test invoking a proxy method from native code. 41 NativeInterface inf = (NativeInterface)Proxy.newProxyInstance( 53 public Object invoke(final Object proxy,
|
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)
|
/art/test/691-hiddenapi-proxy/src/ |
Main.java | 21 import java.lang.reflect.Proxy; 30 Object obj = Proxy.newProxyInstance( 35 public Object invoke(Object proxy, Method method, Object[] args) { 47 throw new Exception("Expected two fields in a proxy class: 'interfaces' and 'throws'"); 52 "691-hiddenapi-proxy-ex.jar").getAbsolutePath();
|
/device/generic/goldfish/wifi/ipv6proxy/ |
proxy.h | 29 class Proxy { 32 Proxy(std::string outerInterfaceName,
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
SourceDebugExtensionDebuggee.java | 28 import java.lang.reflect.Proxy; 47 // Instantiate a proxy whose name should contain "$Proxy". 48 Class proxy = Proxy.getProxyClass(SomeInterface.class.getClassLoader(), local
|
/art/test/992-source-data/src/art/ |
Test992.java | 19 import java.lang.reflect.Proxy; 38 doTest(Proxy.getProxyClass(Test992.class.getClassLoader(), Runnable.class)); 42 if (k != null && Proxy.class.isAssignableFrom(k)) { 43 return String.format("Proxy of %s", Arrays.toString(k.getInterfaces()));
|
/external/guava/guava/src/com/google/common/reflect/ |
AbstractInvocationHandler.java | 23 import java.lang.reflect.Proxy; 33 * Object proxy, Method method, Object[] args) { 53 * <li>{@code proxy.hashCode()} delegates to {@link AbstractInvocationHandler#hashCode} 54 * <li>{@code proxy.toString()} delegates to {@link AbstractInvocationHandler#toString} 55 * <li>{@code proxy.equals(argument)} returns true if: <ul> 56 * <li>{@code proxy} and {@code argument} are of the same type 63 @Override public final Object invoke(Object proxy, Method method, @Nullable Object[] args) 78 if (proxy == arg) { 81 return isProxyOfSameInterfaces(arg, proxy.getClass()) 82 && equals(Proxy.getInvocationHandler(arg)) [all...] |
/external/okhttp/android/src/main/java/com/squareup/okhttp/ |
HttpsHandler.java | 21 import java.net.Proxy; 57 protected OkUrlFactory newOkUrlFactory(Proxy proxy) { 58 OkUrlFactory okUrlFactory = createHttpsOkUrlFactory(proxy); 71 public static OkUrlFactory createHttpsOkUrlFactory(Proxy proxy) { 73 OkUrlFactory okUrlFactory = HttpHandler.createHttpOkUrlFactory(proxy);
|
HttpHandler.java | 25 import java.net.Proxy; 49 return newOkUrlFactory(null /* proxy */).open(url); 52 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { 53 if (url == null || proxy == null) { 54 throw new IllegalArgumentException("url == null || proxy == null"); 56 return newOkUrlFactory(proxy).open(url); 63 protected OkUrlFactory newOkUrlFactory(Proxy proxy) { 64 OkUrlFactory okUrlFactory = createHttpOkUrlFactory(proxy); [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
RecordingProxySelector.java | 20 import java.net.Proxy; 32 List<Proxy> proxies = new ArrayList<>(); 35 @Override public List<Proxy> select(URI uri) {
|
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/ |
HttpsHandler.java | 22 import java.net.Proxy; 61 protected OkUrlFactory newOkUrlFactory(Proxy proxy) { 62 OkUrlFactory okUrlFactory = createHttpsOkUrlFactory(proxy); 75 public static OkUrlFactory createHttpsOkUrlFactory(Proxy proxy) { 77 OkUrlFactory okUrlFactory = HttpHandler.createHttpOkUrlFactory(proxy);
|
HttpHandler.java | 26 import java.net.Proxy; 53 return newOkUrlFactory(null /* proxy */).open(url); 56 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { 57 if (url == null || proxy == null) { 58 throw new IllegalArgumentException("url == null || proxy == null"); 60 return newOkUrlFactory(proxy).open(url); 67 protected OkUrlFactory newOkUrlFactory(Proxy proxy) { 68 OkUrlFactory okUrlFactory = createHttpOkUrlFactory(proxy); [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
Authenticate.java | 24 import java.net.Proxy; 31 @Override public Request authenticate(Proxy proxy, Response response) { 40 @Override public Request authenticateProxy(Proxy proxy, Response response) {
|
/external/tensorflow/tensorflow/core/kernels/ |
strided_slice_op_impl.h | 85 typedef typename proxy_type<Device, T>::type Proxy; 95 functor::Slice<Device, Proxy, NDIM>()( 97 result->bit_casted_shaped<Proxy, NDIM>(processing_dims), 98 context->input(0).bit_casted_tensor<Proxy, NDIM>(), begin_di, sizes_di); 108 functor::StridedSlice<Device, Proxy, NDIM>()( 110 result->bit_casted_shaped<Proxy, NDIM>(processing_dims), 111 context->input(0).bit_casted_tensor<Proxy, NDIM>(), begin_di, end_di, 134 typedef typename proxy_type<Device, T>::type Proxy; 135 functor::StridedSliceGrad<Device, Proxy, NDIM>()( 136 context->eigen_device<Device>(), result->bit_casted_tensor<Proxy, NDIM>() [all...] |
/external/syzkaller/vendor/golang.org/x/net/http/httpguts/ |
guts.go | 41 "Proxy-Authenticate": true, 42 "Proxy-Authorization": true, 43 "Proxy-Connection": true,
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/ |
OkUrlFactory.java | 23 import java.net.Proxy; 57 HttpURLConnection open(URL url, Proxy proxy) { 60 copy.setProxy(proxy); 85 @Override protected URLConnection openConnection(URL url, Proxy proxy) { 86 return open(url, proxy);
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/ |
OkUrlFactory.java | 24 import java.net.Proxy; 61 HttpURLConnection open(URL url, Proxy proxy) { 64 copy.setProxy(proxy); 89 @Override protected URLConnection openConnection(URL url, Proxy proxy) { 90 return open(url, proxy);
|
/art/runtime/native/ |
java_lang_reflect_Proxy.cc | 41 FAST_NATIVE_METHOD(Proxy, generateProxy, "(Ljava/lang/String;[Ljava/lang/Class;Ljava/lang/ClassLoader;[Ljava/lang/reflect/Method;[[Ljava/lang/Class;)Ljava/lang/Class;"), 45 REGISTER_NATIVE_METHODS("java/lang/reflect/Proxy");
|
/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/guice/extensions/servlet/test/com/google/inject/servlet/ |
ServletTestUtils.java | 10 import java.lang.reflect.Proxy; 31 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 48 Proxy.newProxyInstance( 99 Proxy.newProxyInstance( 109 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 125 Proxy.newProxyInstance(
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
LocalizedNumberFormatterAsFormat.java | 114 Proxy proxy = new Proxy(); local 115 proxy.languageTag = locale.toLanguageTag(); 116 proxy.skeleton = formatter.toSkeleton(); 117 return proxy; 120 static class Proxy implements Externalizable { 127 public Proxy() {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
LocalizedNumberFormatterAsFormat.java | 112 Proxy proxy = new Proxy(); local 113 proxy.languageTag = locale.toLanguageTag(); 114 proxy.skeleton = formatter.toSkeleton(); 115 return proxy; 118 static class Proxy implements Externalizable { 125 public Proxy() {
|
/external/libchrome/mojo/public/cpp/bindings/ |
interface_ptr.h | 24 // A pointer to a local proxy of a remote Interface implementation. Uses a 26 // closes the pipe and deletes the proxy on destruction. The pointer must be 31 // This class is thread hostile, as is the local proxy it manages, while bound 32 // to a message pipe. All calls to this class or the proxy should be from the 33 // same sequence that bound it. If you need to move the proxy to a different 44 using Proxy = typename Interface::Proxy_; 95 // Returns a raw pointer to the local proxy. Caller does not take ownership. 96 // Note that the local proxy is thread hostile, as stated above. 97 Proxy* get() const { return internal_state_.instance(); } 100 Proxy* operator->() const { return get(); [all...] |
/external/libchrome/mojo/public/cpp/bindings/lib/ |
associated_interface_ptr_state.h | 100 using Proxy = typename Interface::Proxy_; 105 Proxy* instance() { 122 proxy_.reset(new Proxy(endpoint_client())); 134 std::unique_ptr<Proxy> proxy_;
|