Home
last modified time | relevance | path

Searched refs:newProxy (Results 1 – 21 of 21) sorted by relevance

/external/javassist/src/test/test/javassist/proxy/
DProxySerializationTest.java43 TestClass newProxy = (TestClass)in.readObject(); in testSerialization() local
45 assertTrue("new name should be null", newProxy.getName() == null); in testSerialization()
47 assertTrue("classes should be equal", newProxy.getClass() == proxy.getClass()); in testSerialization()
70 TestClass newProxy = (TestClass)in.readObject(); in testSerialization() local
72 assertTrue("names should be equal", proxy.getName().equals(newProxy.getName())); in testSerialization()
74 assertTrue("classes should still be equal", newProxy.getClass() == proxy.getClass()); in testSerialization()
/external/guava/guava-tests/test/com/google/common/reflect/
DAbstractInvocationHandlerTest.java85 return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate)); in newDelegatingList()
90 return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate)); in newDelegatingListWithEquals()
95 return Reflection.newProxy(Iterable.class, new DelegatingInvocationHandlerWithEquals(delegate)); in newDelegatingIterableWithEquals()
100 return Reflection.newProxy(List.class, new SubHandler1(delegate)); in newProxyWithSubHandler1()
105 return Reflection.newProxy(List.class, new SubHandler2(delegate)); in newProxyWithSubHandler2()
DReflectionTest.java39 Runnable runnable = Reflection.newProxy(Runnable.class, X_RETURNER); in testNewProxy()
45 Reflection.newProxy(Object.class, X_RETURNER); in testNewProxyCantWorkOnAClass()
/external/guava/guava-testlib/src/com/google/common/testing/
DForwardingWrapperTester.java129 T proxy = Reflection.newProxy(interfaceType, new AbstractInvocationHandler() { in testExceptionPropagation()
151 T instance = generator.newProxy(interfaceType); in testEquals()
154 .addEqualityGroup(wrapperFunction.apply(generator.newProxy(interfaceType))) in testEquals()
161 T proxy = new FreshValueGenerator().newProxy(interfaceType); in testToString()
204 T proxy = Reflection.newProxy(interfaceType, this); in testInteraction()
DDummyProxy.java46 final <T> T newProxy(TypeToken<T> interfaceType) { in newProxy() method in DummyProxy
DFreshValueGenerator.java219 return newProxy(rawType); in defaultGenerate()
224 final <T> T newProxy(final Class<T> interfaceType) { in newProxy() method in FreshValueGenerator
225 return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType)); in newProxy()
DNullPointerTester.java445 }.newProxy(type);
DClassSanityTester.java745 return new SerializableDummyProxy(this).newProxy(type); in getDummyValue()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DSimpleTimeLimiterTest.java121 Sample proxy = service.newProxy( in testGoodMethodWithEnoughTime()
131 Sample proxy = service.newProxy( in testGoodMethodWithNotEnoughTime()
149 Sample proxy = service.newProxy( in testBadMethodWithEnoughTime()
162 Sample proxy = service.newProxy( in testBadMethodWithNotEnoughTime()
/external/guava/guava/src/com/google/common/util/concurrent/
DSimpleTimeLimiter.java84 public <T> T newProxy(final T target, Class<T> interfaceType, in newProxy() method in SimpleTimeLimiter
115 return newProxy(interfaceType, handler); in newProxy()
189 private static <T> T newProxy( in newProxy() method in SimpleTimeLimiter
DTimeLimiter.java78 <T> T newProxy(T target, Class<T> interfaceType, in newProxy() method
DFakeTimeLimiter.java39 public <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, in newProxy() method in FakeTimeLimiter
/external/guava/guava/src/com/google/common/reflect/
DReflection.java86 public static <T> T newProxy( in newProxy() method in Reflection
DTypes.java329 TypeVariable<D> typeVariable = Reflection.newProxy( in newTypeVariableImpl()
/external/guice/lib/build/
Dguava-testlib-16.0.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/testng/ant/3rdparty/
Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...