Home
last modified time | relevance | path

Searched refs:functions (Results 1 – 9 of 9) sorted by relevance

/libnativehelper/include_jni/
Djni.h491 const struct JNINativeInterface* functions; member
496 { return functions->GetVersion(this); } in GetVersion()
500 { return functions->DefineClass(this, name, loader, buf, bufLen); } in DefineClass()
503 { return functions->FindClass(this, name); } in FindClass()
506 { return functions->FromReflectedMethod(this, method); } in FromReflectedMethod()
509 { return functions->FromReflectedField(this, field); } in FromReflectedField()
512 { return functions->ToReflectedMethod(this, cls, methodID, isStatic); } in ToReflectedMethod()
515 { return functions->GetSuperclass(this, clazz); } in GetSuperclass()
518 { return functions->IsAssignableFrom(this, clazz1, clazz2); } in IsAssignableFrom()
521 { return functions->ToReflectedField(this, cls, fieldID, isStatic); } in ToReflectedField()
[all …]
/libnativehelper/include/nativehelper/
DJNIHelp.h130 return jniRegisterNativeMethods(&env->functions, className, gMethods, numMethods); in jniRegisterNativeMethods()
134 return jniThrowException(&env->functions, className, msg); in jniThrowException()
144 return jniThrowExceptionFmt(&env->functions, className, fmt, args); in jniThrowExceptionFmt()
149 return jniThrowNullPointerException(&env->functions, msg); in jniThrowNullPointerException()
153 return jniThrowRuntimeException(&env->functions, msg); in jniThrowRuntimeException()
157 return jniThrowIOException(&env->functions, errnum); in jniThrowIOException()
161 return jniGetReferent(&env->functions, ref); in jniGetReferent()
165 return jniCreateString(&env->functions, unicodeChars, len); in jniCreateString()
169 return jniCreateString(&env->functions, reinterpret_cast<const jchar*>(unicodeChars), len); in jniCreateString()
173 jniLogException(&env->functions, priority, tag, exception);
DJNIHelpCompat.h85 return jniGetFDFromFileDescriptor(&env->functions, fileDescriptor); in jniGetFDFromFileDescriptor()
89 return jniGetFDFromFileDescriptor_QR(&env->functions, fileDescriptor); in jniGetFDFromFileDescriptor_QR()
DtoStringArray.h29 C_JNIEnv* c_env = static_cast<C_JNIEnv*>(&env->functions); in toStringArray()
/libnativehelper/include_platform/nativehelper/
DJNIPlatformHelp.h106 return jniCreateFileDescriptor(&env->functions, fd); in jniCreateFileDescriptor()
110 return jniGetFDFromFileDescriptor(&env->functions, fileDescriptor); in jniGetFDFromFileDescriptor()
114 jniSetFileDescriptorOfFD(&env->functions, fileDescriptor, value); in jniSetFileDescriptorOfFD()
118 return jniGetNioBufferBaseArray(&env->functions, nioBuffer); in jniGetNioBufferBaseArray()
122 return jniGetNioBufferBaseArrayOffset(&env->functions, nioBuffer); in jniGetNioBufferBaseArrayOffset()
127 return jniGetNioBufferFields(&env->functions, nioBuffer, in jniGetNioBufferFields()
132 return jniGetNioBufferPointer(&env->functions, nioBuffer); in jniGetNioBufferPointer()
/libnativehelper/tests/jni_gtest/base/nativehelper/
Djni_gtest.h103 delete env->functions; in DestroyJNIEnv()
117 ret->functions = inf; in CreateMockedJNIEnv()
/libnativehelper/tests/
DAndroid.bp62 // functions.
/libnativehelper/tests_mts/jni/
DAndroid.bp36 // libnativehelper sources between these functions. Should this change,
Djni_helper_jni.cpp190 return jniCreateStringArray(&env->functions, length); in createStringArray()