Searched refs:JGlobalRefHolder (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/ |
D | android_graphics_BLASTBufferQueue.cpp | 110 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()
|
D | android_view_SurfaceControl.cpp | 628 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/ |
D | GraphicsJNI.h | 335 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;
|
D | android_graphics_HardwareRenderer.cpp | 573 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;
|
D | android_graphics_HardwareBufferRenderer.cpp | 48 std::make_shared<JGlobalRefHolder>(vm, env->NewGlobalRef(releaseCallback)); in createRenderCallback()
|