Home
last modified time | relevance | path

Searched refs:sJvm (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_sensor_SensorService.cpp35 static JavaVM* sJvm = nullptr; variable
97 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in onProximityActive()
133 sJvm = vm; in register_android_server_sensor_SensorService()
Dcom_android_server_vibrator_VibratorManagerService.cpp33 static JavaVM* sJvm = nullptr; variable
49 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in ~NativeVibratorManagerService()
57 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in createCallback()
173 sJvm = jvm; in register_android_server_vibrator_VibratorManagerService()
Dcom_android_server_vibrator_VibratorController.cpp40 static JavaVM* sJvm = nullptr; variable
117 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in ~VibratorControllerWrapper()
135 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in createCallback()
470 sJvm = jvm; in register_android_server_vibrator_VibratorController()
Dcom_android_server_location_GnssLocationProvider.cpp285 jint jvmStatus = env->GetJavaVM(&android::ScopedJniThreadAttach::sJvm); in android_location_gnss_hal_GnssNative_init_once()
/frameworks/base/services/core/jni/gnss/
DUtils.h163 static JavaVM* sJvm;
170 jint attachResult = sJvm->AttachCurrentThread(&mEnv, nullptr); in ScopedJniThreadAttach()
176 jint detachResult = sJvm->DetachCurrentThread(); in ~ScopedJniThreadAttach()
DUtils.cpp28 JavaVM* android::ScopedJniThreadAttach::sJvm; member in android::ScopedJniThreadAttach