Searched refs:InvocationHandler (Results 1 – 11 of 11) sorted by relevance
| /libcore/support/src/test/java/tests/io/ |
| D | MockOs.java | 21 import java.lang.reflect.InvocationHandler; 37 private final InheritableThreadLocal<Map<String, Deque<InvocationHandler>>> handlers 38 = new InheritableThreadLocal<Map<String, Deque<InvocationHandler>>>() { 39 @Override protected Map<String, Deque<InvocationHandler>> initialValue() { 40 return new HashMap<String, Deque<InvocationHandler>>(); 45 private final InvocationHandler delegateHandler = new InvocationHandler() { 55 private final InvocationHandler invocationHandler = new InvocationHandler() { 58 InvocationHandler handler = getHandlers(method.getName()).poll(); 88 public Deque<InvocationHandler> getHandlers(String methodName) { in getHandlers() 89 Map<String, Deque<InvocationHandler>> threadFaults = handlers.get(); in getHandlers() [all …]
|
| /libcore/luni/src/test/java/libcore/java/lang/reflect/ |
| D | ProxyTest.java | 22 import java.lang.reflect.InvocationHandler; 32 private final InvocationHandler returnHandler = new TestInvocationHandler(); 33 private final InvocationHandler throwHandler = new InvocationHandler() { 60 InvocationHandler invocationHandlerB = (InvocationHandler) loaderB.loadClass( in testClassLoaderDoesNotNeedToSeeInvocationHandlerLoader() 248 InvocationHandler handler = new InvocationHandler() { in testEquals() 261 InvocationHandler handler = new InvocationHandler() { in testHashCode() 271 InvocationHandler handler = new InvocationHandler() { in testToString() 281 InvocationHandler handler = new InvocationHandler() { in testReturnTypeDoesNotSatisfyAllConstraintsWithLenientCaller() 293 InvocationHandler handler = new InvocationHandler() { in testReturnTypeDoesNotSatisfyAllConstraintsWithStrictCaller() 394 public static class TestInvocationHandler implements InvocationHandler { [all …]
|
| D | AnnotationsTest.java | 27 import java.lang.reflect.InvocationHandler; 200 InvocationHandler emptyInvocationHandler = new InvocationHandler() { in testProxyMethodGetExceptions()
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
| D | ProxyTest.java | 25 import java.lang.reflect.InvocationHandler; 54 class Broken1Invoke implements InvocationHandler { 62 protected ProxyCoonstructorTest(InvocationHandler h) { in ProxyCoonstructorTest() 103 assertNotNull(new ProxyCoonstructorTest(new InvocationHandler() { in test_ProxyLjava_lang_reflect_InvocationHandler() 121 Support_Proxy_I2.class }, new InvocationHandler() { in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 195 Proxy fake = new Proxy(new InvocationHandler() { in test_isProxyClassLjava_lang_Class() 220 InvocationHandler handler = new InvocationHandler() { in test_getInvocationHandlerLjava_lang_Object() 296 public static class TestProxyHandler implements InvocationHandler {
|
| /libcore/libart/src/main/java/java/lang/reflect/ |
| D | Proxy.java | 70 protected InvocationHandler h; 83 protected Proxy(InvocationHandler h) { in Proxy() 224 InvocationHandler invocationHandler) in newProxyInstance() 233 .getConstructor(InvocationHandler.class) in newProxyInstance() 273 public static InvocationHandler getInvocationHandler(Object proxy) in getInvocationHandler() 393 private static native void constructorPrototype(InvocationHandler h); in constructorPrototype() 396 InvocationHandler h = proxy.h; in invoke()
|
| /libcore/luni/src/main/java/java/lang/reflect/ |
| D | InvocationHandler.java | 25 public interface InvocationHandler { interface
|
| /libcore/luni/src/test/java/libcore/javax/net/ssl/ |
| D | PSKKeyManagerProxy.java | 19 import java.lang.reflect.InvocationHandler; 31 class PSKKeyManagerProxy implements InvocationHandler {
|
| /libcore/luni/src/test/java/libcore/java/io/ |
| D | SerializationTest.java | 27 import java.lang.reflect.InvocationHandler; 372 public static class SerializableInvocationHandler implements InvocationHandler, Serializable { 402 implements InvocationHandler /*, Serializable*/ {
|
| /libcore/luni/src/main/java/libcore/reflect/ |
| D | AnnotationFactory.java | 25 import java.lang.reflect.InvocationHandler; 49 public final class AnnotationFactory implements InvocationHandler, Serializable {
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
| D | HashMapTest.java | 23 import java.lang.reflect.InvocationHandler; 68 class MockHandler implements InvocationHandler {
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
| D | SerializationStressTest4.java | 24 import java.lang.reflect.InvocationHandler; 1556 static class MyInvocationHandler implements InvocationHandler, Serializable { 1595 InvocationHandler handler = new MyInvocationHandler(); in test_writeObject_Proxy()
|