Searched defs:interfaces (Results 1 - 5 of 5) 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 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.cc449 // Sanity check Class[] and Object[]'s interfaces.
2263 auto interfaces = hs.NewHandle<mirror::ObjectArray<mirror::Class>>(nullptr); local
2266 if (!LinkClass(self, descriptor, klass, interfaces, &new_class)) {
3152 // interfaces. We need to set that up here, so that stuff like
3161 // Use the single, global copies of "interfaces" and "iftable"
3720 jobjectArray interfaces, jobject loader,
3750 // 1. Create a static field 'interfaces' that holds the _declared_ interfaces implemented by
3824 hs.NewHandle(soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces)));
3837 soa.Decode<mirror::ObjectArray<mirror::Class>*>(interfaces));
3719 CreateProxyClass(ScopedObjectAccessAlreadyRunnable& soa, jstring name, jobjectArray interfaces, jobject loader, jobjectArray methods, jobjectArray throws) argument
4366 LinkClass(Thread* self, const char* descriptor, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces, mirror::Class** new_class) argument
4453 const DexFile::TypeList* interfaces = dex_file.GetInterfacesList(class_def); local
4537 LinkMethods(Thread* self, Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces) argument
4660 LinkInterfaceMethods(Handle<mirror::Class> klass, Handle<mirror::ObjectArray<mirror::Class>> interfaces) argument
[all...]
/art/runtime/mirror/
H A Dclass.cc236 os << " interfaces (" << num_direct_interfaces << "):\n";
363 // Check the current class before checking the interfaces.
381 // Check the current class before checking the interfaces.
399 // Check the current class before checking the interfaces.
625 // Is the field in this class (or its interfaces), or any of its
626 // superclasses (or their interfaces)?
636 // Is this field in any of this class' interfaces?
660 // Is this field in any of this class' interfaces?
686 // Is this field in any of this class' interfaces?
757 mirror::ObjectArray<mirror::Class>* interfaces local
760 const DexFile::TypeList* interfaces = GetInterfaceTypeList(); local
787 mirror::ObjectArray<mirror::Class>* interfaces = klass.Get()->GetInterfaces(); local
[all...]

Completed in 325 milliseconds