Searched refs:sJvm (Results 1 – 6 of 6) sorted by relevance
35 static JavaVM* sJvm = nullptr; variable97 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in onProximityActive()133 sJvm = vm; in register_android_server_sensor_SensorService()
33 static JavaVM* sJvm = nullptr; variable49 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in ~NativeVibratorManagerService()57 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in createCallback()173 sJvm = jvm; in register_android_server_vibrator_VibratorManagerService()
40 static JavaVM* sJvm = nullptr; variable117 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in ~VibratorControllerWrapper()135 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in createCallback()470 sJvm = jvm; in register_android_server_vibrator_VibratorController()
285 jint jvmStatus = env->GetJavaVM(&android::ScopedJniThreadAttach::sJvm); in android_location_gnss_hal_GnssNative_init_once()
163 static JavaVM* sJvm;170 jint attachResult = sJvm->AttachCurrentThread(&mEnv, nullptr); in ScopedJniThreadAttach()176 jint detachResult = sJvm->DetachCurrentThread(); in ~ScopedJniThreadAttach()
28 JavaVM* android::ScopedJniThreadAttach::sJvm; member in android::ScopedJniThreadAttach