Home
last modified time | relevance | path

Searched refs:FindClass (Results 1 – 25 of 55) sorted by relevance

123

/external/tensorflow/tensorflow/java/src/main/native/
Dexception_jni.cc38 env->ThrowNew(env->FindClass(clazz), message); in throwException()
40 env->ThrowNew(env->FindClass(clazz), ""); in throwException()
73 env->ThrowNew(env->FindClass(clazz), TF_Message(status)); in throwExceptionIfNotOK()
/external/sl4a/ScriptingLayerForAndroid/jni/
Dcom_googlecode_android_scripting_Exec.cpp76 jclass clazz = env->FindClass(name); in JNU_ThrowByName()
93 jclass Class_java_lang_String = env->FindClass("java/lang/String"); in JNU_GetStringNativeChars()
116 jclass Class_java_io_FileDescriptor = env->FindClass("java/io/FileDescriptor"); in JNU_GetFdFromFileDescriptor()
166 env->FindClass("java/io/FileDescriptor"); in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
/external/tensorflow/tensorflow/lite/models/smartreply/demo/app/src/main/
Dsmartreply_jni.cc31 env->ThrowNew(env->FindClass(kIllegalStateException), ""); in CheckNotNull()
71 env->ThrowNew(env->FindClass(kIllegalStateException), ""); in Java_com_example_android_smartreply_SmartReplyClient_loadJNI()
94 env, env->FindClass("com/example/android/smartreply/SmartReply")); in Java_com_example_android_smartreply_SmartReplyClient_predictJNI()
/external/webrtc/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc151 return JavaEnumFromIndex(jni, FindClass(jni, state_class.c_str()), in JavaEnumFromIndex()
159 jclass j_init_class = FindClass(jni, "org/webrtc/DataChannel$Init"); in JavaDataChannelInitToNative()
191 j_media_stream_class_(jni, FindClass(jni, "org/webrtc/MediaStream")), in PCOJava()
194 j_audio_track_class_(jni, FindClass(jni, "org/webrtc/AudioTrack")), in PCOJava()
197 j_video_track_class_(jni, FindClass(jni, "org/webrtc/VideoTrack")), in PCOJava()
200 j_data_channel_class_(jni, FindClass(jni, "org/webrtc/DataChannel")), in PCOJava()
215 jclass candidate_class = FindClass(jni(), "org/webrtc/IceCandidate"); in OnIceCandidate()
480 jclass j_type_class = FindClass( in JavaSdpFromNativeSdp()
490 jclass j_sdp_class = FindClass(jni, "org/webrtc/SessionDescription"); in JavaSdpFromNativeSdp()
585 j_buffer_class_(jni, FindClass(jni, "org/webrtc/DataChannel$Buffer")), in DataChannelObserverWrapper()
[all …]
Dandroidmediadecoder_jni.cc184 FindClass(jni, "org/webrtc/MediaCodecVideoDecoder")), in MediaCodecVideoDecoder()
233 jclass j_decoded_texture_buffer_class = FindClass(jni, in MediaCodecVideoDecoder()
248 jclass j_decoded_output_buffer_class = FindClass(jni, in MediaCodecVideoDecoder()
326 FindClass(jni, "org/webrtc/SurfaceTextureHelper"), in InitDecodeOnCodecThread()
328 FindClass(jni, "org/webrtc/SurfaceTextureHelper"), in InitDecodeOnCodecThread()
815 jclass j_decoder_class = FindClass(jni, "org/webrtc/MediaCodecVideoDecoder"); in MediaCodecVideoDecoderFactory()
875 FindClass(jni, "org/webrtc/EglBase$Context"); in SetEGLContext()
Dclassreferenceholder.cc136 jclass localRef = jni->FindClass(name.c_str()); in LoadClass()
148 jclass FindClass(JNIEnv* jni, const char* name) { in FindClass() function
Dclassreferenceholder.h50 jclass FindClass(JNIEnv* jni, const char* name);
Dsurfacetexturehelper_jni.cc43 FindClass(jni, "org/webrtc/SurfaceTextureHelper"), in SurfaceTextureHelper()
Dandroidvideocapturer_jni.cc57 jni, FindClass(jni, "org/webrtc/VideoCapturerAndroid")), in AndroidVideoCapturerJni()
60 FindClass(jni, in AndroidVideoCapturerJni()
Dandroidmediacodeccommon.h97 return JavaEnumFromIndex(jni, FindClass(jni, state_class.c_str()), in JavaEnumFromIndex()
/external/skia/tools/skqp/src/
Djni_skqp.cpp62 (env)->ThrowNew((env)->FindClass("java/lang/Exception"), \
85 jclass stringClass = env->FindClass("java/lang/String"); in to_java_string_array()
152 (void)env->ThrowNew(env->FindClass("org/skia/skqp/SkQPException"), except.c_str()); in Java_org_skia_skqp_SkQP_nExecuteGM()
169 jclass stringClass = env->FindClass("java/lang/String"); in Java_org_skia_skqp_SkQP_nExecuteUnitTest()
/external/skqp/tools/skqp/src/
Djni_skqp.cpp62 (env)->ThrowNew((env)->FindClass("java/lang/Exception"), \
85 jclass stringClass = env->FindClass("java/lang/String"); in to_java_string_array()
152 (void)env->ThrowNew(env->FindClass("org/skia/skqp/SkQPException"), except.c_str()); in Java_org_skia_skqp_SkQP_nExecuteGM()
169 jclass stringClass = env->FindClass("java/lang/String"); in Java_org_skia_skqp_SkQP_nExecuteUnitTest()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dexception_jni.cc35 env->ThrowNew(env->FindClass(clazz), message); in throwException()
37 env->ThrowNew(env->FindClass(clazz), ""); in throwException()
/external/libtextclassifier/annotator/
Dannotator_jni_common.cc45 const ScopedLocalRef<jclass> options_class(env->FindClass(class_name.c_str()), in FromJavaOptionsInternal()
98 env->FindClass(TC3_PACKAGE_PATH TC3_ANNOTATOR_CLASS_NAME_STR in FromJavaSelectionOptions()
130 env->FindClass(TC3_PACKAGE_PATH TC3_ANNOTATOR_CLASS_NAME_STR in FromJavaAnnotationOptions()
/external/libtextclassifier/utils/java/
Djni-base.cc40 ScopedLocalRef<jclass> fd_class(env->FindClass("java/io/FileDescriptor"), in GetFdFromFileDescriptor()
61 env->FindClass("android/content/res/AssetFileDescriptor"), env); in GetFdFromAssetFileDescriptor()
/external/tensorflow/tensorflow/contrib/android/jni/
Drun_stats_jni.cc31 env->ThrowNew(env->FindClass("java/lang/IllegalStateException"), in requireHandle()
63 env->ThrowNew(env->FindClass("java/lang/IllegalArgumentException"), in RUN_STATS_METHOD()
/external/webrtc/webrtc/modules/utility/source/
Dhelpers_android.cc66 jclass FindClass(JNIEnv* jni, const char* name) { in FindClass() function
67 jclass c = jni->FindClass(name); in FindClass()
/external/oj-libjdwp/src/share/back/
DDDMImpl.c39 jclass ddm_class = JNI_FUNC_PTR(env,FindClass)(env, "org/apache/harmony/dalvik/ddmc/DdmServer"); in SendDdmBroadcast()
62 JNI_FUNC_PTR(env,FindClass)(env, "org/apache/harmony/dalvik/ddmc/DdmVmInternal"); in SendDdmBroadcast()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Djni_interface.cc125 jclass FindClass(const char *classname) { in FindClass() function
127 return env->FindClass(classname); in FindClass()
Djni_interface.h32 jclass FindClass(const char *classname);
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/
Djni_interface.cc125 jclass FindClass(const char *classname) { in FindClass() function
127 return env->FindClass(classname); in FindClass()
Djni_interface.h32 jclass FindClass(const char *classname);
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_android_native_opengl2.cc65 env->FindClass("org/webrtc/videoengine/ViEAndroidGLES20"); in UseOpenGL2()
165 env->FindClass("org/webrtc/videoengine/ViEAndroidGLES20"); in Init()
316 env->FindClass("org/webrtc/videoengine/ViEAndroidGLES20"); in Init()
/external/conscrypt/common/src/jni/main/include/conscrypt/
Djniutil.h84 ScopedLocalRef<jclass> localClass(env, env->FindClass(className)); in getGlobalRefToClass()
112 ScopedLocalRef<jclass> localClass(env, env->FindClass(name)); in findClass()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniutil.cc85 ScopedLocalRef<jclass> c(env, env->FindClass(className)); in jniRegisterNativeMethods()
101 ScopedLocalRef<jclass> localClass(env, env->FindClass("java/io/FileDescriptor")); in jniGetFDFromFileDescriptor()
126 jclass exceptionClass = env->FindClass(className); in throwException()

123