/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | ByteBuddyCrossClassLoaderSerializationSupport.java | 272 … Class<?> proxyClass = ((ClassCreatingMockMaker) Plugins.getMockMaker()).createMockType( in resolveClass() local 278 hackClassNameToMatchNewlyCreatedClass(desc, proxyClass); in resolveClass() 279 return proxyClass; in resolveClass() 307 …sNameToMatchNewlyCreatedClass(ObjectStreamClass descInstance, Class<?> proxyClass) throws ObjectSt… in hackClassNameToMatchNewlyCreatedClass() argument 310 setField(descInstance, classNameField,proxyClass.getCanonicalName()); in hackClassNameToMatchNewlyCreatedClass()
|
/external/javassist/src/test/test/javassist/proxy/ |
D | ProxySerializationTest.java | 26 Class proxyClass = factory.createClass(new TestFilter()); in testSerialization() local 34 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); in testSerialization() 57 proxyClass = factory.createClass(new TestFilter()); in testSerialization() 61 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); in testSerialization()
|
D | ProxyCacheGCTest.java | 105 Class proxyClass = factory.createClass(); in createProxy() local 106 Object target = proxyClass.getConstructor().newInstance(); in createProxy()
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | AbstractInvocationHandler.java | 135 private static boolean isProxyOfSameInterfaces(Object arg, Class<?> proxyClass) { in isProxyOfSameInterfaces() argument 136 return proxyClass.isInstance(arg) in isProxyOfSameInterfaces() 143 && Arrays.equals(arg.getClass().getInterfaces(), proxyClass.getInterfaces())); in isProxyOfSameInterfaces()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | AbstractInvocationHandler.java | 135 private static boolean isProxyOfSameInterfaces(Object arg, Class<?> proxyClass) { in isProxyOfSameInterfaces() argument 136 return proxyClass.isInstance(arg) in isProxyOfSameInterfaces() 143 && Arrays.equals(arg.getClass().getInterfaces(), proxyClass.getInterfaces())); in isProxyOfSameInterfaces()
|
/external/javassist/src/test/javassist/proxyfactory/ |
D | ProxyFactoryTest.java | 20 Class proxyClass = fact.createClass(); in testMethodHandlers() local 25 MyCls myCls = (MyCls) proxyClass.getConstructor().newInstance(); in testMethodHandlers() 37 Class proxyClass = fact.createClass(); in testSerialize() local 42 MyCls myCls = (MyCls) proxyClass.getConstructor().newInstance(); in testSerialize()
|
/external/javassist/src/main/javassist/util/proxy/ |
D | ProxyObjectInputStream.java | 88 Class<?> proxyClass = factory.createClass(signature); in readClassDescriptor() local 89 return ObjectStreamClass.lookup(proxyClass); in readClassDescriptor()
|
D | ProxyFactory.java | 365 Reference<Class<?>> proxyClass; field in ProxyFactory.ProxyDetails 372 ProxyDetails(byte[] signature, Class<?> proxyClass, boolean isUseWriteReplace) in ProxyDetails() argument 375 this.proxyClass = new WeakReference<Class<?>>(proxyClass); in ProxyDetails() 581 Reference<Class<?>> reference = details.proxyClass; in createClass2() 1005 private static void setInterfaces(ClassFile cf, Class<?>[] interfaces, Class<?> proxyClass) { in setInterfaces() argument 1006 String setterIntf = proxyClass.getName(); in setInterfaces()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ProxyMaker.java | 77 … final Class<?> proxyClass = UNSAFE.defineAnonymousClass(targetClass, writer.toByteArray(), null); in createProxyFactory() local 80 final Field field = proxyClass.getDeclaredField(TARGET_FIELD); in createProxyFactory() 84 Object proxy = UNSAFE.allocateInstance(proxyClass); in createProxyFactory()
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/ |
D | ProxyBuilder.java | 236 Class<? extends T> proxyClass = buildProxyClass(); in build() local 239 constructor = proxyClass.getConstructor(constructorArgTypes); in build() 282 Class<? extends T> proxyClass = (Class) generatedProxyClasses.get(cacheKey); in buildProxyClass() local 283 if (proxyClass != null) { in buildProxyClass() 284 return proxyClass; // cache hit! in buildProxyClass() 340 proxyClass = loadClass(classLoader, generatedName); in buildProxyClass() 349 setMethodsStaticField(proxyClass, methodsToProxy); in buildProxyClass() 350 generatedProxyClasses.put(cacheKey, proxyClass); in buildProxyClass() 351 return proxyClass; in buildProxyClass() 375 private static void setMethodsStaticField(Class<?> proxyClass, Method[] methodsToProxy) { in setMethodsStaticField() argument [all …]
|
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
D | DexmakerMockMaker.java | 114 Class<? extends T> proxyClass = builder.buildProxyClass(); in createMock() local 115 T mock = unsafeAllocator.newInstance(proxyClass); in createMock()
|
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
D | InlineDexmakerMockMaker.java | 269 Class<? extends T> proxyClass; in createMock() local 285 proxyClass = builder.buildProxyClass(); in createMock() 293 mock = instantiator.newInstance(proxyClass); in createMock() 296 + proxyClass.getSuperclass().getSimpleName() + "'", e); in createMock()
|
/external/libchrome/mojo/public/js/ |
D | bindings.js | 143 this.proxy_ = new this.interfaceType_.proxyClass( 382 this.proxy_ = new this.interfaceType_.proxyClass(
|
/external/javassist/src/test/testproxy/ |
D | ProxyFactoryPerformanceTest.java | 111 Class proxyClass = factory.createClass(); in callCreateClass() local
|
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/ |
D | interface_definition.tmpl | 221 proxyClass: {{interface.name}}Proxy,
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/ |
D | ProxyBuilderTest.java | 1122 Class<?> proxyClass = proxyFor(parentClass).buildProxyClass(); in getMethodsForProxyClass() local 1124 for (Field f : proxyClass.getDeclaredFields()) { in getMethodsForProxyClass()
|