Home
last modified time | relevance | path

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

/art/test/910-methods/src/art/
DTest910.java150 private static Class<?> proxyClass = null; field in Test910
153 if (proxyClass != null) { in getProxyClass()
154 return proxyClass; in getProxyClass()
158 proxyClass = createProxyClass(i); in getProxyClass()
159 String name = proxyClass.getName(); in getProxyClass()
161 return proxyClass; in getProxyClass()
164 return proxyClass; in getProxyClass()
/art/runtime/
Dproxy_test.cc94 Handle<mirror::Class> proxyClass; in TEST_F() local
99 proxyClass = hs.NewHandle( in TEST_F()
103 ASSERT_TRUE(proxyClass != nullptr); in TEST_F()
104 ASSERT_TRUE(proxyClass->IsProxyClass()); in TEST_F()
105 ASSERT_TRUE(proxyClass->IsInitialized()); in TEST_F()
107 EXPECT_TRUE(proxyClass->GetIFieldsPtr() == nullptr); in TEST_F()
109 LengthPrefixedArray<ArtField>* static_fields = proxyClass->GetSFieldsPtr(); in TEST_F()
111 ASSERT_EQ(2u, proxyClass->NumStaticFields()); in TEST_F()
Dproxy_test.h109 ObjPtr<mirror::Class> proxyClass = class_linker->CreateProxyClass( in GenerateProxyClass() local
117 return proxyClass; in GenerateProxyClass()
Dhidden_api_test.cc428 Handle<mirror::Class> proxyClass = hs.NewHandle(proxy_test::GenerateProxyClass( in TEST_F() local
430 ASSERT_TRUE(proxyClass != nullptr); in TEST_F()
431 ASSERT_TRUE(proxyClass->IsProxyClass()); in TEST_F()
432 ASSERT_TRUE(proxyClass->IsInitialized()); in TEST_F()
436 for (auto& m : proxyClass->GetDeclaredVirtualMethods(kRuntimePointerSize)) { in TEST_F()
446 for (size_t i = 0; i < proxyClass->NumStaticFields(); ++i) { in TEST_F()
447 ArtField* f = proxyClass->GetStaticField(i); in TEST_F()
/art/test/044-proxy/src/
DConstructorProxy.java36 Class<?> proxyClass = Proxy.getProxyClass( in runTest() local
40 Constructor<?> constructor = proxyClass.getConstructor(InvocationHandler.class); in runTest()
DBasicTest.java98 Class<?> proxyClass = Proxy.getProxyClass(Shapes.class.getClassLoader(), in createProxy() local
100 Main.registerProxyClassName(proxyClass.getCanonicalName()); in createProxy()
105 Constructor<?> cons = proxyClass.getConstructor(InvocationHandler.class); in createProxy()
/art/test/912-classes/src-art/art/
DTest912.java469 private static Class<?> proxyClass = null; field in Test912
472 if (proxyClass != null) { in getProxyClass()
473 return proxyClass; in getProxyClass()
477 proxyClass = createProxyClass(i); in getProxyClass()
478 String name = proxyClass.getName(); in getProxyClass()
480 return proxyClass; in getProxyClass()
483 return proxyClass; in getProxyClass()