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

/art/test/1945-proxy-method-arguments/src/
H A DMain.java32 public Object invoke(Object proxy, Method method, Object[] args) { argument
33 // Force garbage collection to try to make `proxy` move in memory
39 testMethod0(proxy, args);
41 testMethod1(proxy, args);
43 testMethod10(proxy, args);
45 testMethod10Even(proxy, args);
50 private void testMethod0(Object proxy, Object[] args) { argument
51 // Get argument 0 (method target) from the proxy method frame ($Proxy0.method0 activation).
54 Main.assertEquals(proxy, arg0);
57 private void testMethod1(Object proxy, Objec argument
68 testMethod10(Object proxy, Object[] args) argument
82 testMethod10Even(Object proxy, Object[] args) argument
[all...]
/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,
48 Main.registerProxyClassName(proxy.getClass().getCanonicalName());
50 Method[] methods = proxy.getClass().getDeclaredMethods();
55 System.out.println("Invoking foo using I2 type: " + proxy.foo());
57 I1 proxyAsParent = proxy;
61 proxy.foo();
H A DBasicTest.java33 Object proxy = createProxy(proxyMe);
35 if (!Proxy.isProxyClass(proxy.getClass()))
36 System.out.println("not a proxy class?");
37 if (Proxy.getInvocationHandler(proxy) == null)
41 Shapes shapes = (Shapes) proxy;
45 Quads quads = (Quads) proxy;
48 Colors colors = (Colors) proxy;
53 Trace trace = (Trace) proxy;
56 // Test the proxy spec: These Object functions are supposed to be given to the handler.
79 Method[] methods = proxy
235 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 DConstructorProxy.java43 // not using the non-proxy ArtMethod
49 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
H A DNativeProxy.java28 * Test invoking a proxy method from native code.
53 public Object invoke(final Object proxy, 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 DOOMEOnDispatch.java61 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
H A DReturnsAndArgPassing.java56 public Object invoke(Object proxy, Method method, Object[] args) { argument
57 check(proxy instanceof Proxy);
60 // Check for moving GC bugs in proxy stubs.
/art/test/616-cha-regression-proxy-method/src/
H A DMain.java61 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
100 // Also create a proxy method such that a proxy method's frame is visited
107 // Create another thread that calls a proxy method.
110 Runnable proxy = (Runnable)Proxy.newProxyInstance(
114 proxy.run();
/art/test/676-proxy-jit-at-first-use/src/
H A DMain.java35 public Object invoke(Object proxy, Method method, Object[] args) { argument
/art/test/616-cha-proxy-method-inline/src/
H A DMain.java35 public Object invoke(Object proxy, Method m, Object[] args) throws Throwable { argument
/art/test/165-lock-owner-proxy/src/
H A DMain.java58 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
108 // proxy invocation.
/art/test/004-JniTest/src/
H A DMain.java250 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
257 SimpleInterface proxy =
263 if (testGetMethodID(proxy.getClass()) == 0) {
/art/tools/wrapagentproperties/
H A Dwrapagentproperties.cc207 // TODO It would be way better to actually set up a full proxy like we did for JavaVM but the
236 LOG(WARNING) << "Could not create jvmtiEnv to proxy!";
317 ProxyJavaVM* proxy = new ProxyJavaVM(vm, agent_lib, map); local
320 return CallNextAgent(start, proxy, agent_options, reserved);
/art/test/098-ddmc/src/
H A DMain.java97 public Object invoke(Object proxy, Method method, Object[] args) {
/art/runtime/arch/arm/
H A Dquick_entrypoints_arm.S1562 * Called by managed code that is attempting to call a method on a proxy class. On entry
1563 * r0 holds the proxy method and r1 holds the receiver; r2 and r3 may contain arguments. The
1564 * frame size of the invoked proxy method agrees with a ref and args callee save frame.
1571 blx artQuickProxyInvokeHandler @ (Method* proxy method, receiver, Thread*, SP)
/art/runtime/arch/mips/
H A Dquick_entrypoints_mips.S2089 * Called by managed code that is attempting to call a method on a proxy class. On entry
2090 * a0 holds the proxy method; a1, a2 and a3 may contain arguments.
2097 jalr $t9 # (Method* proxy method, receiver, Thread*, SP)
/art/runtime/arch/mips64/
H A Dquick_entrypoints_mips64.S1989 * Called by managed code that is attempting to call a method on a proxy class. On entry
1990 * r0 holds the proxy method; r1, r2 and r3 may contain arguments.
1996 jal artQuickProxyInvokeHandler # (Method* proxy method, receiver, Thread*, SP)

Completed in 402 milliseconds