Home
last modified time | relevance | path

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

12

/art/runtime/
Dproxy_test.cc53 std::vector<Handle<mirror::Class>> interfaces; in TEST_F() local
54 interfaces.push_back(I); in TEST_F()
55 interfaces.push_back(J); in TEST_F()
57 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces))); in TEST_F()
58 interfaces.clear(); // Don't least possibly stale objects in the array as good practice. in TEST_F()
89 std::vector<Handle<mirror::Class>> interfaces; in TEST_F() local
90 interfaces.push_back(I); in TEST_F()
91 interfaces.push_back(J); in TEST_F()
93 GenerateProxyClass(soa, jclass_loader, class_linker_, "$Proxy1234", interfaces)); in TEST_F()
140 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()
/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
26 Foo.class.getClassLoader(), interfaces, new DebugProxy(obj)); in newInstance()
/art/test/960-default-smali/
Dinfo.txt17 <Add new classes/interfaces>
18 <Add these classes/interfaces to ./smali/classes.xml>
Dexpected-stdout.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/2032-default-method-private-override/
Dinfo.txt5 looking for overrides to a superclasses interfaces. This could cause
/art/test/2263-method-trace-jit/
Dinfo.txt12 * all super-classes and super-interfaces of the above types.
/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/
DLICENSE4 This file implements interfaces from the file jdwpTransport.h. This
/art/openjdkjvmti/
DLICENSE4 This file implements interfaces from the file jvmti.h. This implementation
/art/openjdkjvm/
DLICENSE4 This file implements interfaces from the file jvm.h. This implementation
/art/libarttools/
DAndroid.bp27 // This library contains low-level interfaces used to call dex2oat and related tools. This will
/art/runtime/mirror/
Dclass-inl.h944 ObjPtr<ObjectArray<Class>> interfaces = GetProxyInterfaces(); in NumDirectInterfaces() local
945 return interfaces != nullptr ? interfaces->GetLength() : 0; in NumDirectInterfaces()
947 const dex::TypeList* interfaces = GetInterfaceTypeList(); in NumDirectInterfaces() local
948 if (interfaces == nullptr) { in NumDirectInterfaces()
951 return interfaces->Size(); in NumDirectInterfaces()
/art/test/044-proxy/
Dexpected-stdout.txt57 Proxy interfaces: [interface Quads, interface Colors, interface Trace]
/art/libdexfile/dex/
Ddex_file_verifier.cc2779 const dex::TypeList* interfaces = dex_file_->GetInterfacesList(*item); in CheckInterClassDefItem() local
2780 if (interfaces != nullptr) { in CheckInterClassDefItem()
2781 uint32_t size = interfaces->Size(); in CheckInterClassDefItem()
2786 if (UNLIKELY(interfaces->GetTypeItem(i).type_idx_ == item->class_idx_)) { in CheckInterClassDefItem()
2794 uint16_t interface_idx = interfaces->GetTypeItem(i).type_idx_.index_; in CheckInterClassDefItem()
2810 if (UNLIKELY(!VerifyTypeDescriptor(interfaces->GetTypeItem(i).type_idx_, in CheckInterClassDefItem()
2822 dex::TypeIndex idx1 = interfaces->GetTypeItem(i).type_idx_; in CheckInterClassDefItem()
2824 dex::TypeIndex idx2 = interfaces->GetTypeItem(j).type_idx_; in CheckInterClassDefItem()
/art/dexlayout/
Ddexlayout.cc1516 const dex_ir::TypeList* interfaces = class_def->Interfaces(); in DumpClass() local
1517 if (interfaces != nullptr) { in DumpClass()
1518 const dex_ir::TypeIdVector* interfaces_vector = interfaces->GetTypeList(); in DumpClass()
1936 const dex_ir::TypeList* interfaces = class_def->Interfaces(); in LayoutStringData() local
1937 if (interfaces != nullptr) { in LayoutStringData()
1938 for (const dex_ir::TypeId* interface_type : *interfaces->GetTypeList()) { in LayoutStringData()
/art/libnativeloader/
DREADME.md79 the differences of the interfaces.

12