• Home
  • Raw
  • Download

Lines Matching refs:env

33 static jvmtiError (*get_descriptor_list)(jvmtiEnv* env, jobject loader, jint* cnt, char*** descs);
82 static void abortIfExceptionPending(JNIEnv* env) { in abortIfExceptionPending() argument
83 if (env->ExceptionCheck()) { in abortIfExceptionPending()
99 JNIEnv* env, jclass, jobject loader) { in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors() argument
101 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors()
102 env->ThrowNew(rt_exception, "get_class_loader_class_descriptor extension is not ready."); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors()
109 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors()
110 env->ThrowNew(rt_exception, "Error while executing get_class_loader_class_descriptor."); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors()
114 jobjectArray arr = env->NewObjectArray(cnt, env->FindClass("java/lang/String"), nullptr); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors()
115 if (env->ExceptionCheck()) { in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors()
121 env->SetObjectArrayElement(arr, i, env->NewStringUTF(classes[i])); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors()
122 if (env->ExceptionCheck()) { in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors()
131 …ICALL Java_android_signature_cts_api_BootClassPathClassesProvider_initialize(JNIEnv* env, jclass) { in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize() argument
137 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize()
138 env->ThrowNew(rt_exception, "Failed to get JVMTI extension APIs"); in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize()
153 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize()
154 env->ThrowNew(rt_exception, "Failed to find get_class_loader_class_descriptors extension"); in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize()
161 JNIEnv* env, jclass, jclass klass, jboolean getFields) { in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes() argument
177 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
178 env->ThrowNew(rt_exception, error.c_str()); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
182 jobjectArray names = env->NewObjectArray(count, env->FindClass("java/lang/String"), nullptr); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
183 abortIfExceptionPending(env); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
184 jobjectArray types = env->NewObjectArray(count, env->FindClass("java/lang/String"), nullptr); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
185 abortIfExceptionPending(env); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
201 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
202 env->ThrowNew(rt_exception, error.c_str()); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
206 env->SetObjectArrayElement(names, i, env->NewStringUTF(name.Get())); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
207 abortIfExceptionPending(env); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
208 env->SetObjectArrayElement(types, i, env->NewStringUTF(type.Get())); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
209 abortIfExceptionPending(env); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
214 jobjectArray result = env->NewObjectArray( in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
215 /* count */ 2, env->FindClass("[Ljava/lang/String;"), nullptr); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
216 abortIfExceptionPending(env); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
217 env->SetObjectArrayElement(result, 0, names); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
218 abortIfExceptionPending(env); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
219 env->SetObjectArrayElement(result, 1, types); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
220 abortIfExceptionPending(env); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()