Home
last modified time | relevance | path

Searched refs:mWeakRef (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp63 mWeakRef = env->NewWeakGlobalRef(jobjRef); in RenderNodeContext()
68 env->DeleteWeakGlobalRef(mWeakRef); in ~RenderNodeContext()
72 return env->NewLocalRef(mWeakRef); in acquireLocalRef()
77 jweak mWeakRef; member in android::RenderNodeContext
545 mWeakRef = env->NewWeakGlobalRef(surfaceview); in android_view_RenderNode_requestPositionUpdates()
549 jnienv()->DeleteWeakGlobalRef(mWeakRef); in android_view_RenderNode_requestPositionUpdates()
550 mWeakRef = nullptr; in android_view_RenderNode_requestPositionUpdates()
554 if (CC_UNLIKELY(!mWeakRef || !info.updateWindowPositions)) return; in android_view_RenderNode_requestPositionUpdates()
587 if (CC_UNLIKELY(!mWeakRef || (info && !info->updateWindowPositions))) return; in android_view_RenderNode_requestPositionUpdates()
591 jobject localref = env->NewLocalRef(mWeakRef); in android_view_RenderNode_requestPositionUpdates()
[all …]
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java148 final WeakReference<VoiceInteractionSession> mWeakRef field in VoiceInteractionSession
329 mSession = session.mWeakRef; in Request()