Home
last modified time | relevance | path

Searched refs:methods (Results 1 – 19 of 19) sorted by relevance

/art/test/044-proxy/src/
DNarrowingTest.java49 Method[] methods = proxy.getClass().getDeclaredMethods(); in main() local
50 System.out.println("Proxy methods: " + Arrays.deepToString(methods)); in main()
DBasicTest.java75 Method[] methods = proxy.getClass().getDeclaredMethods(); in main() local
76 Arrays.sort(methods, new Comparator<Method>() { in main()
87 System.out.println("Proxy methods: " + Arrays.deepToString(methods)); in main()
88 Method meth = methods[methods.length -1]; in main()
/art/runtime/native/
Djava_lang_reflect_Proxy.cc34 mirror::ObjectArray<mirror::ArtMethod>* methods = in Proxy_generateProxy() local
39 mirror::Class* result = class_linker->CreateProxyClass(name, interfaces, loader, methods, throws); in Proxy_generateProxy()
/art/test/089-many-methods/
Dinfo.txt2 than 65536 methods.
/art/test/300-package-override/
Dinfo.txt2 methods.
/art/test/097-duplicate-method/
Dinfo.txt1 This is a test to verify that duplicate methods in a dex file are handled
/art/test/032-concrete-sub/
Dinfo.txt3 different notions about which methods are abstract.
/art/test/046-reflect/
Dexpected.txt110 got methods
121 methods are unique
122 methods are .equals
/art/test/044-proxy/
Dexpected.txt54 Proxy methods: [public final java.lang.String $Proxy1.blob(), public final double $Proxy1.blue(int)…
86 Proxy methods: [public final boolean $Proxy7.equals(java.lang.Object), public final java.lang.Objec…
/art/runtime/mirror/
Dclass.cc608 static void SetPreverifiedFlagOnMethods(mirror::ObjectArray<mirror::ArtMethod>* methods) in SetPreverifiedFlagOnMethods() argument
610 if (methods != NULL) { in SetPreverifiedFlagOnMethods()
611 for (int32_t index = 0, end = methods->GetLength(); index < end; ++index) { in SetPreverifiedFlagOnMethods()
612 mirror::ArtMethod* method = methods->GetWithoutChecks(index); in SetPreverifiedFlagOnMethods()
Ddex_cache.h49 ObjectArray<ArtMethod>* methods,
/art/runtime/
Djni_internal.h53 void RegisterNativeMethods(JNIEnv* env, const char* jni_class_name, const JNINativeMethod* methods,
Djni_internal_test.cc985 JNINativeMethod methods[] = { { "foo", "()V", NULL } }; in TEST_F() local
986 env_->RegisterNatives(jlobject, methods, 1); in TEST_F()
992 JNINativeMethod methods[] = { { "equals", "(Ljava/lang/Object;)Z", NULL } }; in TEST_F() local
993 env_->RegisterNatives(jlobject, methods, 1); in TEST_F()
999 JNINativeMethod methods[] = { { "notify", "()V", reinterpret_cast<void*>(BogusMethod) } }; in TEST_F() local
1000 env_->RegisterNatives(jlobject, methods, 1); in TEST_F()
Djni_internal.cc2339 static jint RegisterNatives(JNIEnv* env, jclass java_class, const JNINativeMethod* methods, in RegisterNatives() argument
2341 return RegisterNativeMethods(env, java_class, methods, method_count, true); in RegisterNatives()
2344 static jint RegisterNativeMethods(JNIEnv* env, jclass java_class, const JNINativeMethod* methods, in RegisterNativeMethods() argument
2358 CHECK_NON_NULL_ARGUMENT(RegisterNatives, methods); in RegisterNativeMethods()
2360 const char* name = methods[i].name; in RegisterNativeMethods()
2361 const char* sig = methods[i].signature; in RegisterNativeMethods()
2387 m->RegisterNative(soa.Self(), methods[i].fnPtr); in RegisterNativeMethods()
3290 void RegisterNativeMethods(JNIEnv* env, const char* jni_class_name, const JNINativeMethod* methods, in RegisterNativeMethods() argument
3296 JNI::RegisterNativeMethods(env, c.get(), methods, method_count, false); in RegisterNativeMethods()
Dclass_linker.cc1202 methods(self, AllocArtMethodArray(self, dex_file.NumMethodIds())); in AllocDexCache() local
1203 if (methods.get() == NULL) { in AllocDexCache()
1222 methods.get(), in AllocDexCache()
2647 mirror::ObjectArray<mirror::ArtMethod>* methods, in CreateProxyClass() argument
2715 size_t num_virtual_methods = methods->GetLength(); in CreateProxyClass()
2726 SirtRef<mirror::ArtMethod> prototype(self, methods->Get(i)); in CreateProxyClass()
2757 SirtRef<mirror::ArtMethod> prototype(self, methods->Get(i)); in CreateProxyClass()
Dcheck_jni.cc1658 …static jint RegisterNatives(JNIEnv* env, jclass c, const JNINativeMethod* methods, jint nMethods) { in RegisterNatives() argument
1659 CHECK_JNI_ENTRY(kFlag_Default, "EcpI", env, c, methods, nMethods); in RegisterNatives()
1660 return CHECK_JNI_EXIT("I", baseEnv(env)->RegisterNatives(env, c, methods, nMethods)); in RegisterNatives()
Dclass_linker.h320 mirror::ObjectArray<mirror::ArtMethod>* methods,
/art/compiler/jni/
Djni_compiler_test.cc95 JNINativeMethod methods[] = { { method_name, method_sig, native_fnptr } }; in SetUpForTest() local
96 ASSERT_EQ(JNI_OK, env_->RegisterNatives(jklass_, methods, 1)) in SetUpForTest()
/art/test/046-reflect/src/
DMain.java447 Method[] methods = niuClass.getDeclaredMethods(); in checkClinitForMethods() local