Home
last modified time | relevance | path

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

12

/art/runtime/
Dproxy_test.cc47 std::vector<mirror::Class*> interfaces; in TEST_F() local
48 interfaces.push_back(I.Get()); in TEST_F()
49 interfaces.push_back(J.Get()); in TEST_F()
51 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces))); in TEST_F()
52 interfaces.clear(); // Don't least possibly stale objects in the array as good practice. in TEST_F()
83 std::vector<mirror::Class*> interfaces; in TEST_F() local
84 interfaces.push_back(I.Get()); in TEST_F()
85 interfaces.push_back(J.Get()); in TEST_F()
87 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces)); in TEST_F()
134 std::vector<mirror::Class*> interfaces; in TEST_F() local
[all …]
Dproxy_test.h38 const std::vector<mirror::Class*>& interfaces) in GenerateProxyClass() argument
46 jobjectArray proxyClassInterfaces = soa.Env()->NewObjectArray(interfaces.size(), javaLangClass, in GenerateProxyClass()
49 for (size_t i = 0; i < interfaces.size(); ++i) { in GenerateProxyClass()
51 soa.AddLocalReference<jclass>(interfaces[i])); in GenerateProxyClass()
56 for (mirror::Class* interface : interfaces) { in GenerateProxyClass()
91 for (mirror::Class* interface : interfaces) { in GenerateProxyClass()
Dhidden_api_test.cc328 std::vector<mirror::Class*> interfaces; in TEST_F() local
329 interfaces.push_back(h_iface.Get()); in TEST_F()
331 soa, jclass_loader_, runtime_->GetClassLinker(), "$Proxy1234", interfaces)); in TEST_F()
Dclass_linker.h532 jobjectArray interfaces,
996 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
1010 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
1123 Handle<mirror::ObjectArray<mirror::Class>> interfaces)
Dclass_linker.cc2786 auto interfaces = hs.NewHandle<mirror::ObjectArray<mirror::Class>>(nullptr); in DefineClass() local
2789 if (!LinkClass(self, descriptor, klass, interfaces, &h_new_class)) { in DefineClass()
4351 jobjectArray interfaces, in CreateProxyClass() argument
4456 hs.NewHandle(soa.Decode<mirror::ObjectArray<mirror::Class>>(interfaces))); in CreateProxyClass()
4468 soa.Decode<mirror::ObjectArray<mirror::Class>>(interfaces)); in CreateProxyClass()
4512 soa.Decode<mirror::ObjectArray<mirror::Class>>(interfaces)); in CreateProxyClass()
5332 Handle<mirror::ObjectArray<mirror::Class>> interfaces, in LinkClass() argument
5343 if (!LinkMethods(self, klass, interfaces, &new_conflict, imt_data)) { in LinkClass()
5502 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def); in LoadSuperAndInterfaces() local
5503 if (interfaces != nullptr) { in LoadSuperAndInterfaces()
[all …]
/art/runtime/native/
Djava_lang_reflect_Proxy.cc32 static jclass Proxy_generateProxy(JNIEnv* env, jclass, jstring name, jobjectArray interfaces, in Proxy_generateProxy() argument
37 soa, name, interfaces, loader, methods, throws)); in Proxy_generateProxy()
/art/tools/veridex/
Dresolver.cc178 const DexFile::TypeList* interfaces = other_dex_file.GetInterfacesList(*kls.GetClassDef()); in LookupMethodIn() local
179 if (interfaces != nullptr) { in LookupMethodIn()
180 for (size_t i = 0; i < interfaces->Size(); i++) { in LookupMethodIn()
181 dex::TypeIndex idx = interfaces->GetTypeItem(i).type_idx_; in LookupMethodIn()
225 const DexFile::TypeList* interfaces = other_dex_file.GetInterfacesList(*kls.GetClassDef()); in LookupFieldIn() local
226 if (interfaces != nullptr) { in LookupFieldIn()
227 for (size_t i = 0; i < interfaces->Size(); i++) { in LookupFieldIn()
228 dex::TypeIndex idx = interfaces->GetTypeItem(i).type_idx_; in LookupFieldIn()
/art/test/616-cha-proxy-method-inline/src/
DMain.java22 static Class<?>[] interfaces = {Foo.class}; field in DebugProxy
27 interfaces, in newInstance()
/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/1910-transform-with-default/
Dinfo.txt4 interfaces.
/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/989-method-trace-throw/
Dinfo.txt12 * all super-classes and super-interfaces of the above types.
/art/test/988-method-trace/
Dinfo.txt12 * all super-classes and super-interfaces of the above types.
/art/test/utils/python/
Dgenerate_java_main.py231 yield dat.interfaces[i2]
232 yield from get_ifaces(dat.interfaces[i2])
/art/openjdkjvm/
DNOTICE4 This file implements interfaces from the file jvm.h. This implementation
/art/openjdkjvmti/
DNOTICE4 This file implements interfaces from the file jvmti.h. This implementation
Dti_redefine.cc784 const art::DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(def); in CheckClass() local
785 if (interfaces == nullptr) { in CheckClass()
793 if (current_interfaces == nullptr || current_interfaces->Size() != interfaces->Size()) { in CheckClass()
799 for (uint32_t i = 0; i < interfaces->Size(); i++) { in CheckClass()
801 dex_file_->StringByTypeIdx(interfaces->GetTypeItem(i).type_idx_), in CheckClass()
/art/dt_fd_forward/
DNOTICE4 This file implements interfaces from the file jdwpTransport.h. This
/art/runtime/mirror/
Dclass-inl.h980 ObjectArray<Class>* interfaces = GetProxyInterfaces(); in NumDirectInterfaces() local
981 return interfaces != nullptr ? interfaces->GetLength() : 0; in NumDirectInterfaces()
983 const DexFile::TypeList* interfaces = GetInterfaceTypeList(); in NumDirectInterfaces() local
984 if (interfaces == nullptr) { in NumDirectInterfaces()
987 return interfaces->Size(); in NumDirectInterfaces()
/art/libdexfile/dex/
Ddex_file_verifier.cc2338 const DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(*item); in CheckInterClassDefItem() local
2339 if (interfaces != nullptr) { in CheckInterClassDefItem()
2340 uint32_t size = interfaces->Size(); in CheckInterClassDefItem()
2345 if (UNLIKELY(interfaces->GetTypeItem(i).type_idx_ == item->class_idx_)) { in CheckInterClassDefItem()
2354 dex_file_->FindClassDef(interfaces->GetTypeItem(i).type_idx_); in CheckInterClassDefItem()
2363 interfaces->GetTypeItem(i).type_idx_.index_); in CheckInterClassDefItem()
2370 LOAD_STRING_BY_TYPE(inf_descriptor, interfaces->GetTypeItem(i).type_idx_, in CheckInterClassDefItem()
2383 dex::TypeIndex idx1 = interfaces->GetTypeItem(i).type_idx_; in CheckInterClassDefItem()
2385 dex::TypeIndex idx2 = interfaces->GetTypeItem(j).type_idx_; in CheckInterClassDefItem()
/art/dexlayout/
Ddexlayout.cc1438 const dex_ir::TypeList* interfaces = class_def->Interfaces(); in DumpClass() local
1439 if (interfaces != nullptr) { in DumpClass()
1440 const dex_ir::TypeIdVector* interfaces_vector = interfaces->GetTypeList(); in DumpClass()
1626 const dex_ir::TypeList* interfaces = class_def->Interfaces(); in LayoutStringData() local
1627 if (interfaces != nullptr) { in LayoutStringData()
1628 for (const dex_ir::TypeId* interface_type : *interfaces->GetTypeList()) { in LayoutStringData()
/art/test/044-proxy/
Dexpected.txt57 Proxy interfaces: [interface Quads, interface Colors, interface Trace]

12