/art/test/1914-get-local-instance/ |
D | local_instance.cc | 38 ScopedLocalRef<jclass> runnable(env, env->FindClass("java/lang/Runnable")); in Java_art_Test1914_00024TargetClass_NativeInstanceMethod() 44 ScopedLocalRef<jclass> Test1914(env, env->FindClass("art/Test1914")); in Java_art_Test1914_00024TargetClass_NativeInstanceMethod() 53 ScopedLocalRef<jclass> runnable(env, env->FindClass("java/lang/Runnable")); in Java_art_Test1914_NativeStaticMethod() 59 ScopedLocalRef<jclass> Test1914(env, env->FindClass("art/Test1914")); in Java_art_Test1914_NativeStaticMethod()
|
/art/test/986-native-method-bind/ |
D | native_bind.cc | 37 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test986")); in doUpPrintCall() 62 ScopedLocalRef<jclass> method_class(env, env->FindClass("java/lang/reflect/Method")); in doJvmtiMethodBind() 66 ScopedLocalRef<jclass> exception_class(env, env->FindClass("java/lang/Exception")); in doJvmtiMethodBind() 71 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test986")); in doJvmtiMethodBind() 89 ScopedLocalRef<jclass> exception_class(env, env->FindClass("java/lang/Exception")); in doJvmtiMethodBind()
|
/art/test/2009-structural-local-ref/ |
D | local-ref.cc | 37 jmethodID run_meth = env->GetMethodID(env->FindClass("java/lang/Runnable"), "run", "()V"); in Java_art_Test2009_NativeLocalCallStatic() 51 jmethodID run_meth = env->GetMethodID(env->FindClass("java/lang/Runnable"), "run", "()V"); in Java_art_Test2009_NativeLocalCallVirtual() 63 jmethodID run_meth = env->GetMethodID(env->FindClass("java/lang/Runnable"), "run", "()V"); in Java_art_Test2009_NativeLocalGetIField() 76 jmethodID run_meth = env->GetMethodID(env->FindClass("java/lang/Runnable"), "run", "()V"); in Java_art_Test2009_NativeLocalGetSField()
|
/art/test/1900-track-alloc/ |
D | alloc.cc | 72 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1900_getAmountAllocated() 102 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1900_newJvmtiEnv() 108 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1900_newJvmtiEnv() 120 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1900_initializeTest() 150 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1900_initializeTest()
|
/art/runtime/jni/ |
D | jni_internal_test.cc | 47 env_->FindClass("java/lang/ArrayIndexOutOfBoundsException")); in SetUp() 51 ScopedLocalRef<jclass> ase(env_, env_->FindClass("java/lang/ArrayStoreException")); in SetUp() 56 env_->FindClass("java/lang/StringIndexOutOfBoundsException")); in SetUp() 99 EXPECT_NE(env_->FindClass(name), nullptr) << name; in ExpectClassFound() 105 EXPECT_EQ(env_->FindClass(name), nullptr) << name; in ExpectClassNotFound() 119 env_->FindClass(nullptr); in FindClassTest() 137 EXPECT_EQ(env_->FindClass("java.lang.String"), nullptr); in FindClassTest() 141 EXPECT_EQ(env_->FindClass("[Ljava.lang.String;"), nullptr); in FindClassTest() 175 jclass c = env_->FindClass("java/lang/String"); in GetFieldIdBadArgumentTest() 198 jclass c = env_->FindClass("java/lang/String"); in GetStaticFieldIdBadArgumentTest() [all …]
|
/art/test/984-obsolete-invoke/ |
D | obsolete_invoke.cc | 59 return env->ToReflectedMethod(env->FindClass("java/lang/reflect/Method"), in Java_art_Test984_getFirstObsoleteMethod984() 64 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test984_getFirstObsoleteMethod984()
|
/art/test/1941-dispose-stress/ |
D | dispose_stress.cc | 47 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1941_AllocEnv() 53 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1941_AllocEnv()
|
/art/test/1946-list-descriptors/ |
D | descriptors.cc | 59 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1946_getClassloaderDescriptors() 72 env->FindClass("java/lang/String"), in Java_art_Test1946_getClassloaderDescriptors() 101 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1946_initializeTest() 131 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1946_initializeTest()
|
/art/test/ti-agent/ |
D | jni_helper.h | 35 ScopedLocalRef<jclass> obj_class(env, env->FindClass(component_type_descriptor)); in CreateObjectArray() 62 ScopedLocalRef<jclass> exc_class(env, env->FindClass("java/lang/NullPointerException")); in JniThrowNullPointerException()
|
/art/test/980-redefine-object/ |
D | redef_object.cc | 56 env->ThrowNew(env->FindClass("java/lang/RuntimeException"), in RedefineObjectHook() 71 env->ThrowNew(env->FindClass("java/lang/RuntimeException"), in RedefineObjectHook() 101 env->ThrowNew(env->FindClass("java/lang/RuntimeException"), in RedefineObjectHook()
|
/art/test/1909-per-agent-tls/ |
D | agent_tls.cc | 61 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1909_newJvmtiEnv() 67 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in Java_art_Test1909_newJvmtiEnv()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 84 jclass clazz = env->FindClass("Main"); in testFindClassOnAttachedNativeThread() 107 jclass clazz = env->FindClass("Main"); in testFindFieldOnAttachedNativeThread() 124 jclass clazz = env->FindClass("Main"); in testReflectFieldGetFromAttachedNativeThread() 128 jclass class_clazz = env->FindClass("java/lang/Class"); in testReflectFieldGetFromAttachedNativeThread() 145 jclass field_clazz = env->FindClass("java/lang/reflect/Field"); in testReflectFieldGetFromAttachedNativeThread() 169 jclass super_class = env->FindClass("Main$testCallStaticVoidMethodOnSubClass_SuperClass"); in Java_Main_testCallStaticVoidMethodOnSubClassNative() 175 jclass sub_class = env->FindClass("Main$testCallStaticVoidMethodOnSubClass_SubClass"); in Java_Main_testCallStaticVoidMethodOnSubClassNative() 182 jclass abstract_class = env->FindClass("Main$testGetMirandaMethod_MirandaAbstract"); in Java_Main_testGetMirandaMethodNative() 302 jclass vmstack_clazz = env->FindClass("dalvik/system/VMStack"); in testShallowGetCallingClassLoader() 320 jclass system_clazz = env->FindClass("java/lang/System"); in testShallowGetCallingClassLoader() [all …]
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 40 Runtime::Current()->GetClassLinker()->FindClass(self, "Ljava/lang/ref/WeakReference;", in TEST_F() 75 Runtime::Current()->GetClassLinker()->FindClass(self, "Ljava/lang/ref/WeakReference;", in TEST_F() 79 Runtime::Current()->GetClassLinker()->FindClass(self, "Ljava/lang/ref/FinalizerReference;", in TEST_F()
|
/art/test/1922-owned-monitors-info/ |
D | owned_monitors.cc | 45 ScopedLocalRef<jclass> run_class(env, env->FindClass("java/lang/Runnable")); in doCallRunnable() 99 ScopedLocalRef<jclass> ret_class(env, env->FindClass("art/Test1922$MonitorStackDepthInfo")); in Java_art_Test1922_getOwnedMonitorStackDepthInfo() 125 ScopedLocalRef<jclass> obj_class(env, env->FindClass("java/lang/Object")); in Java_art_Test1922_getOwnedMonitors()
|
/art/test/1974-resize-array/ |
D | resize_array.cc | 79 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in FindExtensionEvent() 105 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException")); in FindExtensionMethod() 122 env->FindClass("java/util/function/Supplier"), "get", "()Ljava/lang/Object;"); in Java_art_Test1974_ResizeArray() 152 jobjectArray ret = env->NewObjectArray(cnt, env->FindClass("java/lang/Object"), nullptr); in Java_art_Test1974_GetObjectsWithTag() 169 jmethodID run = env->GetMethodID(env->FindClass("java/lang/Runnable"), "run", "()V"); in Java_art_Test1974_runNativeTest() 171 env->FindClass("java/util/function/Consumer"), "accept", "(Ljava/lang/Object;)V"); in Java_art_Test1974_runNativeTest()
|
/art/test/945-obsolete-native/ |
D | obsolete_native.cc | 36 jclass runnable_klass = env->FindClass("java/lang/Runnable"); in Java_art_Test945_00024Transform_doExecute()
|
/art/test/044-proxy/ |
D | native_proxy.cc | 25 jclass native_inf_class = env->FindClass("NativeInterface"); in Java_NativeProxy_nativeCall()
|
/art/test/988-method-trace/ |
D | trace_fib.cc | 24 env->ThrowNew(env->FindClass("java/lang/Error"), "bad argument"); in Java_art_Test988_nativeFibonacci()
|
/art/test/1959-redefine-object-instrument/ |
D | fake_redef_object.cc | 57 env->ThrowNew(env->FindClass("java/lang/RuntimeException"), in RedefineObjectHook() 88 env->ThrowNew(env->FindClass("java/lang/RuntimeException"), in RedefineObjectHook()
|
/art/runtime/ |
D | class_linker_test.cc | 188 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader))); in AssertArrayClass() 897 ObjPtr<mirror::Class> outer = class_linker_->FindClass(soa.Self(), "LNested;", class_loader); in TEST_F() 903 class_linker_->FindClass(soa.Self(), "LNested$Inner;", class_loader); in TEST_F() 923 TEST_F(ClassLinkerTest, FindClass) { in TEST_F() argument 933 ObjPtr<mirror::Class> MyClass = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader); in TEST_F() 982 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), "LMyClass;", class_loader); in TEST_F() 1003 = class_linker_->FindClass(soa.Self(), "LAllFields;", class_loader); in TEST_F() 1016 = class_linker_->FindClass(soa.Self(), "[Ljava/lang/Object;", class_loader); in TEST_F() 1037 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LErroneousInit;", class_loader)); in TEST_F() 1131 c = class_linker_->FindClass(soa.Self(), "Ljava/lang/Boolean;", class_loader); in TEST_F() [all …]
|
/art/runtime/mirror/ |
D | dex_cache_test.cc | 86 ObjPtr<mirror::Class> klass = class_linker_->FindClass(soa.Self(), "LMain;", class_loader); in TEST_F() 101 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage1/Package1;", class_loader)); in TEST_F() 104 hs.NewHandle(class_linker_->FindClass(soa.Self(), "Lpackage2/Package2;", class_loader)); in TEST_F() 129 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LMethodTypes;", class_loader))); in TEST_F()
|
/art/runtime/native/ |
D | native_util.h | 32 ScopedLocalRef<jclass> c(env, env->FindClass(jni_class_name)); in RegisterNativeMethodsInternal()
|
/art/test/987-agent-bind/ |
D | agent_bind.cc | 37 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test987")); in doUpPrintCall()
|
/art/test/1930-monitor-info/ |
D | monitor.cc | 41 ScopedLocalRef<jclass> runnable(env, env->FindClass("java/lang/Runnable")); in Java_art_Test1930_executeLockedNative()
|
/art/test/common/ |
D | stack_inspect.cc | 107 env->ThrowNew(env->FindClass("java/lang/NullPointerException"), "method is null!"); in Java_Main_isInterpretedFunction() 112 env->ThrowNew(env->FindClass("java/lang/Error"), "Unable to interpret method argument!"); in Java_Main_isInterpretedFunction() 120 env->ThrowNew(env->FindClass("java/lang/Error"), "Unable to find given method in stack!"); in Java_Main_isInterpretedFunction()
|