Home
last modified time | relevance | path

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

1234

/external/webrtc/sdk/android/native_api/jni/
Dclass_loader.cc37 env->NewGlobalRef(env->FindClass("java/lang/ClassLoader"))); in ClassLoader()
45 ScopedJavaLocalRef<jclass> FindClass(JNIEnv* env, const char* c_name) { in FindClass() function in webrtc::__anonae2bff8e0111::ClassLoader
76 ? ScopedJavaLocalRef<jclass>(env, env->FindClass(name)) in GetClass()
77 : g_class_loader->FindClass(env, name); in GetClass()
/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/tflite-support/tensorflow_lite_support/cc/text/tokenizers/
Dtokenizer_jni_lib.cc29 env->ThrowNew(env->FindClass(kIllegalStateException), in nativeTokenize()
41 jclass string_class = CheckNotNull(env, env->FindClass("java/lang/String")); in nativeTokenize()
60 env->ThrowNew(env->FindClass(kIllegalStateException), in nativeConvertTokensToIds()
/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/java/src/main/native/
Djni_utils.cc37 env->ThrowNew(env->FindClass(clazz), message); in ThrowException()
39 env->ThrowNew(env->FindClass(clazz), ""); in ThrowException()
/external/tflite-support/tensorflow_lite_support/java/src/native/task/vision/detector/
Dobject_detector_jni.cc51 jclass java_options_class = env->FindClass( in ConvertToProtoOptions()
108 env->FindClass("org/tensorflow/lite/task/vision/detector/Detection"); in ConvertToDetectionResults()
115 jclass array_list_class = env->FindClass("java/util/ArrayList"); in ConvertToDetectionResults()
122 jclass rectf_class = env->FindClass("android/graphics/RectF"); in ConvertToDetectionResults()
/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/tflite-support/tensorflow_lite_support/cc/utils/
Djni_utils.h46 env->ThrowNew(env->FindClass(kIllegalStateException), ""); in CheckNotNull()
57 jclass array_list_class = env->FindClass("java/util/ArrayList"); in ConvertVectorToArrayList()
/external/tensorflow/tensorflow/tools/android/inference_interface/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/examples/unityplugin/
Dclass_reference_holder.cc72 jclass localRef = jni->FindClass(name.c_str()); in LoadClass()
84 jclass FindClass(JNIEnv* jni, const char* name) { in FindClass() function
Dclass_reference_holder.h34 jclass FindClass(JNIEnv* jni, const char* name);
/external/libtextclassifier/native/annotator/
Dannotator_jni_common.cc51 JniHelper::FindClass(env, class_name.c_str())); in FromJavaOptionsInternal()
165 JniHelper::FindClass(env, TC3_PACKAGE_PATH TC3_ANNOTATOR_CLASS_NAME_STR in FromJavaSelectionOptions()
257 JniHelper::FindClass(env, TC3_PACKAGE_PATH TC3_ANNOTATOR_CLASS_NAME_STR in FromJavaClassificationOptions()
295 JniHelper::FindClass(env, TC3_PACKAGE_PATH TC3_ANNOTATOR_CLASS_NAME_STR in FromJavaAnnotationOptions()
377 JniHelper::FindClass( in FromJavaInputFragment()
/external/webrtc/modules/utility/source/
Dhelpers_android.cc72 jclass FindClass(JNIEnv* jni, const char* name) { in FindClass() function
73 jclass c = jni->FindClass(name); in FindClass()
/external/v4l2_codec2/tests/c2_e2e_test/jni/
De2e_test_jni.cpp29 jclass cls = env_->FindClass(kClassName); in OnCodecReady()
35 jclass cls = env_->FindClass(kClassName); in OnSizeChanged()
/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/tflite-support/tensorflow_lite_support/java/src/native/task/vision/segmenter/
Dimage_segmenter_jni.cc107 jclass array_list_class = env->FindClass(kArrayListClassNameNoSig); in ConvertToSegmentationResults()
133 jclass color_class = env->FindClass(kColorClassNameNoSig); in ConvertToSegmentationResults()
136 jclass colored_label_class = env->FindClass(kColoredLabelClassNameNoSig); in ConvertToSegmentationResults()
/external/tflite-support/tensorflow_lite_support/java/src/native/task/vision/classifier/
Dimage_classifier_jni.cc52 jclass java_options_class = env->FindClass( in ConvertToProtoOptions()
108 jclass classifications_class = env->FindClass( in ConvertToClassificationResults()
116 jclass array_list_class = env->FindClass("java/util/ArrayList"); in ConvertToClassificationResults()
/external/icu/libicu/test/src/
Duloc_jni_test.cpp74 std::unique_ptr<_jclass, decltype(jdeleter)> ulocale_class(env->FindClass(ulocale_classname), in uloc_setDefault_java()
78 std::unique_ptr<_jclass, decltype(jdeleter)> locale_class(env->FindClass(locale_classname), in uloc_setDefault_java()
/external/exoplayer/tree/extensions/flac/src/main/jni/
Dflac_jni.cc100 jclass arrayListClass = env->FindClass("java/util/ArrayList"); in DECODER_FUNC()
123 jclass pictureFrameClass = env->FindClass( in DECODER_FUNC()
149 jclass flacStreamMetadataClass = env->FindClass( in DECODER_FUNC()
/external/skia/modules/androidkit/src/
DShader.cpp24 const auto clazz = env->FindClass("org/skia/androidkit/Shader"); in register_androidkit_Shader()
/external/libtextclassifier/native/utils/java/
Djni-helper.cc23 StatusOr<ScopedLocalRef<jclass>> JniHelper::FindClass(JNIEnv* env, in FindClass() function in libtextclassifier3::JniHelper
26 ScopedLocalRef<jclass> result(env->FindClass(class_name), env); in FindClass()
272 JniHelper::FindClass(env, "java/lang/String")); in JStringToUtf8String()
/external/icing/icing/text_classifier/lib3/utils/java/
Djni-helper.cc21 StatusOr<ScopedLocalRef<jclass>> JniHelper::FindClass(JNIEnv* env, in FindClass() function in libtextclassifier3::JniHelper
24 ScopedLocalRef<jclass> result(env->FindClass(class_name), env); in FindClass()
270 JniHelper::FindClass(env, "java/lang/String")); in JStringToUtf8String()

1234