/frameworks/base/libs/hwui/jni/ |
D | JvmErrorReporter.h | 30 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;
|
D | android_graphics_HardwareRendererObserver.cpp | 41 : 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()
|
D | GraphicsJNI.h | 337 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
|
D | android_graphics_DisplayListCanvas.cpp | 52 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
|
D | android_graphics_HardwareRendererObserver.h | 65 JavaVM* const mVm; variable
|
D | android_graphics_RenderNode.cpp | 579 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
|
D | android_graphics_HardwareRenderer.cpp | 118 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/ |
D | android_graphics_BLASTBufferQueue.cpp | 62 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
|
D | android_view_SurfaceControlHdrLayerInfoListener.cpp | 42 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
|
D | core_jni_helpers.h | 74 VmDetacher(JavaVM* vm) : mVm(vm) {} in VmDetacher() 75 ~VmDetacher() { mVm->DetachCurrentThread(); } in ~VmDetacher() 78 JavaVM* const mVm;
|
D | android_window_ScreenCapture.cpp | 82 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()
|
D | android_view_SurfaceControl.cpp | 303 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/ |
D | ConfirmDialog.java | 53 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()
|
D | ManageDialog.java | 44 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/ |
D | ServiceWrappers.cpp | 484 VmDetacher(JavaVM* vm) : mVm(vm) {} in getOrAttachJniEnv() 485 ~VmDetacher() { mVm->DetachCurrentThread(); } in getOrAttachJniEnv() 488 JavaVM* const mVm; in getOrAttachJniEnv() member
|