/external/easymock/src/org/easymock/internal/ |
JavaProxyFactory.java | 24 return (T) Proxy.newProxyInstance(toMock.getClassLoader(),
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ProxyTest.java | 50 Proxy.newProxyInstance(loaderB, interfacesA, returnHandler); 64 Object proxy = Proxy.newProxyInstance(loaderA, interfacesA, invocationHandlerB); 71 Proxy.newProxyInstance(loader, new Class[] {ReturnsInt.class, ReturnsFloat.class}, 80 Proxy.newProxyInstance(loader, new Class[] {ReturnsInt.class, ReturnsInteger.class}, 89 Proxy.newProxyInstance(loader, new Class[] {ReturnsInt.class, ReturnsVoid.class}, 98 Proxy.newProxyInstance(loader, new Class[] {ReturnsInteger.class, ReturnsString.class }, 106 Proxy.newProxyInstance(loader, new Class[] {ReturnsString.class, ReturnsCharSequence.class}, 108 Proxy.newProxyInstance(loader, new Class[]{ReturnsObject.class, ReturnsCharSequence.class, 110 Proxy.newProxyInstance(loader, new Class[]{ReturnsObject.class, ReturnsCharSequence.class, 117 Proxy.newProxyInstance(loader, new Class[] {ReturnsString.class, ReturnsObject.class} [all...] |
/art/test/044-proxy/src/ |
Clash.java | 32 Proxy.newProxyInstance(Clash.class.getClassLoader(), 41 Proxy.newProxyInstance(Clash.class.getClassLoader(),
|
FloatSelect.java | 35 FloatSelectI proxyObject = (FloatSelectI) Proxy.newProxyInstance(
|
Clash2.java | 31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
|
Clash3.java | 31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
|
NativeProxy.java | 41 NativeInterface inf = (NativeInterface)Proxy.newProxyInstance(
|
Clash4.java | 31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
|
NarrowingTest.java | 32 I2 proxy = (I2) Proxy.newProxyInstance(NarrowingTest.class.getClassLoader(),
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ServletTestUtils.java | 51 HttpServletRequest delegate = (HttpServletRequest) Proxy.newProxyInstance( 94 return (HttpServletResponse) Proxy.newProxyInstance( 119 return (HttpSession) Proxy.newProxyInstance(HttpSession.class.getClassLoader(),
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
ProxyTest.java | 114 * java.lang.reflect.Proxy#newProxyInstance(java.lang.ClassLoader, 119 Object p = Proxy.newProxyInstance(Support_Proxy_I1.class 174 Broken1 proxyObject = (Broken1) Proxy.newProxyInstance(Broken1.class 227 Object p = Proxy.newProxyInstance(Support_Proxy_I1.class 243 .newProxyInstance(this.getClass().getClassLoader(), 252 Proxy.newProxyInstance(this.getClass().getClassLoader(),
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/ |
ProxyDebuggee.java | 59 checkedProxyObject = Proxy.newProxyInstance(getClass().getClassLoader(),
|
/external/guava/guava/src/com/google/common/reflect/ |
Reflection.java | 81 * {@link Proxy#newProxyInstance}. 90 Object object = Proxy.newProxyInstance(
|
/external/guice/core/src/com/google/inject/internal/ |
ConstructionContext.java | 82 return expectedType.cast(Proxy.newProxyInstance(classLoader,
|
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
MBeanClient.java | 46 IProxy proxy = (IProxy) MBeanServerInvocationHandler.newProxyInstance(
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingTestCase.java | 75 return (T) Proxy.newProxyInstance(c.getClassLoader(), 137 return Proxy.newProxyInstance(returnType.getClassLoader(),
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
Proxy.java | 92 public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h) {
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
DummyProxy.java | 51 Object dummy = Proxy.newProxyInstance(
|
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/ |
SubstitutableLoggerTest.java | 52 Logger proxyLogger = (Logger) Proxy.newProxyInstance(getClass().getClassLoader(), new Class[] { Logger.class }, ih);
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
PSKKeyManagerProxy.java | 40 return (KeyManager) Proxy.newProxyInstance(
|
/libcore/support/src/test/java/tests/io/ |
MockOs.java | 66 private final Os mockOs = (Os) Proxy.newProxyInstance(MockOs.class.getClassLoader(),
|
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
DexmakerMockMaker.java | 49 @SuppressWarnings("unchecked") // newProxyInstance returns the type of typeToMock 50 T mock = (T) Proxy.newProxyInstance(contextClassLoader, classesToMock,
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
SimpleTimeLimiter.java | 191 Object object = Proxy.newProxyInstance(interfaceType.getClassLoader(),
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
AbstractInvocationHandlerTest.java | 110 return Proxy.newProxyInstance(AbstractInvocationHandlerTest.class.getClassLoader(),
|
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
JpaPersistModule.java | 159 .newProxyInstance(Thread.currentThread().getContextClassLoader(), new Class<?>[] { iface },
|