Searched defs:interfaces (Results 1 - 6 of 6) 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/runtime/
H A Dproxy_test.cc31 // Generate a proxy class with the given name and interfaces. This is a simplification from what
32 // libcore does to fit to our test needs. We do not check for duplicated interfaces or methods and
36 const std::vector<mirror::Class*>& interfaces)
43 // Builds the interfaces array.
44 jobjectArray proxyClassInterfaces = soa.Env()->NewObjectArray(interfaces.size(), javaLangClass,
47 for (size_t i = 0; i < interfaces.size(); ++i) {
49 soa.AddLocalReference<jclass>(interfaces[i]));
54 for (mirror::Class* interface : interfaces) {
80 // Now adds all interfaces virtual methods.
81 for (mirror::Class* interface : interfaces) {
117 std::vector<mirror::Class*> interfaces; local
153 std::vector<mirror::Class*> interfaces; local
205 std::vector<mirror::Class*> interfaces; local
[all...]
H A Ddex_file_verifier.cc1992 // Check interfaces.
1993 const DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(*item); local
1994 if (interfaces != nullptr) {
1995 uint32_t size = interfaces->Size();
1999 // same type idx as one of its immediate implemented interfaces).
2000 if (UNLIKELY(interfaces->GetTypeItem(i).type_idx_ == item->class_idx_)) {
2006 // Check that a class is defined after the interfaces it implements
2009 dex_file_->FindClassDef(interfaces->GetTypeItem(i).type_idx_);
2018 interfaces->GetTypeItem(i).type_idx_);
2025 LOAD_STRING_BY_TYPE(inf_descriptor, interfaces
[all...]
H A Dclass_linker.cc589 // Sanity check Class[] and Object[]'s interfaces. GetDirectInterface may cause thread
2525 auto interfaces = hs.NewHandle<mirror::ObjectArray<mirror::Class>>(nullptr); local
2528 if (!LinkClass(self, descriptor, klass, interfaces, &h_new_class)) {
3470 // interfaces. We need to set that up here, so that stuff like
3479 // Use the single, global copies of "interfaces" and "iftable"
3867 // Verify all default super-interfaces.
3874 // but choose not to for an optimization. If the interfaces is being verified due to a class
3875 // initialization (which would need all the default interfaces to be verified) the class code
3881 // Loop through all interfaces this class has defined. It doesn't matter the order.
3885 // We only care if we have default interfaces an
4123 CreateProxyClass(ScopedObjectAccessAlreadyRunnable& soa, jstring name, jobjectArray interfaces, jobject loader, jobjectArray methods, jobjectArray throws) argument
5056 LinkClass(Thread* self, const char* descriptor, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces, MutableHandle<mirror::Class>* h_new_class_out) argument
5386 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def); local
5478 LinkMethods(Thread* self, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces, ArtMethod** out_imt) argument
6323 SetupInterfaceLookupTable(Thread* self, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces) argument
[all...]
/art/runtime/mirror/
H A Dclass.cc220 os << " interfaces (" << num_direct_interfaces << "):\n";
339 // Check the current class before checking the interfaces.
358 // Check the current class before checking the interfaces.
377 // Check the current class before checking the interfaces.
574 // subtypiest interfaces get visited first.
727 // Is the field in this class (or its interfaces), or any of its
728 // superclasses (or their interfaces)?
738 // Is this field in any of this class' interfaces?
762 // Is this field in any of this class' interfaces?
788 // Is this field in any of this class' interfaces
862 mirror::ObjectArray<mirror::Class>* interfaces = klass.Get()->GetInterfaces(); local
[all...]
H A Dclass-inl.h320 // All interfaces implemented directly and by our superclass, and
321 // recursively all super-interfaces of those interfaces, are listed
484 // Only miranda or default methods may come from interfaces and be used as a virtual.
827 DCHECK_STREQ(field->GetName(), "interfaces");
900 mirror::ObjectArray<mirror::Class>* interfaces = GetInterfaces(); local
901 return interfaces != nullptr ? interfaces->GetLength() : 0;
903 const DexFile::TypeList* interfaces = GetInterfaceTypeList(); local
904 if (interfaces
[all...]

Completed in 157 milliseconds