Home
last modified time | relevance | path

Searched refs:interfaces (Results 1 – 8 of 8) sorted by relevance

/art/runtime/
Dproxy_test.cc34 const std::vector<mirror::Class*>& interfaces) in GenerateProxyClass() argument
42 jobjectArray proxyClassInterfaces = soa.Env()->NewObjectArray(interfaces.size(), javaLangClass, in GenerateProxyClass()
45 for (size_t i = 0; i < interfaces.size(); ++i) { in GenerateProxyClass()
47 soa.AddLocalReference<jclass>(interfaces[i])); in GenerateProxyClass()
52 for (mirror::Class* interface : interfaces) { in GenerateProxyClass()
83 for (mirror::Class* interface : interfaces) { in GenerateProxyClass()
123 std::vector<mirror::Class*> interfaces; in TEST_F() local
124 interfaces.push_back(I.Get()); in TEST_F()
125 interfaces.push_back(J.Get()); in TEST_F()
127 GenerateProxyClass(soa, jclass_loader, "$Proxy1234", interfaces))); in TEST_F()
[all …]
Dclass_linker.h332 jobjectArray interfaces, jobject loader, jobjectArray methods,
505 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
516 Handle<mirror::ObjectArray<mirror::Class>> interfaces)
523 Handle<mirror::ObjectArray<mirror::Class>> interfaces)
Ddex_file_verifier.cc1730 const DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(*item); in CheckInterClassDefItem() local
1731 if (interfaces != NULL) { in CheckInterClassDefItem()
1732 uint32_t size = interfaces->Size(); in CheckInterClassDefItem()
1736 LOAD_STRING_BY_TYPE(inf_descriptor, interfaces->GetTypeItem(i).type_idx_, in CheckInterClassDefItem()
1749 uint32_t idx1 = interfaces->GetTypeItem(i).type_idx_; in CheckInterClassDefItem()
1751 uint32_t idx2 = interfaces->GetTypeItem(j).type_idx_; in CheckInterClassDefItem()
Dclass_linker.cc2263 auto interfaces = hs.NewHandle<mirror::ObjectArray<mirror::Class>>(nullptr); in DefineClass() local
2266 if (!LinkClass(self, descriptor, klass, interfaces, &new_class)) { in DefineClass()
3720 jobjectArray interfaces, jobject loader, in CreateProxyClass() argument
3824 hs.NewHandle(soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces))); in CreateProxyClass()
3837 soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces)); in CreateProxyClass()
3871 soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces)); in CreateProxyClass()
4367 Handle<mirror::ObjectArray<mirror::Class>> interfaces, in LinkClass() argument
4374 if (!LinkMethods(self, klass, interfaces)) { in LinkClass()
4453 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def); in LoadSuperAndInterfaces() local
4454 if (interfaces != nullptr) { in LoadSuperAndInterfaces()
[all …]
/art/runtime/native/
Djava_lang_reflect_Proxy.cc27 static jclass Proxy_generateProxy(JNIEnv* env, jclass, jstring name, jobjectArray interfaces, in Proxy_generateProxy() argument
31 mirror::Class* result = class_linker->CreateProxyClass(soa, name, interfaces, loader, methods, in Proxy_generateProxy()
/art/runtime/mirror/
Dclass.cc759 mirror::ObjectArray<mirror::Class>* interfaces = GetInterfaces(); in NumDirectInterfaces() local
760 return interfaces != nullptr ? interfaces->GetLength() : 0; in NumDirectInterfaces()
762 const DexFile::TypeList* interfaces = GetInterfaceTypeList(); in NumDirectInterfaces() local
763 if (interfaces == nullptr) { in NumDirectInterfaces()
766 return interfaces->Size(); in NumDirectInterfaces()
789 mirror::ObjectArray<mirror::Class>* interfaces = klass.Get()->GetInterfaces(); in GetDirectInterface() local
790 DCHECK(interfaces != nullptr); in GetDirectInterface()
791 return interfaces->Get(idx); in GetDirectInterface()
/art/test/044-proxy/
Dexpected.txt53 Proxy interfaces: [interface Quads, interface Colors, interface Trace]
/art/
DNOTICE58 separable from, or merely link (or bind by name) to the interfaces of,