Searched refs:proxy (Results 1 - 10 of 10) sorted by relevance

/art/test/044-proxy/src/
H A DNarrowingTest.java32 I2 proxy = (I2) Proxy.newProxyInstance(NarrowingTest.class.getClassLoader(),
37 public Object invoke(Object proxy, Method method,
49 Method[] methods = proxy.getClass().getDeclaredMethods();
52 System.out.println("Invoking foo using I2 type: " + proxy.foo());
54 I1 proxyAsParent = proxy;
58 proxy.foo();
H A DBasicTest.java34 Object proxy = createProxy(proxyMe);
36 if (!Proxy.isProxyClass(proxy.getClass()))
37 System.err.println("not a proxy class?");
38 if (Proxy.getInvocationHandler(proxy) == null)
42 Shapes shapes = (Shapes) proxy;
46 Quads quads = (Quads) proxy;
49 Colors colors = (Colors) proxy;
54 Trace trace = (Trace) proxy;
75 Method[] methods = proxy.getClass().getDeclaredMethods();
86 Arrays.deepToString(proxy
239 invoke(Object proxy, Method method, Object[] args) argument
[all...]
H A DFloatSelect.java29 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
H A DClash.java23 * Try to instantiate a proxy class with interfaces that have conflicting
65 public Object invoke(Object proxy, Method method, Object[] args) argument
H A DClash2.java23 * Try to instantiate a proxy class with interfaces that have conflicting
55 public Object invoke(Object proxy, Method method, Object[] args) argument
H A DClash3.java23 * Try to instantiate a proxy class with interfaces that have conflicting
70 public Object invoke(Object proxy, Method method, Object[] args) argument
H A DWrappedThrow.java31 Object proxy;
34 proxy = Proxy.newProxyInstance(WrappedThrow.class.getClassLoader(),
42 InterfaceW1 if1 = (InterfaceW1) proxy;
43 InterfaceW2 if2 = (InterfaceW2) proxy;
176 * Invocation handler for our proxy class.
186 * This is called when anything gets invoked in the proxy object.
188 public Object invoke(Object proxy, Method method, Object[] args) argument
H A DClash4.java23 * Try to instantiate a proxy class with interfaces that have conflicting
72 public Object invoke(Object proxy, Method method, Object[] args) argument
H A DReturnsAndArgPassing.java56 public Object invoke(Object proxy, Method method, Object[] args) { argument
57 check(proxy instanceof Proxy);
/art/runtime/arch/arm/
H A Dquick_entrypoints_arm.S941 * Called by managed code that is attempting to call a method on a proxy class. On entry
942 * r0 holds the proxy method and r1 holds the receiver; r2 and r3 may contain arguments. The
943 * frame size of the invoked proxy method agrees with a ref and args callee save frame.
948 str r0, [sp, #0] @ place proxy method at bottom of frame
951 blx artQuickProxyInvokeHandler @ (Method* proxy method, receiver, Thread*, SP)

Completed in 103 milliseconds