Searched refs:gJni (Results 1 – 2 of 2) sorted by relevance
37 } gJni; variable42 if (gJni.jvm == nullptr) { in getJniEnv()48 if (gJni.jvm->GetEnv((void**)&env, JNI_VERSION_1_4) != JNI_OK) { in getJniEnv()51 jint attachResult = gJni.jvm->AttachCurrentThreadAsDaemon(&env, (void*)&args); in getJniEnv()75 env->GetJavaVM(&gJni.jvm); in initJVM()78 gJni.displayManagerGlobal.clazz = static_cast<jclass>(env->NewGlobalRef(dmgClass)); in initJVM()79 gJni.displayManagerGlobal.getInstance = in initJVM()82 gJni.displayManagerGlobal.registerNativeChoreographerForRefreshRateCallbacks = in initJVM()84 gJni.displayManagerGlobal.unregisterNativeChoreographerForRefreshRateCallbacks = in initJVM()130 jobject dmg = env->CallStaticObjectMethod(gJni.displayManagerGlobal.clazz, in ~Choreographer()[all …]
55 } gJni; variable126 env->CallVoidMethod(clazz, gJni.attachedChoreographerNativeTest.endTest); in endTest()164 gJni.attachedChoreographerNativeTest.clazz = static_cast<jclass>(env->NewGlobalRef(clazz)); in register_android_android_view_tests_ChoreographerNativeTest()165 gJni.attachedChoreographerNativeTest.endTest = env->GetMethodID(clazz, "endTest", "()V"); in register_android_android_view_tests_ChoreographerNativeTest()