Searched refs:string_class (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/utils/java/ |
D | string_utils.cc | 45 jclass string_class = env->FindClass("java/lang/String"); in JStringToUtf8String() local 46 if (!string_class) { in JStringToUtf8String() 52 env->GetMethodID(string_class, "getBytes", "(Ljava/lang/String;)[B"); in JStringToUtf8String() 63 env->DeleteLocalRef(string_class); in JStringToUtf8String()
|
D | jni-cache.cc | 25 string_class(nullptr, jvm), in JniCache() 289 jenv->NewObject(string_class.get(), string_init_bytes_charset, in ConvertToJavaString()
|
D | jni-cache.h | 40 ScopedGlobalRef<jclass> string_class; member
|
/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | nativeinterpreterwrapper_jni.cc | 138 jclass string_class = env->FindClass("java/lang/String"); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames() local 139 if (string_class == nullptr) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames() 147 env->NewObjectArray(size, string_class, env->NewStringUTF(""))); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames() 213 jclass string_class = env->FindClass("java/lang/String"); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames() local 214 if (string_class == nullptr) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames() 222 env->NewObjectArray(size, string_class, env->NewStringUTF(""))); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames()
|
/external/libtextclassifier/utils/intents/ |
D | jni.cc | 98 values.size(), jni_cache_->string_class.get(), nullptr); in AsStringArray()
|