/art/runtime/native/ |
H A D | java_lang_reflect_Proxy.cc | 34 mirror::ObjectArray<mirror::ArtMethod>* methods = local 39 mirror::Class* result = class_linker->CreateProxyClass(name, interfaces, loader, methods, throws);
|
/art/test/044-proxy/src/ |
H A D | NarrowingTest.java | 49 Method[] methods = proxy.getClass().getDeclaredMethods(); 50 System.out.println("Proxy methods: " + Arrays.deepToString(methods));
|
H A D | BasicTest.java | 73 Method[] methods = proxy.getClass().getDeclaredMethods(); 74 Arrays.sort(methods, new Comparator<Method>() { 85 System.out.println("Proxy methods: " + Arrays.deepToString(methods)); 86 Method meth = methods[methods.length -1];
|
/art/runtime/ |
H A D | jni_internal.h | 53 void RegisterNativeMethods(JNIEnv* env, const char* jni_class_name, const JNINativeMethod* methods,
|
H A D | jni_internal_test.cc | 985 JNINativeMethod methods[] = { { "foo", "()V", NULL } }; local 986 env_->RegisterNatives(jlobject, methods, 1); 990 // Check that registering non-native methods causes a NoSuchMethodError 992 JNINativeMethod methods[] = { { "equals", "(Ljava/lang/Object;)Z", NULL } }; local 993 env_->RegisterNatives(jlobject, methods, 1); 997 // Check that registering native methods is successful 999 JNINativeMethod methods[] = { { "notify", "()V", reinterpret_cast<void*>(BogusMethod) } }; local 1000 env_->RegisterNatives(jlobject, methods, 1);
|
H A D | jni_internal.cc | 242 // private methods and constructors. 2336 static jint RegisterNatives(JNIEnv* env, jclass java_class, const JNINativeMethod* methods, argument 2338 return RegisterNativeMethods(env, java_class, methods, method_count, true); 2341 static jint RegisterNativeMethods(JNIEnv* env, jclass java_class, const JNINativeMethod* methods, argument 2351 LOG(WARNING) << "JNI RegisterNativeMethods: attempt to register 0 native methods for " 2355 CHECK_NON_NULL_ARGUMENT(RegisterNatives, methods); 2357 const char* name = methods[i].name; 2358 const char* sig = methods[i].signature; 2384 m->RegisterNative(soa.Self(), methods[i].fnPtr); 2394 VLOG(jni) << "[Unregistering JNI native methods fo 3287 RegisterNativeMethods(JNIEnv* env, const char* jni_class_name, const JNINativeMethod* methods, jint method_count) argument [all...] |
H A D | class_linker.cc | 1202 methods(self, AllocArtMethodArray(self, dex_file.NumMethodIds())); 1203 if (methods.get() == NULL) { 1222 methods.get(), 1531 // Process methods 1553 // Although we overwrite the trampoline of non-static methods, we may get here via the resolution 1554 // method for direct methods (or virtual methods made direct). 1562 // by search for its position in the declared virtual methods. 1639 return; // no fields or methods - for example a marker interface 1656 // Link the code of methods skippe 2644 CreateProxyClass(mirror::String* name, mirror::ObjectArray<mirror::Class>* interfaces, mirror::ClassLoader* loader, mirror::ObjectArray<mirror::ArtMethod>* methods, mirror::ObjectArray<mirror::ObjectArray<mirror::Class> >* throws) argument [all...] |
H A D | check_jni.cc | 808 // make any JNI calls other than the Exception* methods. 1658 static jint RegisterNatives(JNIEnv* env, jclass c, const JNINativeMethod* methods, jint nMethods) { argument 1659 CHECK_JNI_ENTRY(kFlag_Default, "EcpI", env, c, methods, nMethods); 1660 return CHECK_JNI_EXIT("I", baseEnv(env)->RegisterNatives(env, c, methods, nMethods));
|
H A D | class_linker.h | 208 // <clinit> methods so they could not be initialized by the compiler. 285 // TODO: replace this with multiple methods that allocate the correct managed type. 320 mirror::ObjectArray<mirror::ArtMethod>* methods,
|
/art/runtime/mirror/ |
H A D | class.cc | 220 os << " direct methods (" << NumDirectMethods() << " entries):\n"; 608 static void SetPreverifiedFlagOnMethods(mirror::ObjectArray<mirror::ArtMethod>* methods) 610 if (methods != NULL) { 611 for (int32_t index = 0, end = methods->GetLength(); index < end; ++index) { 612 mirror::ArtMethod* method = methods->GetWithoutChecks(index);
|
H A D | dex_cache.h | 49 ObjectArray<ArtMethod>* methods,
|
/art/compiler/jni/ |
H A D | jni_compiler_test.cc | 95 JNINativeMethod methods[] = { { method_name, method_sig, native_fnptr } }; local 96 ASSERT_EQ(JNI_OK, env_->RegisterNatives(jklass_, methods, 1))
|
/art/test/046-reflect/src/ |
H A D | Main.java | 446 // Getting the declared methods doesn't run <clinit>. 447 Method[] methods = niuClass.getDeclaredMethods(); 448 System.out.println("got methods"); 549 System.out.println("ERROR: methods shouldn't have reference equality"); 551 System.out.println("methods are unique"); 554 System.out.println("methods are .equals"); 556 System.out.println("ERROR: methods fail equality");
|