Searched refs:android_jvm (Results 1 – 1 of 1) sorted by relevance
24 static JavaVM *android_jvm = NULL; variable80 android_jvm = jvm; in ares_library_init_jvm()91 if (android_jvm == NULL) in ares_library_init_android()94 res = (*android_jvm)->GetEnv(android_jvm, (void **)&env, JNI_VERSION_1_6); in ares_library_init_android()98 res = (*android_jvm)->AttachCurrentThread(android_jvm, &env, NULL); in ares_library_init_android()191 (*android_jvm)->DetachCurrentThread(android_jvm); in ares_library_init_android()198 if (android_jvm == NULL || android_connectivity_manager == NULL) in ares_library_android_initialized()209 if (android_jvm == NULL || android_connectivity_manager == NULL) in ares_library_cleanup_android()212 res = (*android_jvm)->GetEnv(android_jvm, (void **)&env, JNI_VERSION_1_6); in ares_library_cleanup_android()216 res = (*android_jvm)->AttachCurrentThread(android_jvm, &env, NULL); in ares_library_cleanup_android()[all …]