Home
last modified time | relevance | path

Searched refs:JGlobalRefHolder (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/
Dandroid_graphics_BLASTBufferQueue.cpp110 class JGlobalRefHolder { class
112 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder() function in android::JGlobalRefHolder
114 virtual ~JGlobalRefHolder() { in ~JGlobalRefHolder()
123 JGlobalRefHolder(const JGlobalRefHolder&) = delete;
124 void operator=(const JGlobalRefHolder&) = delete;
138 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, env->NewGlobalRef(callback)); in nativeSyncNextTransaction()
Dandroid_view_SurfaceControl.cpp628 class JGlobalRefHolder { class
630 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder() function in android::JGlobalRefHolder
632 virtual ~JGlobalRefHolder() { in ~JGlobalRefHolder()
651 JGlobalRefHolder(const JGlobalRefHolder&) = delete;
652 void operator=(const JGlobalRefHolder&) = delete;
664 std::make_shared<JGlobalRefHolder>(vm, env->NewGlobalRef(releaseCallback)); in genReleaseCallback()
/frameworks/base/libs/hwui/jni/
DGraphicsJNI.h335 class JGlobalRefHolder {
337 JGlobalRefHolder(JavaVM* vm, jobject object) : mVm(vm), mObject(object) {} in JGlobalRefHolder() function
339 virtual ~JGlobalRefHolder() { in ~JGlobalRefHolder()
356 JGlobalRefHolder(const JGlobalRefHolder&) = delete;
357 void operator=(const JGlobalRefHolder&) = delete;
Dandroid_graphics_HardwareRenderer.cpp573 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
595 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>( in android_view_ThreadedRenderer_setASurfaceTransactionCallback()
617 std::make_shared<JGlobalRefHolder>(vm, env->NewGlobalRef(callback)); in android_view_ThreadedRenderer_setPrepareSurfaceControlForWebviewCallback()
633 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, in android_view_ThreadedRenderer_setFrameCallback()
674 std::make_shared<JGlobalRefHolder>(vm, env->NewGlobalRef(callback)); in android_view_ThreadedRenderer_setFrameCompleteCallback()
701 JGlobalRefHolder mRefHolder;
Dandroid_graphics_HardwareBufferRenderer.cpp48 std::make_shared<JGlobalRefHolder>(vm, env->NewGlobalRef(releaseCallback)); in createRenderCallback()