Searched refs:interfaces (Results 1 - 7 of 7) sorted by relevance

/art/runtime/native/
H A Djava_lang_reflect_Proxy.cc27 static jclass Proxy_generateProxy(JNIEnv* env, jclass, jstring name, jobjectArray interfaces, argument
31 mirror::Class* result = class_linker->CreateProxyClass(soa, name, interfaces, loader, methods,
/art/runtime/
H A Dproxy_test.cc29 // Generate a proxy class with the given name and interfaces. This is a simplification from what
30 // libcore does to fit to our test needs. We do not check for duplicated interfaces or methods and
34 const std::vector<mirror::Class*>& interfaces)
41 // Builds the interfaces array.
42 jobjectArray proxyClassInterfaces = soa.Env()->NewObjectArray(interfaces.size(), javaLangClass,
45 for (size_t i = 0; i < interfaces.size(); ++i) {
47 soa.AddLocalReference<jclass>(interfaces[i]));
52 for (mirror::Class* interface : interfaces) {
82 // Now adds all interfaces virtual methods.
83 for (mirror::Class* interface : interfaces) {
123 std::vector<mirror::Class*> interfaces; local
159 std::vector<mirror::Class*> interfaces; local
[all...]
H A Dclass_linker.h336 jobjectArray interfaces, jobject loader, jobjectArray methods,
530 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
541 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
549 Handle<mirror::ObjectArray<mirror::Class>> interfaces,
H A Ddex_file_verifier.cc1730 const DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(*item); local
1731 if (interfaces != NULL) {
1732 uint32_t size = interfaces->Size();
1734 // Ensure that all interfaces refer to classes (not arrays or primitives).
1736 LOAD_STRING_BY_TYPE(inf_descriptor, interfaces->GetTypeItem(i).type_idx_,
1746 * practice the number of interfaces implemented by any given class is low.
1749 uint32_t idx1 = interfaces->GetTypeItem(i).type_idx_;
1751 uint32_t idx2 = interfaces->GetTypeItem(j).type_idx_;
H A Dclass_linker.cc441 // Sanity check Class[] and Object[]'s interfaces.
2290 auto interfaces = hs.NewHandle<mirror::ObjectArray<mirror::Class>>(nullptr); local
2293 if (!LinkClass(self, descriptor, klass, interfaces, &new_class)) {
3194 // interfaces. We need to set that up here, so that stuff like
3203 // Use the single, global copies of "interfaces" and "iftable"
3777 jobjectArray interfaces, jobject loader,
3807 // 1. Create a static field 'interfaces' that holds the _declared_ interfaces implemented by
3881 hs.NewHandle(soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces)));
3894 soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces));
3776 CreateProxyClass(ScopedObjectAccessAlreadyRunnable& soa, jstring name, jobjectArray interfaces, jobject loader, jobjectArray methods, jobjectArray throws) argument
4438 LinkClass(Thread* self, const char* descriptor, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces, mirror::Class** new_class) argument
4698 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def); local
4782 LinkMethods(Thread* self, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces, StackHandleScope<mirror::Class::kImtSize>* out_imt) argument
5045 LinkInterfaceMethods(Thread* self, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces, StackHandleScope<mirror::Class::kImtSize>* out_imt) argument
[all...]
/art/runtime/mirror/
H A Dclass-inl.h195 // All interfaces implemented directly and by our superclass, and
196 // recursively all super-interfaces of those interfaces, are listed
698 DCHECK_STREQ(GetSFields()->Get(0)->GetName(), "interfaces");
763 mirror::ObjectArray<mirror::Class>* interfaces = GetInterfaces(); local
764 return interfaces != nullptr ? interfaces->GetLength() : 0;
766 const DexFile::TypeList* interfaces = GetInterfaceTypeList(); local
767 if (interfaces == nullptr) {
770 return interfaces
[all...]
H A Dclass.cc235 os << " interfaces (" << num_direct_interfaces << "):\n";
362 // Check the current class before checking the interfaces.
380 // Check the current class before checking the interfaces.
398 // Check the current class before checking the interfaces.
627 // Is the field in this class (or its interfaces), or any of its
628 // superclasses (or their interfaces)?
638 // Is this field in any of this class' interfaces?
662 // Is this field in any of this class' interfaces?
688 // Is this field in any of this class' interfaces?
771 mirror::ObjectArray<mirror::Class>* interfaces local
[all...]

Completed in 165 milliseconds