Home
last modified time | relevance | path

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

12

/art/runtime/
Dproxy_test.cc60 std::vector<Handle<mirror::Class>> interfaces; in TEST_F() local
61 interfaces.push_back(I); in TEST_F()
62 interfaces.push_back(J); in TEST_F()
64 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces))); in TEST_F()
65 interfaces.clear(); // Don't least possibly stale objects in the array as good practice. in TEST_F()
96 std::vector<Handle<mirror::Class>> interfaces; in TEST_F() local
97 interfaces.push_back(I); in TEST_F()
98 interfaces.push_back(J); in TEST_F()
100 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces)); in TEST_F()
147 std::vector<Handle<mirror::Class>> interfaces; in TEST_F() local
[all …]
Dproxy_test.h40 const std::vector<Handle<mirror::Class>>& interfaces) in GenerateProxyClass() argument
50 soa.Env()->NewObjectArray(interfaces.size(), javaLangClass, /* initialElement= */ nullptr); in GenerateProxyClass()
52 for (size_t i = 0; i < interfaces.size(); ++i) { in GenerateProxyClass()
54 soa.AddLocalReference<jclass>(interfaces[i].Get())); in GenerateProxyClass()
59 for (Handle<mirror::Class> interface : interfaces) { in GenerateProxyClass()
96 for (Handle<mirror::Class> interface : interfaces) { in GenerateProxyClass()
Dhidden_api_test.cc426 std::vector<Handle<mirror::Class>> interfaces; in TEST_F() local
427 interfaces.push_back(h_iface); in TEST_F()
429 soa, jclass_loader_, runtime_->GetClassLinker(), "$Proxy1234", interfaces)); in TEST_F()
Dclass_linker.h534 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
572 jobjectArray interfaces,
1101 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
1214 Handle<mirror::ObjectArray<mirror::Class>> interfaces)
/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.cc164 const dex::TypeList* interfaces = other_dex_file.GetInterfacesList(*kls.GetClassDef()); in LookupMethodIn() local
165 if (interfaces != nullptr) { in LookupMethodIn()
166 for (size_t i = 0; i < interfaces->Size(); i++) { in LookupMethodIn()
167 dex::TypeIndex idx = interfaces->GetTypeItem(i).type_idx_; in LookupMethodIn()
208 const dex::TypeList* interfaces = other_dex_file.GetInterfacesList(*kls.GetClassDef()); in LookupFieldIn() local
209 if (interfaces != nullptr) { in LookupFieldIn()
210 for (size_t i = 0; i < interfaces->Size(); i++) { in LookupFieldIn()
211 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/974-verify-interface-super/
Dinfo.txt1 Test that we do the right thing with invoke-super on interfaces when there are
/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/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/2032-default-method-private-override/
Dinfo.txt5 looking for overrides to a superclasses interfaces. This could cause
/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/dt_fd_forward/
DNOTICE4 This file implements interfaces from the file jdwpTransport.h. This
/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
/art/runtime/mirror/
Dclass-inl.h962 ObjPtr<ObjectArray<Class>> interfaces = GetProxyInterfaces(); in NumDirectInterfaces() local
963 return interfaces != nullptr ? interfaces->GetLength() : 0; in NumDirectInterfaces()
965 const dex::TypeList* interfaces = GetInterfaceTypeList(); in NumDirectInterfaces() local
966 if (interfaces == nullptr) { in NumDirectInterfaces()
969 return interfaces->Size(); in NumDirectInterfaces()
/art/libdexfile/dex/
Ddex_file_verifier.cc2788 const dex::TypeList* interfaces = dex_file_->GetInterfacesList(*item); in CheckInterClassDefItem() local
2789 if (interfaces != nullptr) { in CheckInterClassDefItem()
2790 uint32_t size = interfaces->Size(); in CheckInterClassDefItem()
2795 if (UNLIKELY(interfaces->GetTypeItem(i).type_idx_ == item->class_idx_)) { in CheckInterClassDefItem()
2804 dex_file_->FindClassDef(interfaces->GetTypeItem(i).type_idx_); in CheckInterClassDefItem()
2813 interfaces->GetTypeItem(i).type_idx_.index_); in CheckInterClassDefItem()
2820 if (UNLIKELY(!VerifyTypeDescriptor(interfaces->GetTypeItem(i).type_idx_, in CheckInterClassDefItem()
2832 dex::TypeIndex idx1 = interfaces->GetTypeItem(i).type_idx_; in CheckInterClassDefItem()
2834 dex::TypeIndex idx2 = interfaces->GetTypeItem(j).type_idx_; in CheckInterClassDefItem()
/art/dexlayout/
Ddexlayout.cc1441 const dex_ir::TypeList* interfaces = class_def->Interfaces(); in DumpClass() local
1442 if (interfaces != nullptr) { in DumpClass()
1443 const dex_ir::TypeIdVector* interfaces_vector = interfaces->GetTypeList(); in DumpClass()
1631 const dex_ir::TypeList* interfaces = class_def->Interfaces(); in LayoutStringData() local
1632 if (interfaces != nullptr) { in LayoutStringData()
1633 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]
/art/libnativeloader/
DREADME.md79 the differences of the interfaces.

12