Searched defs:interfaces (Results 1 - 10 of 10) sorted by relevance

/art/runtime/native/
H A Djava_lang_reflect_Proxy.cc29 static jclass Proxy_generateProxy(JNIEnv* env, jclass, jstring name, jobjectArray interfaces, argument
34 soa, name, interfaces, loader, methods, throws));
/art/test/616-cha-proxy-method-inline/src/
H A DMain.java22 static Class<?>[] interfaces = {Foo.class}; field in class:DebugProxy
27 interfaces,
/art/runtime/
H A Dproxy_test.cc33 // Generate a proxy class with the given name and interfaces. This is a simplification from what
34 // libcore does to fit to our test needs. We do not check for duplicated interfaces or methods and
38 const std::vector<mirror::Class*>& interfaces)
45 // Builds the interfaces array.
46 jobjectArray proxyClassInterfaces = soa.Env()->NewObjectArray(interfaces.size(), javaLangClass,
49 for (size_t i = 0; i < interfaces.size(); ++i) {
51 soa.AddLocalReference<jclass>(interfaces[i]));
56 for (mirror::Class* interface : interfaces) {
84 // Now adds all interfaces virtual methods.
85 for (mirror::Class* interface : interfaces) {
121 std::vector<mirror::Class*> interfaces; local
157 std::vector<mirror::Class*> interfaces; local
207 std::vector<mirror::Class*> interfaces; local
[all...]
H A Ddex_file_verifier.cc2314 // Check interfaces.
2315 const DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(*item); local
2316 if (interfaces != nullptr) {
2317 uint32_t size = interfaces->Size();
2321 // same type idx as one of its immediate implemented interfaces).
2322 if (UNLIKELY(interfaces->GetTypeItem(i).type_idx_ == item->class_idx_)) {
2328 // Check that a class is defined after the interfaces it implements
2331 dex_file_->FindClassDef(interfaces->GetTypeItem(i).type_idx_);
2340 interfaces->GetTypeItem(i).type_idx_.index_);
2347 LOAD_STRING_BY_TYPE(inf_descriptor, interfaces
[all...]
H A Dclass_linker.cc639 // Sanity check Class[] and Object[]'s interfaces. GetDirectInterface may cause thread
1922 // Verify that all direct interfaces of classes in the class table are also resolved.
2809 auto interfaces = hs.NewHandle<mirror::ObjectArray<mirror::Class>>(nullptr); local
2812 if (!LinkClass(self, descriptor, klass, interfaces, &h_new_class)) {
3722 // interfaces. We need to set that up here, so that stuff like
3731 // Use the single, global copies of "interfaces" and "iftable"
4047 // Verify all default super-interfaces.
4054 // but choose not to for an optimization. If the interfaces is being verified due to a class
4055 // initialization (which would need all the default interfaces to be verified) the class code
4061 // Loop through all interfaces thi
4285 CreateProxyClass(ScopedObjectAccessAlreadyRunnable& soa, jstring name, jobjectArray interfaces, jobject loader, jobjectArray methods, jobjectArray throws) argument
5231 LinkClass(Thread* self, const char* descriptor, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces, MutableHandle<mirror::Class>* h_new_class_out) argument
5598 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def); local
5690 LinkMethods(Thread* self, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces, bool* out_new_conflict, ArtMethod** out_imt) argument
6619 SetupInterfaceLookupTable(Thread* self, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces) argument
[all...]
/art/runtime/mirror/
H A Dclass.cc281 os << " interfaces (" << num_direct_interfaces << "):\n";
403 // Check the current class before checking the interfaces.
423 // Check the current class before checking the interfaces.
443 // Check the current class before checking the interfaces.
654 // subtypiest interfaces get visited first.
809 // Is the field in this class (or its interfaces), or any of its
810 // superclasses (or their interfaces)?
817 // Is this field in any of this class' interfaces?
843 // Is this field in any of this class' interfaces?
871 // Is this field in any of this class' interfaces
946 ObjPtr<ObjectArray<Class>> interfaces = klass->GetProxyInterfaces(); local
[all...]
H A Dclass-inl.h345 // All interfaces implemented directly and by our superclass, and
346 // recursively all super-interfaces of those interfaces, are listed
551 // Only miranda or default methods may come from interfaces and be used as a virtual.
859 DCHECK_STREQ(field->GetName(), "interfaces");
934 ObjectArray<Class>* interfaces = GetProxyInterfaces(); local
935 return interfaces != nullptr ? interfaces->GetLength() : 0;
937 const DexFile::TypeList* interfaces = GetInterfaceTypeList(); local
938 if (interfaces
[all...]
/art/dexlayout/
H A Ddexlayout.cc1374 const dex_ir::TypeList* interfaces = class_def->Interfaces(); local
1375 if (interfaces != nullptr) {
1376 const dex_ir::TypeIdVector* interfaces_vector = interfaces->GetTypeList();
H A Ddex_ir.h784 TypeList* interfaces,
792 interfaces_(interfaces),
781 ClassDef(const TypeId* class_type, uint32_t access_flags, const TypeId* superclass, TypeList* interfaces, const StringId* source_file, AnnotationsDirectoryItem* annotations, EncodedArrayItem* static_values, ClassData* class_data) argument
/art/runtime/openjdkjvmti/
H A Dti_redefine.cc4 * This file implements interfaces from the file jvmti.h. This implementation
732 const art::DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(def); local
733 if (interfaces == nullptr) {
741 if (current_interfaces == nullptr || current_interfaces->Size() != interfaces->Size()) {
745 // The order of interfaces is (barely) meaningful so we error if it changes.
747 for (uint32_t i = 0; i < interfaces->Size(); i++) {
749 dex_file_->StringByTypeIdx(interfaces->GetTypeItem(i).type_idx_),

Completed in 221 milliseconds