Home
last modified time | relevance | path

Searched refs:NewGlobalRef (Results 1 – 25 of 37) sorted by relevance

12

/external/libchrome/base/android/
Dscoped_java_ref_unittest.cc20 jobject NewGlobalRef(JNIEnv* env, jobject obj) { in NewGlobalRef() function
22 return g_previous_functions->NewGlobalRef(env, obj); in NewGlobalRef()
52 hooked_functions.NewGlobalRef = &NewGlobalRef; in SetUp()
Dscoped_java_ref.cc64 obj = env->NewGlobalRef(obj); in SetNewGlobalRef()
/external/webrtc/webrtc/modules/utility/include/
Dhelpers_android.h44 jobject NewGlobalRef(JNIEnv* jni, jobject o);
73 : jni_(jni), obj_(static_cast<T>(NewGlobalRef(jni, obj))) {} in ScopedGlobalRef()
/external/webrtc/talk/app/webrtc/java/jni/
Djni_helpers.h107 jobject NewGlobalRef(JNIEnv* jni, jobject o);
128 : obj_(static_cast<T>(jni->NewGlobalRef(obj))) {} in ScopedGlobalRef()
Dandroidnetworkmonitor_jni.cc42 application_context_ = NewGlobalRef(jni, context); in SetAndroidContext()
Djni_helpers.cc259 jobject NewGlobalRef(JNIEnv* jni, jobject o) { in NewGlobalRef() function
260 jobject ret = jni->NewGlobalRef(o); in NewGlobalRef()
Dclassreferenceholder.cc139 jclass globalRef = reinterpret_cast<jclass>(jni->NewGlobalRef(localRef)); in LoadClass()
Dandroidvideocapturer_jni.cc46 application_context_ = NewGlobalRef(jni, appliction_context); in SetAndroidObjects()
Dandroidmediadecoder_jni.cc379 jni->NewGlobalRef(jni->GetObjectArrayElement(input_buffers, i)); in InitDecodeOnCodecThread()
869 render_egl_context_ = jni->NewGlobalRef(render_egl_context); in SetEGLContext()
/external/webrtc/webrtc/modules/utility/source/
Dhelpers_android.cc73 jobject NewGlobalRef(JNIEnv* jni, jobject o) { in NewGlobalRef() function
74 jobject ret = jni->NewGlobalRef(o); in NewGlobalRef()
Djvm_android.cc45 jclass globalRef = reinterpret_cast<jclass>(jni->NewGlobalRef(localRef)); in LoadClasses()
95 : jni_(jni), j_object_(NewGlobalRef(jni, object)) { in GlobalRef()
232 context_ = NewGlobalRef(jni(), context); in JVM()
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_android_surface_view.cc136 reinterpret_cast<jclass>(env->NewGlobalRef(javaRenderClassLocal)); in Init()
177 _javaRenderObj = env->NewGlobalRef(javaRenderObjLocal); in Init()
444 _javaByteBufferObj = jniEnv->NewGlobalRef(javaByteBufferObj); in DeliverFrame()
Dvideo_render_android_native_opengl2.cc175 reinterpret_cast<jclass> (env->NewGlobalRef(javaRenderClassLocal)); in Init()
188 _javaRenderObj = env->NewGlobalRef(_ptrWindow); in Init()
/external/conscrypt/common/src/jni/main/include/conscrypt/
Djniutil.h85 jclass globalRef = reinterpret_cast<jclass>(env->NewGlobalRef(localClass.get())); in getGlobalRefToClass()
113 jclass result = reinterpret_cast<jclass>(env->NewGlobalRef(localClass.get())); in findClass()
Dbio_stream.h34 mStream = env->NewGlobalRef(stream); in BioStream()
Dapp_data.h203 applicationProtocolSelector = e->NewGlobalRef(selector); in setApplicationProtocolSelector()
/external/brotli/java/org/brotli/wrapper/common/
Dcommon_jni.cc24 jobject buffer_ref = env->NewGlobalRef(buffer); in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData()
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp69 js = env->NewGlobalRef(js); in Create()
74 ar = (jbyteArray) env->NewGlobalRef(ar); in Create()
/external/skia/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp69 js = env->NewGlobalRef(js); in Create()
74 ar = (jbyteArray) env->NewGlobalRef(ar); in Create()
/external/libtextclassifier/utils/java/
Dscoped_global_ref.h71 const jobject global_object = env->NewGlobalRef(object); in MakeGlobalRef()
/external/deqp/framework/platform/android/
DtcuAndroidExecService.cpp88 m_remoteCls = reinterpret_cast<jclass>(env->NewGlobalRef(remoteCls)); in TestProcess()
107 m_remote = env->NewGlobalRef(remote); in TestProcess()
/external/dexmaker/dexmaker-mockito-inline-tests/src/main/jni/multiplejvmtiagentsinterferenceagent/
Dagent.cc137 transformedClasses[i] = (jclass) env->NewGlobalRef(env->GetObjectArrayElement(classes, in Java_com_android_dx_mockito_inline_tests_MultipleJvmtiAgentsInterference_nativeRetransformClasses()
/external/skia/tools/skqp/src/
Djni_skqp.cpp175 return (jobjectArray)env->NewGlobalRef(array); in Java_org_skia_skqp_SkQP_nExecuteUnitTest()
/external/skqp/tools/skqp/src/
Djni_skqp.cpp175 return (jobjectArray)env->NewGlobalRef(array); in Java_org_skia_skqp_SkQP_nExecuteUnitTest()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/jni/staticjvmtiagent/
Dagent.cc646 sTransformer = env->NewGlobalRef(thiz); in Java_com_android_dx_mockito_inline_StaticJvmtiAgent_nativeRegisterTransformerHook()
665 … transformedClasses[i] = (jclass) env->NewGlobalRef(env->GetObjectArrayElement(classes, i)); in Java_com_android_dx_mockito_inline_StaticJvmtiAgent_nativeRetransformClasses()

12