Home
last modified time | relevance | path

Searched refs:JNIEnv (Results 1 – 25 of 494) sorted by relevance

12345678910>>...20

/external/javasqlite/src/main/native/
Dsqlite_jni.h16 (JNIEnv *, jobject, jstring, jint);
24 (JNIEnv *, jobject, jstring);
32 (JNIEnv *, jobject);
40 (JNIEnv *, jobject);
48 (JNIEnv *, jobject, jstring, jobject);
56 (JNIEnv *, jobject, jstring, jobject, jobjectArray);
64 (JNIEnv *, jobject);
72 (JNIEnv *, jobject);
80 (JNIEnv *, jobject);
88 (JNIEnv *, jobject, jobject);
[all …]
/external/conscrypt/common/src/jni/main/include/conscrypt/
Djniutil.h60 void init(JavaVM* vm, JNIEnv* env);
65 inline JNIEnv* getJNIEnv(JavaVM* gJavaVM) { in getJNIEnv()
66 JNIEnv* env; in getJNIEnv()
83 inline JNIEnv* getJNIEnv() { in getJNIEnv()
87 inline jclass getGlobalRefToClass(JNIEnv* env, const char* className) { in getGlobalRefToClass()
97 inline jmethodID getMethodRef(JNIEnv* env, jclass clazz, const char* name, const char* sig) { in getMethodRef()
106 inline jfieldID getFieldRef(JNIEnv* env, jclass clazz, const char* name, const char* sig) { in getFieldRef()
115 inline jclass findClass(JNIEnv* env, const char* name) { in findClass()
129 void jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMethods,
135 extern int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor);
[all …]
/external/oj-libjdwp/src/share/javavm/export/
Djvm.h78 JVM_IHashCode(JNIEnv *env, jobject obj);
81 JVM_MonitorWait(JNIEnv *env, jobject obj, jlong ms);
84 JVM_MonitorNotify(JNIEnv *env, jobject obj);
87 JVM_MonitorNotifyAll(JNIEnv *env, jobject obj);
90 JVM_Clone(JNIEnv *env, jobject obj);
96 JVM_InternString(JNIEnv *env, jstring str);
102 JVM_CurrentTimeMillis(JNIEnv *env, jclass ignored);
105 JVM_NanoTime(JNIEnv *env, jclass ignored);
108 JVM_ArrayCopy(JNIEnv *env, jclass ignored, jobject src, jint src_pos,
112 JVM_InitProperties(JNIEnv *env, jobject p);
[all …]
Djmm.h223 jint (JNICALL *GetVersion) (JNIEnv *env);
225 jint (JNICALL *GetOptionalSupport) (JNIEnv *env,
231 jobject (JNICALL *GetInputArguments) (JNIEnv *env);
233 jint (JNICALL *GetThreadInfo) (JNIEnv *env,
237 jobjectArray (JNICALL *GetInputArgumentArray) (JNIEnv *env);
239 jobjectArray (JNICALL *GetMemoryPools) (JNIEnv* env, jobject mgr);
241 jobjectArray (JNICALL *GetMemoryManagers) (JNIEnv* env, jobject pool);
243 jobject (JNICALL *GetMemoryPoolUsage) (JNIEnv* env, jobject pool);
244 jobject (JNICALL *GetPeakMemoryPoolUsage) (JNIEnv* env, jobject pool);
247 (JNIEnv *env,
[all …]
Djni.h195 typedef JNIEnv_ JNIEnv; typedef
197 typedef const struct JNINativeInterface_ *JNIEnv; typedef
220 jint (JNICALL *GetVersion)(JNIEnv *env);
223 (JNIEnv *env, const char *name, jobject loader, const jbyte *buf,
226 (JNIEnv *env, const char *name);
229 (JNIEnv *env, jobject method);
231 (JNIEnv *env, jobject field);
234 (JNIEnv *env, jclass cls, jmethodID methodID, jboolean isStatic);
237 (JNIEnv *env, jclass sub);
239 (JNIEnv *env, jclass sub, jclass sup);
[all …]
/external/webrtc/sdk/android/native_api/jni/
Djava_types.h55 Iterable(JNIEnv* jni, const JavaRef<jobject>& iterable);
66 Iterator(JNIEnv* jni, const JavaRef<jobject>& iterable);
95 JNIEnv* jni_ = nullptr;
107 JNIEnv* jni_;
114 bool IsNull(JNIEnv* jni, const JavaRef<jobject>& obj);
117 std::string GetJavaEnumName(JNIEnv* jni, const JavaRef<jobject>& j_enum);
119 Iterable GetJavaMapEntrySet(JNIEnv* jni, const JavaRef<jobject>& j_map);
120 ScopedJavaLocalRef<jobject> GetJavaMapEntryKey(JNIEnv* jni,
123 JNIEnv* jni,
130 int64_t JavaToNativeLong(JNIEnv* env, const JavaRef<jobject>& j_long);
[all …]
Djava_types.cc31 Iterable::Iterable(JNIEnv* jni, const JavaRef<jobject>& iterable) in Iterable()
42 Iterable::Iterator::Iterator(JNIEnv* jni, const JavaRef<jobject>& iterable) in Iterator()
102 bool IsNull(JNIEnv* jni, const JavaRef<jobject>& obj) { in IsNull()
106 std::string GetJavaEnumName(JNIEnv* jni, const JavaRef<jobject>& j_enum) { in GetJavaEnumName()
110 Iterable GetJavaMapEntrySet(JNIEnv* jni, const JavaRef<jobject>& j_map) { in GetJavaMapEntrySet()
115 JNIEnv* jni, in GetJavaMapEntryKey()
121 JNIEnv* jni, in GetJavaMapEntryValue()
126 int64_t JavaToNativeLong(JNIEnv* env, const JavaRef<jobject>& j_long) { in JavaToNativeLong()
130 absl::optional<bool> JavaToNativeOptionalBool(JNIEnv* jni, in JavaToNativeOptionalBool()
138 JNIEnv* jni, in JavaToNativeOptionalDouble()
[all …]
/external/tensorflow/tensorflow/java/src/main/native/
Dgraph_operation_builder_jni.h31 JNIEnv *, jclass, jlong, jstring, jstring);
39 Java_org_tensorflow_GraphOperationBuilder_finish(JNIEnv *, jclass, jlong);
47 JNIEnv *, jclass, jlong, jlong, jint);
55 JNIEnv *, jclass, jlong, jlongArray, jintArray);
63 Java_org_tensorflow_GraphOperationBuilder_addControlInput(JNIEnv *, jclass,
72 JNIEnv *, jclass, jlong, jstring);
80 JNIEnv *, jclass, jlong, jstring, jbyteArray);
88 JNIEnv *, jclass, jlong, jstring, jlong);
96 JNIEnv *, jclass, jlong, jstring, jlongArray);
104 JNIEnv *, jclass, jlong, jstring, jfloat);
[all …]
Deager_operation_builder_jni.h31 JNIEnv *, jclass, jlong, jstring);
39 Java_org_tensorflow_EagerOperationBuilder_delete(JNIEnv *, jclass, jlong);
47 Java_org_tensorflow_EagerOperationBuilder_execute(JNIEnv *, jclass, jlong);
55 JNIEnv *, jclass, jlong, jlong);
63 JNIEnv *, jclass, jlong, jlongArray);
71 JNIEnv *, jclass, jlong, jstring);
79 JNIEnv *, jclass, jlong, jstring, jbyteArray);
87 Java_org_tensorflow_EagerOperationBuilder_setAttrStringList(JNIEnv *, jclass,
97 JNIEnv *, jclass, jlong, jstring, jlong);
105 JNIEnv *, jclass, jlong, jstring, jlongArray);
[all …]
Dtensor_jni.h30 JNIEXPORT jlong JNICALL Java_org_tensorflow_Tensor_allocate(JNIEnv *, jclass,
40 Java_org_tensorflow_Tensor_allocateScalarBytes(JNIEnv *, jclass, jbyteArray);
48 JNIEnv *, jclass, jlongArray, jobjectArray);
55 JNIEXPORT void JNICALL Java_org_tensorflow_Tensor_delete(JNIEnv *, jclass,
63 JNIEXPORT jobject JNICALL Java_org_tensorflow_Tensor_buffer(JNIEnv *, jclass,
71 JNIEXPORT jint JNICALL Java_org_tensorflow_Tensor_dtype(JNIEnv *, jclass,
79 JNIEXPORT jlongArray JNICALL Java_org_tensorflow_Tensor_shape(JNIEnv *, jclass,
90 JNIEXPORT void JNICALL Java_org_tensorflow_Tensor_setValue(JNIEnv *, jclass,
99 JNIEXPORT jfloat JNICALL Java_org_tensorflow_Tensor_scalarFloat(JNIEnv *,
107 JNIEXPORT jdouble JNICALL Java_org_tensorflow_Tensor_scalarDouble(JNIEnv *,
[all …]
/external/libtextclassifier/native/utils/java/
Djni-helper.h51 JNIEnv* env, INPUT_TYPE object, jmethodID method_id, ...) { \
74 static StatusOr<ScopedLocalRef<jclass>> FindClass(JNIEnv* env,
77 static StatusOr<ScopedLocalRef<jclass>> GetObjectClass(JNIEnv* env,
81 static StatusOr<ScopedLocalRef<T>> GetObjectArrayElement(JNIEnv* env,
84 static StatusOr<jmethodID> GetMethodID(JNIEnv* env, jclass clazz,
87 static StatusOr<jmethodID> GetStaticMethodID(JNIEnv* env, jclass clazz,
91 static StatusOr<jfieldID> GetFieldID(JNIEnv* env, jclass clazz,
94 static StatusOr<jfieldID> GetStaticFieldID(JNIEnv* env, jclass clazz,
99 JNIEnv* env, jclass class_name, jfieldID field_id);
100 static StatusOr<jint> GetStaticIntField(JNIEnv* env, jclass class_name,
[all …]
Djni-helper.cc23 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()
[all …]
/external/icing/icing/text_classifier/lib3/utils/java/
Djni-helper.h49 JNIEnv* env, INPUT_TYPE object, jmethodID method_id, ...) { \
72 static StatusOr<ScopedLocalRef<jclass>> FindClass(JNIEnv* env,
75 static StatusOr<ScopedLocalRef<jclass>> GetObjectClass(JNIEnv* env,
79 static StatusOr<ScopedLocalRef<T>> GetObjectArrayElement(JNIEnv* env,
82 static StatusOr<jmethodID> GetMethodID(JNIEnv* env, jclass clazz,
85 static StatusOr<jmethodID> GetStaticMethodID(JNIEnv* env, jclass clazz,
89 static StatusOr<jfieldID> GetFieldID(JNIEnv* env, jclass clazz,
92 static StatusOr<jfieldID> GetStaticFieldID(JNIEnv* env, jclass clazz,
97 JNIEnv* env, jclass class_name, jfieldID field_id);
98 static StatusOr<jint> GetStaticIntField(JNIEnv* env, jclass class_name,
[all …]
Djni-helper.cc21 StatusOr<ScopedLocalRef<jclass>> JniHelper::FindClass(JNIEnv* env, in FindClass()
30 StatusOr<ScopedLocalRef<jclass>> JniHelper::GetObjectClass(JNIEnv* env, in GetObjectClass()
39 StatusOr<jmethodID> JniHelper::GetMethodID(JNIEnv* env, jclass clazz, in GetMethodID()
48 StatusOr<jmethodID> JniHelper::GetStaticMethodID(JNIEnv* env, jclass clazz, in GetStaticMethodID()
57 StatusOr<jfieldID> JniHelper::GetFieldID(JNIEnv* env, jclass clazz, in GetFieldID()
66 StatusOr<jfieldID> JniHelper::GetStaticFieldID(JNIEnv* env, jclass clazz, in GetStaticFieldID()
76 JNIEnv* env, jclass class_name, jfieldID field_id) { in GetStaticObjectField()
85 StatusOr<jint> JniHelper::GetStaticIntField(JNIEnv* env, jclass class_name, in GetStaticIntField()
93 StatusOr<ScopedLocalRef<jbyteArray>> JniHelper::NewByteArray(JNIEnv* env, in NewByteArray()
102 Status JniHelper::CallVoidMethod(JNIEnv* env, jobject object, in CallVoidMethod()
[all …]
/external/libchrome/base/android/
Djni_array.h21 BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(JNIEnv* env,
26 JNIEnv* env,
31 ToJavaBooleanArray(JNIEnv* env, const bool* bools, size_t len);
35 JNIEnv* env, const int* ints, size_t len);
38 JNIEnv* env, const std::vector<int>& ints);
41 BASE_EXPORT ScopedJavaLocalRef<jlongArray> ToJavaLongArray(JNIEnv* env,
46 JNIEnv* env,
51 JNIEnv* env, const float* floats, size_t len);
54 JNIEnv* env,
59 JNIEnv* env, const std::vector<std::string>& v);
[all …]
Djni_android.h61 bool (*func)(JNIEnv* env);
65 BASE_EXPORT JNIEnv* AttachCurrentThread();
72 BASE_EXPORT JNIEnv* AttachCurrentThreadWithName(const std::string& thread_name);
89 JNIEnv* env,
97 BASE_EXPORT ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env,
107 JNIEnv* env,
122 static jmethodID Get(JNIEnv* env,
131 static jmethodID LazyGet(JNIEnv* env,
139 BASE_EXPORT bool HasException(JNIEnv* env);
143 BASE_EXPORT bool ClearException(JNIEnv* env);
[all …]
/external/oboe/apps/OboeTester/app/src/main/cpp/
Djni-bridge.cpp38 Java_com_google_sample_oboe_manualtest_OboeAudioStream_openNative(JNIEnv *env, jobject,
55 Java_com_google_sample_oboe_manualtest_OboeAudioStream_close(JNIEnv *env, jobject, jint);
58 Java_com_google_sample_oboe_manualtest_OboeAudioStream_setThresholdInFrames(JNIEnv *env, jobject, j…
60 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getThresholdInFrames(JNIEnv *env, jobject, j…
62 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferCapacityInFrames(JNIEnv *env, jobje…
64 Java_com_google_sample_oboe_manualtest_OboeAudioStream_setNativeApi(JNIEnv *env, jobject, jint, jin…
67 Java_com_google_sample_oboe_manualtest_OboeAudioStream_setUseCallback(JNIEnv *env, jclass type,
70 Java_com_google_sample_oboe_manualtest_OboeAudioStream_setCallbackReturnStop(JNIEnv *env,
74 Java_com_google_sample_oboe_manualtest_OboeAudioStream_setCallbackSize(JNIEnv *env, jclass type,
80 Java_com_google_sample_oboe_manualtest_OboeAudioOutputStream_trigger(JNIEnv *env, jobject);
[all …]
/external/libtextclassifier/native/annotator/
Dannotator_jni.h32 (JNIEnv* env, jobject clazz, jint fd);
35 (JNIEnv* env, jobject clazz, jstring path);
38 (JNIEnv* env, jobject clazz, jint fd, jlong offset, jlong size);
42 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config);
46 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config);
50 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config);
54 (JNIEnv* env, jobject thiz, jlong ptr, jint fd, jlong offset, jlong size);
57 (JNIEnv* env, jobject thiz, jlong annotator_ptr, jlong lang_id_ptr);
60 (JNIEnv* env, jobject thiz, jlong ptr);
63 (JNIEnv* env, jobject thiz, jlong ptr, jstring context, jint selection_begin,
[all …]
/external/webrtc/sdk/android/src/jni/pc/
Dice_candidate.h27 cricket::Candidate JavaToNativeCandidate(JNIEnv* jni,
31 JNIEnv* env,
35 JNIEnv* env,
39 JNIEnv* jni,
46 JNIEnv* jni,
50 JNIEnv* jni,
54 JNIEnv* jni,
58 JNIEnv* jni,
63 JNIEnv* jni,
66 rtc::KeyType JavaToNativeKeyType(JNIEnv* jni,
[all …]
Dpeer_connection.cc65 PeerConnectionInterface* ExtractNativePC(JNIEnv* jni, in ExtractNativePC()
73 JNIEnv* jni, in JavaToNativeIceServers()
109 SdpSemantics JavaToNativeSdpSemantics(JNIEnv* jni, in JavaToNativeSdpSemantics()
124 JNIEnv* env, in NativeToJavaCandidatePairChange()
136 ScopedJavaLocalRef<jobject> NativeToJavaAdapterType(JNIEnv* env, in NativeToJavaAdapterType()
142 JNIEnv* jni, in JavaToNativeRTCConfiguration()
280 rtc::KeyType GetRtcConfigKeyType(JNIEnv* env, in GetRtcConfigKeyType()
287 JNIEnv* jni, in PeerConnectionObserverJni()
295 JNIEnv* env = AttachCurrentThreadIfNeeded(); in OnIceCandidate()
302 JNIEnv* env = AttachCurrentThreadIfNeeded(); in OnIceCandidatesRemoved()
[all …]
/external/webrtc/examples/androidvoip/jni/
Dandroid_voip_client.h52 JNIEnv* env,
59 webrtc::ScopedJavaLocalRef<jobject> GetSupportedCodecs(JNIEnv* env);
64 webrtc::ScopedJavaLocalRef<jstring> GetLocalIPAddress(JNIEnv* env);
67 void SetEncoder(JNIEnv* env,
71 void SetDecoders(JNIEnv* env,
78 void SetLocalAddress(JNIEnv* env,
81 void SetRemoteAddress(JNIEnv* env,
88 jboolean StartSession(JNIEnv* env);
92 jboolean StopSession(JNIEnv* env);
96 jboolean StartSend(JNIEnv* env);
[all …]
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniutil.cc54 void init(JavaVM* vm, JNIEnv* env) { in init()
89 void jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMethods, in jniRegisterNativeMethods()
108 int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor()
133 int throwException(JNIEnv* env, const char* className, const char* msg) { in throwException()
152 int throwRuntimeException(JNIEnv* env, const char* msg) { in throwRuntimeException()
156 int throwAssertionError(JNIEnv* env, const char* msg) { in throwAssertionError()
160 int throwNullPointerException(JNIEnv* env, const char* msg) { in throwNullPointerException()
164 int throwOutOfMemory(JNIEnv* env, const char* message) { in throwOutOfMemory()
168 int throwBadPaddingException(JNIEnv* env, const char* message) { in throwBadPaddingException()
173 int throwSignatureException(JNIEnv* env, const char* message) { in throwSignatureException()
[all …]
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Djni_interface.cc49 (JNIEnv *env, jclass, jobject j_asset_manager) { in JNI_METHOD()
55 (JNIEnv *, jclass, jlong native_application) { in JNI_METHOD()
60 (JNIEnv *, jclass, jlong native_application) { in JNI_METHOD()
65 (JNIEnv *env, jclass, jlong native_application, jobject context, in JNI_METHOD()
71 (JNIEnv *, jclass, jlong native_application) { in JNI_METHOD()
76 (JNIEnv *, jobject, jlong native_application, int display_rotation, int width, in JNI_METHOD()
83 (JNIEnv *, jobject, jlong native_application, int rotation) { in JNI_METHOD()
89 (JNIEnv *, jobject, jlong native_application, jfloat value) { in JNI_METHOD()
94 (JNIEnv *, jclass, jlong native_application) { in JNI_METHOD()
99 (JNIEnv *, jclass, jlong native_application, jfloat x, jfloat y) { in JNI_METHOD()
[all …]
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Djni_native.h30 (JNIEnv *, jobject, jint bytesPerFrame, jint threadType, jint performanceMode);
33 (JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jdouble, jobject byteBuffer,
37 (JNIEnv *, jobject, jlong, jdoubleArray, jlong);
40 (JNIEnv *, jobject, jlong);
44 (JNIEnv *, jobject, jlong);
48 (JNIEnv *, jobject, jlong);
52 (JNIEnv *, jobject, jlong);
56 (JNIEnv *, jobject, jlong);
60 (JNIEnv *, jobject, jlong);
64 (JNIEnv *, jobject, jlong);
[all …]
/external/libtextclassifier/native/actions/
Dactions_jni.h35 (JNIEnv* env, jobject clazz, jint fd, jbyteArray serialized_preconditions);
38 (JNIEnv* env, jobject clazz, jstring path, jbyteArray serialized_preconditions);
41 (JNIEnv* env, jobject clazz, jint fd, jlong offset, jlong size,
46 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray jserialized_config);
49 (JNIEnv* env, jobject thiz, jlong ptr, jobject jconversation, jobject joptions,
54 (JNIEnv* env, jobject thiz, jlong ptr);
57 (JNIEnv* env, jobject clazz, jint fd);
60 (JNIEnv* env, jobject clazz, jint fd, jlong offset, jlong size);
63 (JNIEnv* env, jobject clazz, jint fd);
66 (JNIEnv* env, jobject clazz, jint fd, jlong offset, jlong size);
[all …]

12345678910>>...20