/art/runtime/ |
D | proxy_test.cc | 47 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 …]
|
D | proxy_test.h | 38 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()
|
D | hidden_api_test.cc | 328 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()
|
D | class_linker.h | 532 jobjectArray interfaces, 996 Handle<mirror::ObjectArray<mirror::Class>> interfaces, 1010 Handle<mirror::ObjectArray<mirror::Class>> interfaces, 1123 Handle<mirror::ObjectArray<mirror::Class>> interfaces)
|
D | class_linker.cc | 2786 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/ |
D | java_lang_reflect_Proxy.cc | 32 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/ |
D | resolver.cc | 178 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/ |
D | Main.java | 22 static Class<?>[] interfaces = {Foo.class}; field in DebugProxy 27 interfaces, in newInstance()
|
/art/test/960-default-smali/ |
D | info.txt | 17 <Add new classes/interfaces> 18 <Add these classes/interfaces to ./smali/classes.xml>
|
D | expected.txt | 50 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/ |
D | info.txt | 1 Test that we do the right thing with invoke-super on interfaces when there are
|
/art/test/1910-transform-with-default/ |
D | info.txt | 4 interfaces.
|
/art/test/975-iface-private/ |
D | info.txt | 5 This test checks that synthetic private methods in interfaces work correctly.
|
/art/test/435-new-instance/ |
D | info.txt | 2 - InstantiationError on interfaces and abstract classes
|
/art/test/989-method-trace-throw/ |
D | info.txt | 12 * all super-classes and super-interfaces of the above types.
|
/art/test/988-method-trace/ |
D | info.txt | 12 * all super-classes and super-interfaces of the above types.
|
/art/test/utils/python/ |
D | generate_java_main.py | 231 yield dat.interfaces[i2] 232 yield from get_ifaces(dat.interfaces[i2])
|
/art/openjdkjvm/ |
D | NOTICE | 4 This file implements interfaces from the file jvm.h. This implementation
|
/art/openjdkjvmti/ |
D | NOTICE | 4 This file implements interfaces from the file jvmti.h. This implementation
|
D | ti_redefine.cc | 784 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/ |
D | NOTICE | 4 This file implements interfaces from the file jdwpTransport.h. This
|
/art/runtime/mirror/ |
D | class-inl.h | 980 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/ |
D | dex_file_verifier.cc | 2338 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/ |
D | dexlayout.cc | 1438 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/ |
D | expected.txt | 57 Proxy interfaces: [interface Quads, interface Colors, interface Trace]
|