• Home
  • Raw
  • Download

Lines Matching refs:mirror

34   mirror::Class* GenerateProxyClass(ScopedObjectAccess& soa, jobject jclass_loader,  in GenerateProxyClass()
36 const std::vector<mirror::Class*>& interfaces) in GenerateProxyClass()
38mirror::Class* javaLangObject = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"); in GenerateProxyClass()
41 jclass javaLangClass = soa.AddLocalReference<jclass>(mirror::Class::GetJavaLangClass()); in GenerateProxyClass()
54 for (mirror::Class* interface : interfaces) { in GenerateProxyClass()
58 methods_count, soa.AddLocalReference<jclass>(mirror::Method::StaticClass()), nullptr); in GenerateProxyClass()
68 mirror::Method::CreateFromArtMethod(soa.Self(), method))); in GenerateProxyClass()
73 mirror::Method::CreateFromArtMethod(soa.Self(), method))); in GenerateProxyClass()
79 mirror::Method::CreateFromArtMethod(soa.Self(), method))); in GenerateProxyClass()
81 for (mirror::Class* interface : interfaces) { in GenerateProxyClass()
85 mirror::Method::CreateFromArtMethod(soa.Self(), &m))); in GenerateProxyClass()
94 mirror::Class* proxyClass = class_linker_->CreateProxyClass( in GenerateProxyClass()
107 Handle<mirror::ClassLoader> class_loader( in TEST_F()
108 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in TEST_F()
110 Handle<mirror::Class> I(hs.NewHandle( in TEST_F()
112 Handle<mirror::Class> J(hs.NewHandle( in TEST_F()
117 std::vector<mirror::Class*> interfaces; in TEST_F()
120 Handle<mirror::Class> proxy_class(hs.NewHandle( in TEST_F()
128 EXPECT_EQ(I.Get(), mirror::Class::GetDirectInterface(soa.Self(), proxy_class, 0)); in TEST_F()
129 EXPECT_EQ(J.Get(), mirror::Class::GetDirectInterface(soa.Self(), proxy_class, 1)); in TEST_F()
141 Handle<mirror::ClassLoader> class_loader( in TEST_F()
142 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in TEST_F()
144 Handle<mirror::Class> I(hs.NewHandle( in TEST_F()
146 Handle<mirror::Class> J(hs.NewHandle( in TEST_F()
151 Handle<mirror::Class> proxyClass; in TEST_F()
153 std::vector<mirror::Class*> interfaces; in TEST_F()
169 Handle<mirror::Class> interfacesFieldClass( in TEST_F()
172 Handle<mirror::Class> throwsFieldClass( in TEST_F()
199 Handle<mirror::ClassLoader> class_loader( in TEST_F()
200 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in TEST_F()
202 Handle<mirror::Class> proxyClass0; in TEST_F()
203 Handle<mirror::Class> proxyClass1; in TEST_F()
205 std::vector<mirror::Class*> interfaces; in TEST_F()
229 Handle<mirror::Field> field00 = in TEST_F()
230 hs.NewHandle(mirror::Field::CreateFromArtField(soa.Self(), &static_fields0->At(0), true)); in TEST_F()
231 Handle<mirror::Field> field01 = in TEST_F()
232 hs.NewHandle(mirror::Field::CreateFromArtField(soa.Self(), &static_fields0->At(1), true)); in TEST_F()
233 Handle<mirror::Field> field10 = in TEST_F()
234 hs.NewHandle(mirror::Field::CreateFromArtField(soa.Self(), &static_fields1->At(0), true)); in TEST_F()
235 Handle<mirror::Field> field11 = in TEST_F()
236 hs.NewHandle(mirror::Field::CreateFromArtField(soa.Self(), &static_fields1->At(1), true)); in TEST_F()