Searched refs:jobject (Results 1 – 7 of 7) sorted by relevance
/libnativehelper/include_jni/ |
D | jni.h | 62 typedef _jobject* jobject; typedef 84 typedef void* jobject; typedef 85 typedef jobject jclass; 86 typedef jobject jstring; 87 typedef jobject jarray; 97 typedef jobject jthrowable; 98 typedef jobject jweak; 119 jobject l; 158 jclass (*DefineClass)(JNIEnv*, const char*, jobject, const jbyte*, 162 jmethodID (*FromReflectedMethod)(JNIEnv*, jobject); [all …]
|
/libnativehelper/include/nativehelper/ |
D | libnativehelper_api.h | 99 jobject jniCreateFileDescriptor(C_JNIEnv* env, int fd); 104 int jniGetFDFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor); 110 void jniSetFileDescriptorOfFD(C_JNIEnv* env, jobject fileDescriptor, int value); 115 jlong jniGetOwnerIdFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor); 124 jarray jniGetNioBufferBaseArray(C_JNIEnv* env, jobject nioBuffer); 133 jint jniGetNioBufferBaseArrayOffset(C_JNIEnv* env, jobject nioBuffer); 144 jobject nioBuffer, 157 jlong jniGetNioBufferPointer(C_JNIEnv* env, jobject nioBuffer); 162 jobject jniGetReferent(C_JNIEnv* env, jobject ref);
|
D | JNIHelp.h | 72 inline jobject jniCreateFileDescriptor(JNIEnv* env, int fd) { in jniCreateFileDescriptor() 76 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor() 80 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD() 84 inline jlong jniGetOwnerIdFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetOwnerIdFromFileDescriptor() 88 inline jarray jniGetNioBufferBaseArray(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArray() 92 inline jint jniGetNioBufferBaseArrayOffset(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArrayOffset() 96 inline jlong jniGetNioBufferFields(JNIEnv* env, jobject nioBuffer, in jniGetNioBufferFields() 102 inline jlong jniGetNioBufferPointer(JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferPointer() 106 inline jobject jniGetReferent(JNIEnv* env, jobject ref) { in jniGetReferent()
|
/libnativehelper/header_only_include/nativehelper/ |
D | scoped_bytes.h | 32 ScopedBytes(JNIEnv* env, jobject object) in ScopedBytes() 57 const jobject mObject; 69 ScopedBytesRO(JNIEnv* env, jobject object) : ScopedBytes<true>(env, object) {} in ScopedBytesRO() 77 ScopedBytesRW(JNIEnv* env, jobject object) : ScopedBytes<false>(env, object) {} in ScopedBytesRW()
|
/libnativehelper/tests/ |
D | JniSafeRegisterNativeMethods_test.cpp | 236 …LID_JNI_ARGUMENT_TYPE(true,(is_valid_jni_argument_type<kNormalNative, /*pos*/1u, jobject>::value)); in TEST() 260 static void bad_wrongplace_env(jobject, JNIEnv*) {} in bad_wrongplace_env() 261 static void bad_wrongplace_env2(jobject, jobject, JNIEnv*) {} in bad_wrongplace_env2() 266 static jobject o_none() { return nullptr; } in o_none() 287 static void v_eo(JNIEnv*, jobject) {} in v_eo() 288 static void v_eoo(JNIEnv*, jobject, jobject) {} in v_eoo() 290 static void v_eolib(JNIEnv*, jobject, jlong, jint, jboolean) {} in v_eolib() 291 static jshort s_eolAibA(JNIEnv*, jobject, jlongArray, jint, jbooleanArray) { return 0; } in s_eolAibA() 297 DEC_TEST_FN_IMPL(normal_ ## name, ret_t, JNIEnv*, jobject, __VA_ARGS__) \ 302 DEC_TEST_FN_IMPL(normal_ ## name, ret_t, JNIEnv*, jobject) \ [all …]
|
/libnativehelper/ |
D | JNIHelp.cpp | 148 scoped_local_ref<jobject> stringWriter(env, in getStackTrace() 154 scoped_local_ref<jobject> printWriter(env, in getStackTrace() 327 jobject jniCreateFileDescriptor(C_JNIEnv* env, int fd) { in jniCreateFileDescriptor() 329 jobject fileDescriptor = e->NewObject(JniConstants::GetFileDescriptorClass(e), in jniCreateFileDescriptor() 339 int jniGetFDFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor() 349 void jniSetFileDescriptorOfFD(C_JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD() 358 jlong jniGetOwnerIdFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor) { in jniGetOwnerIdFromFileDescriptor() 363 jarray jniGetNioBufferBaseArray(C_JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArray() 367 jobject object = e->CallStaticObjectMethod(nioAccessClass, getBaseArrayMethod, nioBuffer); in jniGetNioBufferBaseArray() 371 int jniGetNioBufferBaseArrayOffset(C_JNIEnv* env, jobject nioBuffer) { in jniGetNioBufferBaseArrayOffset() [all …]
|
/libnativehelper/platform_include/nativehelper/detail/ |
D | signature_checker.h | 783 TYPE_TRAIT_FN(jobject, "Ljava/lang/Object;", kFastNative, kNotFinal, kFirstOrLater… 818 return {Reify<jobject>()}; in DEFINE_JNI_TYPE_TRAIT()
|