Searched refs:globalCallbackRef (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_HardwareBufferRenderer.cpp | 47 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()
|
D | android_graphics_HardwareRenderer.cpp | 573 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/ |
D | android_graphics_BLASTBufferQueue.cpp | 138 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()
|
D | android_view_SurfaceControl.cpp | 663 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()
|