Home
last modified time | relevance | path

Searched refs:mVm (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/hwui/jni/
DJvmErrorReporter.h30 JvmErrorReporter(JNIEnv* env) { env->GetJavaVM(&mVm); } in JvmErrorReporter()
34 if (mVm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in onError()
35 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", mVm); in onError()
41 JavaVM* mVm;
Dandroid_graphics_HardwareRendererObserver.cpp41 : uirenderer::FrameMetricsObserver(waitForPresentTime), mVm(vm) { in HardwareRendererObserver()
42 mObserver = getenv(mVm)->NewGlobalRef(observer); in HardwareRendererObserver()
47 JNIEnv* env = getenv(mVm); in ~HardwareRendererObserver()
81 JNIEnv* env = getenv(mVm); in notify()
DGraphicsJNI.h337 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder()
345 JavaVM* vm() { return mVm; } in vm()
349 if (mVm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in env()
350 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", mVm); in env()
359 JavaVM* mVm; variable
Dandroid_graphics_DisplayListCanvas.cpp52 env->GetJavaVM(&mVm); in InvokeRunnableMessage()
56 jnienv(mVm)->DeleteGlobalRef(mRunnable); in ~InvokeRunnableMessage()
60 jnienv(mVm)->CallVoidMethod(mRunnable, gRunnableMethodId); in handleMessage()
64 JavaVM* mVm; member in android::InvokeRunnableMessage
Dandroid_graphics_HardwareRendererObserver.h65 JavaVM* const mVm; variable
Dandroid_graphics_RenderNode.cpp579 env->GetJavaVM(&mVm); in android_view_RenderNode_requestPositionUpdates()
701 if (mVm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in android_view_RenderNode_requestPositionUpdates()
702 LOG_ALWAYS_FATAL("Failed to get JNIEnv for JavaVM: %p", mVm); in android_view_RenderNode_requestPositionUpdates()
761 JavaVM* mVm; in android_view_RenderNode_requestPositionUpdates() member in android::android_view_RenderNode_requestPositionUpdates::PositionListenerTrampoline
Dandroid_graphics_HardwareRenderer.cpp118 env->GetJavaVM(&mVm); in FrameCommitWrapper()
128 getenv(mVm)->CallVoidMethod(mObject, gFrameCommitCallback.onFrameCommit, in onFrameCommit()
135 JavaVM* mVm; member in android::FrameCommitWrapper
140 getenv(mVm)->DeleteGlobalRef(mObject); in releaseObject()
/frameworks/base/core/jni/
Dandroid_graphics_BLASTBufferQueue.cpp62 env->GetJavaVM(&mVm); in TransactionHangCallbackWrapper()
69 getenv(mVm)->DeleteGlobalRef(mTransactionHangObject); in ~TransactionHangCallbackWrapper()
78 JNIEnv* env = getenv(mVm); in onTransactionHang()
80 getenv(mVm)->CallVoidMethod(mTransactionHangObject, in onTransactionHang()
86 JavaVM* mVm; member in android::TransactionHangCallbackWrapper
112 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder()
115 getenv(mVm)->DeleteGlobalRef(mObject); in ~JGlobalRefHolder()
120 JavaVM* vm() { return mVm; } in vm()
126 JavaVM* mVm; member in android::JGlobalRefHolder
Dandroid_view_SurfaceControlHdrLayerInfoListener.cpp42 LOG_ALWAYS_FATAL_IF(env->GetJavaVM(&mVm) != JNI_OK, "Failed to GetJavaVm"); in SurfaceControlHdrLayerInfoListener()
79 if (mVm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in requireEnv()
80 if (mVm->AttachCurrentThreadAsDaemon(&env, nullptr) != JNI_OK) { in requireEnv()
90 JavaVM* mVm; member
Dcore_jni_helpers.h74 VmDetacher(JavaVM* vm) : mVm(vm) {} in VmDetacher()
75 ~VmDetacher() { mVm->DetachCurrentThread(); } in ~VmDetacher()
78 JavaVM* const mVm;
Dandroid_window_ScreenCapture.cpp82 env->GetJavaVM(&mVm); in ScreenCaptureListenerWrapper()
130 JavaVM* mVm; member in android::ScreenCaptureListenerWrapper
134 if (mVm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in getenv()
135 if (mVm->AttachCurrentThreadAsDaemon(&env, nullptr) != JNI_OK) { in getenv()
Dandroid_view_SurfaceControl.cpp303 env->GetJavaVM(&mVm); in TransactionCommittedListenerWrapper()
330 JavaVM* mVm; member in android::TransactionCommittedListenerWrapper
334 mVm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6); in getenv()
342 env->GetJavaVM(&mVm); in TransactionCompletedListenerWrapper()
379 JavaVM* mVm; member in android::TransactionCompletedListenerWrapper
383 mVm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6); in getenv()
391 env->GetJavaVM(&mVm); in WindowInfosReportedListenerWrapper()
412 JavaVM* mVm; member in android::WindowInfosReportedListenerWrapper
416 mVm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6); in getenv()
424 env->GetJavaVM(&mVm); in TrustedPresentationCallbackWrapper()
[all …]
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java53 private VpnManager mVm; field in ConfirmDialog
106 mVm = getSystemService(VpnManager.class); in onCreate()
108 if (mVm.prepareVpn(mPackage, null, UserHandle.myUserId())) { in onCreate()
117 final String alwaysOnVpnPackage = mVm.getAlwaysOnVpnPackageForUser(UserHandle.myUserId()); in onCreate()
177 if (mVm.prepareVpn(null, mPackage, UserHandle.myUserId())) { in onClick()
180 mVm.setVpnPackageAuthorization(mPackage, UserHandle.myUserId(), mVpnType); in onClick()
DManageDialog.java44 private VpnManager mVm; field in ManageDialog
58 mVm = getSystemService(VpnManager.class); in onCreate()
60 mConfig = mVm.getVpnConfig(UserHandle.myUserId()); in onCreate()
120 mVm.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, myUserId); in onClick()
122 mVm.prepareVpn(mConfig.user, VpnConfig.LEGACY_VPN, myUserId); in onClick()
/frameworks/base/services/incremental/
DServiceWrappers.cpp484 VmDetacher(JavaVM* vm) : mVm(vm) {} in getOrAttachJniEnv()
485 ~VmDetacher() { mVm->DetachCurrentThread(); } in getOrAttachJniEnv()
488 JavaVM* const mVm; in getOrAttachJniEnv() member