Home
last modified time | relevance | path

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

/art/runtime/
Dproxy_test.cc36 const std::vector<mirror::Class*>& interfaces) in GenerateProxyClass() argument
44 jobjectArray proxyClassInterfaces = soa.Env()->NewObjectArray(interfaces.size(), javaLangClass, in GenerateProxyClass()
47 for (size_t i = 0; i < interfaces.size(); ++i) { in GenerateProxyClass()
49 soa.AddLocalReference<jclass>(interfaces[i])); in GenerateProxyClass()
54 for (mirror::Class* interface : interfaces) { in GenerateProxyClass()
81 for (mirror::Class* interface : interfaces) { in GenerateProxyClass()
117 std::vector<mirror::Class*> interfaces; in TEST_F() local
118 interfaces.push_back(I.Get()); in TEST_F()
119 interfaces.push_back(J.Get()); in TEST_F()
121 GenerateProxyClass(soa, jclass_loader, "$Proxy1234", interfaces))); in TEST_F()
[all …]
Dclass_linker.h386 jobjectArray interfaces, jobject loader, jobjectArray methods,
581 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
592 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
600 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
Ddex_file_verifier.cc1757 const DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(*item); in CheckInterClassDefItem() local
1758 if (interfaces != nullptr) { in CheckInterClassDefItem()
1759 uint32_t size = interfaces->Size(); in CheckInterClassDefItem()
1763 LOAD_STRING_BY_TYPE(inf_descriptor, interfaces->GetTypeItem(i).type_idx_, in CheckInterClassDefItem()
1776 uint32_t idx1 = interfaces->GetTypeItem(i).type_idx_; in CheckInterClassDefItem()
1778 uint32_t idx2 = interfaces->GetTypeItem(j).type_idx_; in CheckInterClassDefItem()
Dclass_linker.cc1891 auto interfaces = hs.NewHandle<mirror::ObjectArray<mirror::Class>>(nullptr); in DefineClass() local
1894 if (!LinkClass(self, descriptor, klass, interfaces, &h_new_class)) { in DefineClass()
3268 jobjectArray interfaces, jobject loader, in CreateProxyClass() argument
3363 hs.NewHandle(soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces))); in CreateProxyClass()
3375 soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces)); in CreateProxyClass()
3408 soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces)); in CreateProxyClass()
4034 Handle<mirror::ObjectArray<mirror::Class>> interfaces, in LinkClass() argument
4043 if (!LinkMethods(self, klass, interfaces, imt)) { in LinkClass()
4301 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def); in LoadSuperAndInterfaces() local
4302 if (interfaces != nullptr) { in LoadSuperAndInterfaces()
[all …]
/art/runtime/native/
Djava_lang_reflect_Proxy.cc29 static jclass Proxy_generateProxy(JNIEnv* env, jclass, jstring name, jobjectArray interfaces, in Proxy_generateProxy() argument
34 soa, name, interfaces, loader, methods, throws)); in Proxy_generateProxy()
/art/test/435-new-instance/
Dinfo.txt2 - InstantiationError on interfaces and abstract classes
/art/runtime/mirror/
Dclass-inl.h790 mirror::ObjectArray<mirror::Class>* interfaces = GetInterfaces(); in NumDirectInterfaces() local
791 return interfaces != nullptr ? interfaces->GetLength() : 0; in NumDirectInterfaces()
793 const DexFile::TypeList* interfaces = GetInterfaceTypeList(); in NumDirectInterfaces() local
794 if (interfaces == nullptr) { in NumDirectInterfaces()
797 return interfaces->Size(); in NumDirectInterfaces()
Dclass.cc764 mirror::ObjectArray<mirror::Class>* interfaces = klass.Get()->GetInterfaces(); in GetDirectInterface() local
765 DCHECK(interfaces != nullptr); in GetDirectInterface()
766 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,