Lines Matching refs:JNIEnv
23 StatusOr<ScopedLocalRef<jclass>> JniHelper::FindClass(JNIEnv* env, in FindClass()
32 StatusOr<ScopedLocalRef<jclass>> JniHelper::GetObjectClass(JNIEnv* env, in GetObjectClass()
41 StatusOr<jmethodID> JniHelper::GetMethodID(JNIEnv* env, jclass clazz, in GetMethodID()
50 StatusOr<jmethodID> JniHelper::GetStaticMethodID(JNIEnv* env, jclass clazz, in GetStaticMethodID()
59 StatusOr<jfieldID> JniHelper::GetFieldID(JNIEnv* env, jclass clazz, in GetFieldID()
68 StatusOr<jfieldID> JniHelper::GetStaticFieldID(JNIEnv* env, jclass clazz, in GetStaticFieldID()
78 JNIEnv* env, jclass class_name, jfieldID field_id) { in GetStaticObjectField()
87 StatusOr<jint> JniHelper::GetStaticIntField(JNIEnv* env, jclass class_name, in GetStaticIntField()
95 StatusOr<ScopedLocalRef<jbyteArray>> JniHelper::NewByteArray(JNIEnv* env, in NewByteArray()
104 Status JniHelper::CallVoidMethod(JNIEnv* env, jobject object, in CallVoidMethod()
115 StatusOr<bool> JniHelper::CallBooleanMethod(JNIEnv* env, jobject object, in CallBooleanMethod()
126 StatusOr<int32> JniHelper::CallIntMethod(JNIEnv* env, jobject object, in CallIntMethod()
137 StatusOr<int64> JniHelper::CallLongMethod(JNIEnv* env, jobject object, in CallLongMethod()
148 StatusOr<float> JniHelper::CallFloatMethod(JNIEnv* env, jobject object, in CallFloatMethod()
159 StatusOr<double> JniHelper::CallDoubleMethod(JNIEnv* env, jobject object, in CallDoubleMethod()
170 StatusOr<ScopedLocalRef<jintArray>> JniHelper::NewIntArray(JNIEnv* env, in NewIntArray()
179 StatusOr<ScopedLocalRef<jfloatArray>> JniHelper::NewFloatArray(JNIEnv* env, in NewFloatArray()
188 Status JniHelper::SetObjectArrayElement(JNIEnv* env, jobjectArray array, in SetObjectArrayElement()
196 StatusOr<jsize> JniHelper::GetArrayLength(JNIEnv* env, jarray array) { in GetArrayLength()
203 Status JniHelper::GetByteArrayRegion(JNIEnv* env, jbyteArray array, jsize start, in GetByteArrayRegion()
211 Status JniHelper::SetByteArrayRegion(JNIEnv* env, jbyteArray array, jsize start, in SetByteArrayRegion()
219 Status JniHelper::SetIntArrayRegion(JNIEnv* env, jintArray array, jsize start, in SetIntArrayRegion()
227 Status JniHelper::SetFloatArrayRegion(JNIEnv* env, jfloatArray array, in SetFloatArrayRegion()
237 JNIEnv* env, jsize length, jclass element_class, jobject initial_element) { in NewObjectArray()
246 StatusOr<ScopedLocalRef<jstring>> JniHelper::NewStringUTF(JNIEnv* env, in NewStringUTF()
255 StatusOr<std::string> JByteArrayToString(JNIEnv* env, jbyteArray array) { in JByteArrayToString()
266 StatusOr<std::string> JStringToUtf8String(JNIEnv* env, jstring jstr) { in JStringToUtf8String()