Home
last modified time | relevance | path

Searched refs:globalCallbackRef (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareBufferRenderer.cpp47 auto globalCallbackRef = in createRenderCallback() local
49 return [globalCallbackRef](android::base::unique_fd&& fd, int status) { in createRenderCallback()
50 globalCallbackRef->env()->CallStaticVoidMethod( in createRenderCallback()
52 gHardwareBufferRendererClassInfo.invokeRenderCallback, globalCallbackRef->object(), in createRenderCallback()
Dandroid_graphics_HardwareRenderer.cpp573 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI() local
576 proxy->setPictureCapturedCallback([globalCallbackRef, in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
579 globalCallbackRef->env()->CallStaticVoidMethod( in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
582 globalCallbackRef->object()); in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
595 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>( in android_view_ThreadedRenderer_setASurfaceTransactionCallback() local
597 proxy->setASurfaceTransactionCallback([globalCallbackRef](int64_t transObj, int64_t scObj, in android_view_ThreadedRenderer_setASurfaceTransactionCallback()
599 jboolean ret = globalCallbackRef->env()->CallBooleanMethod( in android_view_ThreadedRenderer_setASurfaceTransactionCallback()
600 globalCallbackRef->object(), gASurfaceTransactionCallback.onMergeTransaction, in android_view_ThreadedRenderer_setASurfaceTransactionCallback()
616 auto globalCallbackRef = in android_view_ThreadedRenderer_setPrepareSurfaceControlForWebviewCallback() local
618 proxy->setPrepareSurfaceControlForWebviewCallback([globalCallbackRef]() { in android_view_ThreadedRenderer_setPrepareSurfaceControlForWebviewCallback()
[all …]
/frameworks/base/core/jni/
Dandroid_graphics_BLASTBufferQueue.cpp138 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, env->NewGlobalRef(callback)); in nativeSyncNextTransaction() local
140 [globalCallbackRef](SurfaceComposerClient::Transaction* t) { in nativeSyncNextTransaction()
141 JNIEnv* env = getenv(globalCallbackRef->vm()); in nativeSyncNextTransaction()
147 env->CallVoidMethod(globalCallbackRef->object(), gTransactionConsumer.accept, in nativeSyncNextTransaction()
Dandroid_view_SurfaceControl.cpp663 auto globalCallbackRef = in genReleaseCallback() local
665 return [globalCallbackRef](const ReleaseCallbackId&, const sp<Fence>& releaseFence, in genReleaseCallback()
672 globalCallbackRef->env() in genReleaseCallback()
675 globalCallbackRef->object(), in genReleaseCallback()