Home
last modified time | relevance | path

Searched refs:ProxyBuilder (Results 1 – 7 of 7) sorted by relevance

/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/
DProxyBuilderTest.java361 return ProxyBuilder.callSuper(proxy, method, args); in invoke()
459 ProxyBuilder.forClass(TwoConstructors.class) in testWithoutInvocationHandler_ThrowsIllegalArgumentException()
520 return ProxyBuilder.callSuper(proxy, method, args); in testSometimesDelegateToSuper()
537 return ProxyBuilder.callSuper(o, method, objects); in testCallSuperThrows()
616 ProxyBuilder.setInvocationHandler(a, null); in testCallAbstractSuperMethod()
669 assertSame(fakeHandler, ProxyBuilder.getInvocationHandler(proxy)); in testGetInvocationHandler_NormalOperation()
674 ProxyBuilder.getInvocationHandler(new Object()); in testGetInvocationHandler_NotAProxy()
716 HasMultipleConstructors a = ProxyBuilder.forClass(HasMultipleConstructors.class) in testCachingWithMultipleConstructors()
722 HasMultipleConstructors b = ProxyBuilder.forClass(HasMultipleConstructors.class) in testCachingWithMultipleConstructors()
730 HasMultipleConstructors c = ProxyBuilder.forClass(HasMultipleConstructors.class) in testCachingWithMultipleConstructors()
[all …]
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DDexmakerMockMaker.java19 import com.android.dx.stock.ProxyBuilder;
102 ProxyBuilder builder = ProxyBuilder.forClass(typeToMock) in createMock()
116 ProxyBuilder.setInvocationHandler(mock, invocationHandler); in createMock()
190 if (ProxyBuilder.isProxyClass(mock.getClass())) {
191 InvocationHandler invocationHandler = ProxyBuilder.getInvocationHandler(mock);
DInvocationHandlerAdapter.java19 import com.android.dx.stock.ProxyBuilder;
57 return ProxyBuilder.callSuper(proxy, method, rawArgs); in invoke()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java122 public final class ProxyBuilder<T> { class
139 private ClassLoader parentClassLoader = ProxyBuilder.class.getClassLoader();
149 private ProxyBuilder(Class<T> clazz) { in ProxyBuilder() method in ProxyBuilder
153 public static <T> ProxyBuilder<T> forClass(Class<T> clazz) { in forClass()
154 return new ProxyBuilder<T>(clazz); in forClass()
162 public ProxyBuilder<T> parentClassLoader(ClassLoader parent) { in parentClassLoader()
167 public ProxyBuilder<T> handler(InvocationHandler handler) { in handler()
177 public ProxyBuilder<T> dexCache(File dexCacheParent) { in dexCache()
183 public ProxyBuilder<T> implementing(Class<?>... interfaces) { in implementing()
196 public ProxyBuilder<T> constructorArgValues(Object... constructorArgValues) { in constructorArgValues()
[all …]
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DInvocationHandlerAdapter.java19 import com.android.dx.stock.ProxyBuilder;
117 return ProxyBuilder.callSuper(proxy, method, rawArgs);
DInlineDexmakerMockMaker.java23 import com.android.dx.stock.ProxyBuilder;
24 import com.android.dx.stock.ProxyBuilder.MethodSetEntry;
275 ProxyBuilder builder = ProxyBuilder.forClass(typeToMock).implementing in createMock()
297 ProxyBuilder.setInvocationHandler(mock, handlerAdapter); in createMock()
/external/dexmaker/
DREADME.md14 …s proxies](http://dexmaker.googlecode.com/git/javadoc/com/google/dexmaker/stock/ProxyBuilder.html).