Home
last modified time | relevance | path

Searched refs:gJni (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/gui/
DChoreographer.cpp37 } gJni; variable
42 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 …]
/frameworks/base/tests/ChoreographerTests/jni/
Dandroid_view_tests_ChoreographerNativeTest.cpp55 } gJni; variable
126 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()