Home
last modified time | relevance | path

Searched refs:interfaces (Results 1 – 16 of 16) 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 …]
Ddex_file_verifier.cc1993 const DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(*item); in CheckInterClassDefItem() local
1994 if (interfaces != nullptr) { in CheckInterClassDefItem()
1995 uint32_t size = interfaces->Size(); in CheckInterClassDefItem()
2000 if (UNLIKELY(interfaces->GetTypeItem(i).type_idx_ == item->class_idx_)) { in CheckInterClassDefItem()
2009 dex_file_->FindClassDef(interfaces->GetTypeItem(i).type_idx_); in CheckInterClassDefItem()
2018 interfaces->GetTypeItem(i).type_idx_); in CheckInterClassDefItem()
2025 LOAD_STRING_BY_TYPE(inf_descriptor, interfaces->GetTypeItem(i).type_idx_, in CheckInterClassDefItem()
2038 uint32_t idx1 = interfaces->GetTypeItem(i).type_idx_; in CheckInterClassDefItem()
2040 uint32_t idx2 = interfaces->GetTypeItem(j).type_idx_; in CheckInterClassDefItem()
Dclass_linker.h479 jobjectArray interfaces,
820 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
834 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
941 Handle<mirror::ObjectArray<mirror::Class>> interfaces)
Dclass_linker.cc2525 auto interfaces = hs.NewHandle<mirror::ObjectArray<mirror::Class>>(nullptr); in DefineClass() local
2528 if (!LinkClass(self, descriptor, klass, interfaces, &h_new_class)) { in DefineClass()
4125 jobjectArray interfaces, in CreateProxyClass() argument
4224 hs.NewHandle(soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces))); in CreateProxyClass()
4236 soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces)); in CreateProxyClass()
4269 soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces)); in CreateProxyClass()
5059 Handle<mirror::ObjectArray<mirror::Class>> interfaces, in LinkClass() argument
5068 if (!LinkMethods(self, klass, interfaces, imt)) { in LinkClass()
5386 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def); in LoadSuperAndInterfaces() local
5387 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/960-default-smali/
Dinfo.txt17 <Add new classes/interfaces>
18 <Add these classes/interfaces to ./smali/classes.xml>
Dexpected.txt50 F-virtual A.SayHiTwice()='We can override both interfaces'
51 F-interface Attendant.SayHiTwice()='We can override both interfaces'
52 F-virtual F.SayHiTwice()='We can override both interfaces'
53 F-interface Greeter.SayHiTwice()='We can override both interfaces'
/art/test/974-verify-interface-super/
Dinfo.txt1 Test that we do the right thing with invoke-super on interfaces when there are
/art/test/975-iface-private/
Dinfo.txt5 This test checks that synthetic private methods in interfaces work correctly.
/art/test/435-new-instance/
Dinfo.txt2 - InstantiationError on interfaces and abstract classes
/art/test/utils/python/
Dgenerate_java_main.py227 yield dat.interfaces[i2]
228 yield from get_ifaces(dat.interfaces[i2])
/art/runtime/openjdkjvm/
DNOTICE4 This file implements interfaces from the file jvm.h. This implementation
/art/runtime/mirror/
Dclass-inl.h900 mirror::ObjectArray<mirror::Class>* interfaces = GetInterfaces(); in NumDirectInterfaces() local
901 return interfaces != nullptr ? interfaces->GetLength() : 0; in NumDirectInterfaces()
903 const DexFile::TypeList* interfaces = GetInterfaceTypeList(); in NumDirectInterfaces() local
904 if (interfaces == nullptr) { in NumDirectInterfaces()
907 return interfaces->Size(); in NumDirectInterfaces()
Dclass.cc862 mirror::ObjectArray<mirror::Class>* interfaces = klass.Get()->GetInterfaces(); in GetDirectInterface() local
863 DCHECK(interfaces != nullptr); in GetDirectInterface()
864 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,