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.cc346 Handle<mirror::Class> proxyClass = hs.NewHandle(proxy_test::GenerateProxyClass( in TEST_F() local
348 ASSERT_TRUE(proxyClass != nullptr); in TEST_F()
349 ASSERT_TRUE(proxyClass->IsProxyClass()); in TEST_F()
350 ASSERT_TRUE(proxyClass->IsInitialized()); in TEST_F()
354 for (auto& m : proxyClass->GetDeclaredVirtualMethods(kRuntimePointerSize)) { in TEST_F()
364 for (size_t i = 0; i < proxyClass->NumStaticFields(); ++i) { in TEST_F()
365 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.java440 private static Class<?> proxyClass = null; field in Test912
443 if (proxyClass != null) { in getProxyClass()
444 return proxyClass; in getProxyClass()
448 proxyClass = createProxyClass(i); in getProxyClass()
449 String name = proxyClass.getName(); in getProxyClass()
451 return proxyClass; in getProxyClass()
454 return proxyClass; in getProxyClass()